Skip to content

Beginning of a custom error-resistant parser to rowan's CST - #17

Open
kpagacz wants to merge 10 commits into
we-data-ch:mainfrom
kpagacz:main
Open

Beginning of a custom error-resistant parser to rowan's CST#17
kpagacz wants to merge 10 commits into
we-data-ch:mainfrom
kpagacz:main

Conversation

@kpagacz

@kpagacz kpagacz commented Jul 31, 2026

Copy link
Copy Markdown
Contributor
  • Implemented beginnings of a hand-rolled left recursive descent parser with possible error recovery
  • Parsing to rowan's CST
  • Then lowering to AST
  • Also implemented a view that maps to the results from the old parser
  • Added a testing framework for comparing the results of the new and the legacy parser to verify the parity between the two

Implemented literal expression and binary expression parsing for now only.

Comment thread crates/typr-core/tests/parser_migration.rs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant