aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/lexer
Commit message (Collapse)AuthorAgeFilesLines
* Fix lexer processing [+-].\d as symbol instead of numberTolmachev Igor2026-05-092-3/+15
| | | | | | | Extended lookahead in the number branch to 3 chars. Added tests for "-.5", "+.5", "-.0" in test_numbers and for "-.", "+.", ".", "+.a", "-.a" in test_ambiguous.
* Add test for span positions after quote tokenTolmachev Igor2026-05-091-0/+14
|
* Split Spanned<T> from Span and expose fieldsTolmachev Igor2026-05-082-5/+7
| | | | | Spanned<T> wraps a value with a Span. Public fields enable destructuring in pattern matches.
* Fold unclosed string error into Token variantTolmachev Igor2026-05-083-62/+36
| | | | | UnclosedString was the only error variant, making lexer::Error redundant. Also removes Result from the Iterator impl.
* Add lexerTolmachev Igor2026-05-073-0/+553