Currently the AST is only traversed once it is time to write changes to ROM. A traversal of the tree should take place once prior to substitute in all identifiers with literals (thereby reducing all mathematical expressions to a constant).
This should be accompanied with error printing (currently the exception is caught afterwards).
Currently the AST is only traversed once it is time to write changes to ROM. A traversal of the tree should take place once prior to substitute in all identifiers with literals (thereby reducing all mathematical expressions to a constant). This should be accompanied with error printing (currently the exception is caught afterwards).