1fe796dda7
cl-lexer: Bring over new lexer
...
- Different flow, similar action
- Consolidated all the single-purpose di- and trigraph functions
- Gave the lexer explicit access to its entire string, which is can slice.
2025-09-14 23:02:04 -04:00
74220d3bff
cl-lexer: Add base-36 literals, lmao
2025-07-18 05:29:31 -04:00
883fd31d38
conlang: Elide lifetimes (fixes clippy lint)
2025-01-16 20:57:33 -06:00
f4fe07a08b
cl-lexer: Hack around ambiguity between 1.0 and 1..0
...
This requires more than one token lookahead, but is already part of a hack itself, so... /shrug
2024-09-19 14:02:02 -05:00
56e71d6782
cl-lexer: Add a hacky workaround for float support.
...
It's disgusting, but better than nothing!
2024-09-19 13:16:27 -05:00
97808fd855
cl-parser: Transliterate to a trait-based parsing implementation
...
Bump version number.
2024-07-31 01:39:00 -05:00
a3e383b53f
cl-token: Flatten TokenKind into a single enum (wow!)
2024-07-30 16:47:09 -05:00
a233bb18bc
cl-lexer: Record the contents of comments
2024-07-27 18:41:50 -05:00
e06a27a5b1
cl-lexer: Treat #!/
| #!\
as a comment
2024-07-27 18:41:18 -05:00
f483d690e2
Revert "Cargo.toml: Add documentation
key"
...
This reverts commit 087969e1170e3474a8d2bf2d2afe5ebd691b960c.
2024-04-22 00:07:44 -05:00
087969e117
Cargo.toml: Add documentation
key
2024-04-21 23:49:24 -05:00
90a3818ca0
conlang: Move all cl-libs into the compiler directory
2024-04-19 07:39:23 -05:00