Skip to content

shorthand parser bugs in pico8 #37

Description

@pancelor

Not really and issue, more of an "fyi": here's two differences between pico8 and shrinko8:

if (false)?1 --hi

this breaks pico8 and causes issues on the next line: https://www.lexaloffle.com/bbs/?tid=142148 (still present in 0.2.7)

This mostly doesn't matter for shrinko8 since trailing spaces and comments are removed (under most use cases)

if (1)<2 print"a"

surprisingly, this works in pico8: https://www.lexaloffle.com/bbs/?tid=142179

This doesn't work in shrinko8 but it's not a big issue, I'll just change my source code. (and hopefully pico8 will make this a syntax error)

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