Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Display name of symbol instead of full token in error messages | Ben Bridle | 2025-02-08 |
| | | | | | | | | When reporting an undefined symbol, the full token string of the symbol was being displayed. This was fine for Bedrock, which had at most one symbol per token, but for Torque you can have multiple symbols extracted from the same source string. The symbol name is displayed instead. | ||
* | Implement source unit compilation, symbol resolution, error reporting | Ben Bridle | 2025-02-05 |
This library can now carry out all stages of assembly from collecting source fragments to resolving symbols to pruning unused libraries to generating a single compiled source file. Pretty-printing of state has also been implemented in this library. The source tree hierarchy, symbol resolution errors, and file read errors can all be printed in a tidy format. |