rzimmerman / kal

A powerful, easy-to-use, and easy-to-read programming language for the future.
http://rzimmerman.github.io/kal
MIT License
394 stars 18 forks source link

better error reporting #16

Open rzimmerman opened 11 years ago

rzimmerman commented 11 years ago

Many errors are not descriptive and frequently, the compiler just puts out 'expected EOF on line 1' on errors. Also, it would be nice to print the stack trace in some reasonable way.

rzimmerman commented 11 years ago

It looks like this fixed a bug with the SyntaxError class which resulted in significantly better performance.

rzimmerman commented 11 years ago

this is good enough for v0.3, so I'm pushing this forward to v0.5 before any more work is required