jtauber/dcpu16py — pull request #34 by pwaller (2012-04-07 02:59:47+00:00)
Title: Pyparsing extra debug information on parse failure and preliminary macro support

.. by preliminary I mean very preliminary. They are sort of parsed, but then ignored at code generation for the moment.

* Parser needs to also parse arguments to the macro
* Then these arguments need to be usable within the macro within statements
* Macros need to be callable

The extra debugging information should help in case of parse failures. Now it prints the line number in a friendly way and points at the point of parse failure rather than excepting and bailing out.