Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Allow loading a source unit from a path with any extension | Ben Bridle | 2025-02-05 |
| | | | | | | | | Previously, the extension of a source file had to match the provided extension. This was unnecessarily limited, and prevented arbitrary text files from being passed as source files. If no extension is provided, any file can be loaded as a source file. | ||
* | 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. |