https://github.com/renjisann/tree-sitter-tiger
A tree-sitter grammar for the Tiger language
https://github.com/renjisann/tree-sitter-tiger
grammar parser syntax-highlighting tiger tiger-language tree-sitter
Last synced: 3 months ago
JSON representation
A tree-sitter grammar for the Tiger language
- Host: GitHub
- URL: https://github.com/renjisann/tree-sitter-tiger
- Owner: RenjiSann
- License: apache-2.0
- Created: 2022-10-08T16:39:12.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T22:30:19.000Z (over 3 years ago)
- Last Synced: 2025-10-10T21:03:59.136Z (9 months ago)
- Topics: grammar, parser, syntax-highlighting, tiger, tiger-language, tree-sitter
- Language: C
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-tiger
A tree-sitter parsing library for the tiger language
The grammar was written with the help from [EPITA's Tiger Compiler assignment](https://assignments.lrde.epita.fr/reference_manual/reference_manual.html).
Improvements:
- [x] Remove (id) from type_id, in an efficient manner
- [ ] Change the coloration of assignement operator ?
- [ ] Overall, improve the highlighting
- [ ] Test more toroughly
- [ ] Handle object Tiger
- [ ] Use the `field` feature in a more consistent way in the grammar