keith-packard / snek

Snek programming language for tiny systems
GNU General Public License v3.0
292 stars 30 forks source link

Accept missing newline at end of file #49

Closed keith-packard closed 2 years ago

keith-packard commented 2 years ago

Accept either 'NL' or 'END' at the end of a simple statement so that programs that end without a NL will still work correctly.

Closes #39

Signed-off-by: Keith Packard keithp@keithp.com