https://github.com/isaacazuelos/tree-sitter-kurt
A Tree Sitter grammar for Kurt
https://github.com/isaacazuelos/tree-sitter-kurt
parser plt tree-sitter
Last synced: over 1 year ago
JSON representation
A Tree Sitter grammar for Kurt
- Host: GitHub
- URL: https://github.com/isaacazuelos/tree-sitter-kurt
- Owner: isaacazuelos
- License: mit
- Created: 2023-02-14T23:15:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-10T16:12:41.000Z (about 3 years ago)
- Last Synced: 2024-10-23T20:15:26.250Z (over 1 year ago)
- Topics: parser, plt, tree-sitter
- Language: C
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tree-Sitter Kurt
A Tree Sitter grammar for Kurt, a language project.
I ended up giving up on using tree sitter becuase recovering error messages from it's parse tree was too inconsistent. I tried to use the query system to catalog and detect errors for better messages, but the context around the error effected how recovery happened too much for it to be predicatble.
There were a few smaller issues as well, such as `MISSING` nodes not setting of `has_error` so we needed two different strategies for detecting missing nodes versus detecting error nodes.
Tree sitter is an impressive project though. I'll definitly write a tree sitter parser again if I get to a point where I'm interested in tooling with a future language project.