aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/ast/error.rs
Commit message (Collapse)AuthorAgeFilesLines
* Replace generic list AST with typed expression treeTolmachev Igor2026-05-111-4/+7
| | | | | Each form (fn, let, for, set, do, call) now has its own variant with named fields instead of being a plain list.
* Remove Float from parserTolmachev Igor2026-05-101-9/+1
| | | | Dropped to make the language simpler.
* Implement fmt::Display for ErrorTolmachev Igor2026-05-091-16/+17
| | | | | Replaces the todo!() stub. InvalidFloatLiteral and InvalidIntegerLiteral now also take the original string.
* Add parser testsTolmachev Igor2026-05-091-1/+1
|
* Add RecursionLimit parser errorTolmachev Igor2026-05-091-0/+2
| | | | | Returns error after 256 levels of nesting to avoid stack overflow. The limit is hardcoded now, but will become a compiler flag later.
* Replace todo!() in parser with errorsTolmachev Igor2026-05-091-2/+32
|
* Add AST parser skeletonTolmachev Igor2026-05-091-0/+12