d409f19/cellmata

Compilation should fail even though ANTLR forgives a syntax error

Opened this issue · 1 comments

It is possible to write a program which has syntax errors, which ANTLR still successfully compiles. This could a missing ";" in the world declaration. It's cool that ANTLR can do that, but if there is a syntax error, the cellmata compiler should terminate at some point.

Maybe it is sufficient to throw a warning, if ANTLR accepts it could it really be all that broken?