Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Implement source chains | Ben Bridle | 2025-03-11 |
| | | | | | | | | | | A SourceSpan can now contain a child SourceSpan, ad infinitum, in order to represent a chain of locations. The report_source_issue function has been changed to print the entire chain, instead of just one SourceSpan. The report_source_issue function has also been changed to correctly print SourceSpans that extend across multiple source lines. | ||
* | Rename Position type to SourcePosition | Ben Bridle | 2025-02-09 |
| | | | | | | This better matches the naming convention of the other source locator types, and better differentiates a SourcePosition from other kinds of position. | ||
* | Implement a generic source code tokeniser | Ben Bridle | 2025-02-04 |
| | | | | | | This is a struct that provides various methods for consuming characters from a character stream and for tracking the provenance of each parsed token. | ||
* | Rename locator sub-modules | Ben Bridle | 2025-02-04 |