Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tree-sitter-grammars/tree-sitter-meson
Meson grammar for tree-sitter
https://github.com/tree-sitter-grammars/tree-sitter-meson
meson parser tree-sitter
Last synced: 18 days ago
JSON representation
Meson grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/tree-sitter-grammars/tree-sitter-meson
- Owner: tree-sitter-grammars
- License: mit
- Created: 2022-08-22T12:44:42.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T09:38:01.000Z (8 months ago)
- Last Synced: 2024-07-30T20:55:54.254Z (3 months ago)
- Topics: meson, parser, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 1.86 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-meson
Treesitter for meson build
It just works, for highlight in neovim
![image](./images/highlighshow.png)
### Known bug
if comment in some where, the Treesitter will break
## Files
### base.js
about the base types and command
### closue.js
if else and loop
### operation.js
operate
## FIXME
Better handle of comment, maybe need scanner.c, but I am not good at c
## Help
I need more tests
please give the issues, I will try to fix
## TODO
Take it as a reference and make a new one
https://github.com/dcbaker/meson-plus-plus/blob/main/src/frontend/parser.yy
I don't think it can be used to make lsp or format.. It is bad