这是indexloc提供的服务,不要输入任何密码
Skip to content

monobit-convert is fragile (whitespace sensitive) #42

@hackerb9

Description

@hackerb9

I notice that the file teletext/saa5050-semigraphic-noncontiguous.yaff has an blank line (line number 55). This causes monobit-convert to abort with an error message:

$ monobit-convert saa5050-semigraphics-noncontiguous.yaff asdf.yaff
ERROR: tuple index out of range

I'm not sure why that happens. YAFF is supposed to be for humans to view and edit, so it'd be good if the format allowed for human imprecision. Perhaps ANTLR (or flex/bison) ought to be used to robustly parse YAFF files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions