summaryrefslogtreecommitdiff
path: root/src/stages/syntactic.rs
Commit message (Collapse)AuthorAge
* Support local identifiers as macro names and in macro definitionsBen Bridle2025-03-25
| | | | | | Macro names beginning with a ~ character will be prefixed with the name of the most recently defined label, and local invocations inside macro definition bodies will also expand correctly.
* Recognise : as a valid symbolBen Bridle2025-03-25
| | | | | | When parsing a standalone : character, the following characters were also being consumed and appended instead of the expected behaviour where the current token should end as soon as a : is encountered.
* Simplify syntactic catch-all branchBen Bridle2025-03-23
| | | | | A cascading if-else structure is more readable than a set of nested match expressions.
* Rewrite libraryBen Bridle2025-03-18