https://github.com/nymann/tree-sitter-openscad
OpenSCAD grammar for tree-sitter
https://github.com/nymann/tree-sitter-openscad
Last synced: 5 months ago
JSON representation
OpenSCAD grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/nymann/tree-sitter-openscad
- Owner: nymann
- Created: 2020-08-04T07:53:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-04T10:17:57.000Z (almost 6 years ago)
- Last Synced: 2025-12-13T21:27:15.143Z (6 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WIP 🚧 OpenSCAD grammar for tree-sitter
*Based on [https://files.openscad.org/grammar.xhtml](https://files.openscad.org/grammar.xhtml)*
### Supported features
- [x] package
- [x] statements
- [x] statement
- [x] include
- [x] use
- [x] comma_opt
- [ ] expressions_opt
- [ ] expressions
- [ ] expr
- [ ] lookup
- [ ] range_expression
- [ ] list_expression
- [ ] list_comprehension_elements
- [ ] list_comprehension_elements_or_expr
- [ ] let_clause
- [ ] for_clause
- [ ] if_clause
- [ ] function_definitions_opt
- [ ] function_definitions
- [ ] named_function_definition
- [ ] module_definitions_opt
- [ ] module_definitions
- [ ] named_module_definition
- [ ] function_call
- [ ] module_instantiation
- [ ] children
- [ ] child
- [ ] parameters_opt
- [ ] parameters
- [ ] parameter
- [ ] arguments_opt
- [ ] arguments
- [ ] argument
- [ ] assignments_opt
- [ ] assignments
- [ ] assignment