FireEmblemUniverse / ColorzCore

A rewriting of Core.exe for EA.
GNU General Public License v3.0
7 stars 7 forks source link

Bugfix: Resolve all identifiers prior to assembly. #7

Closed Crazycolorz5 closed 5 years ago

Crazycolorz5 commented 6 years ago

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).