aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/lexer/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix lexer processing [+-].\d as symbol instead of numberTolmachev Igor2026-05-091-2/+6
| | | | | | | 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.
* Split Spanned<T> from Span and expose fieldsTolmachev Igor2026-05-081-3/+3
| | | | | Spanned<T> wraps a value with a Span. Public fields enable destructuring in pattern matches.
* Fold unclosed string error into Token variantTolmachev Igor2026-05-081-13/+18
| | | | | UnclosedString was the only error variant, making lexer::Error redundant. Also removes Result from the Iterator impl.
* Add lexerTolmachev Igor2026-05-071-0/+163