tree-sitter-openscad

Crates.iotree-sitter-openscad
lib.rstree-sitter-openscad
version0.5.1
sourcesrc
created_at2021-08-01 18:39:30.927834
updated_at2024-02-24 21:20:23.888619
descriptionopenscad grammar for the tree-sitter parsing library
homepage
repositoryhttps://github.com/bollian/tree-sitter-openscad
max_upload_size
id430113
size353,726
Ian Boll (bollian)

documentation

README

tree-sitter-openscad

OpenSCAD grammar for the tree-sitter parsing library

Developer quickstart

Most development of tree-sitter parsers is done using nodejs and npm. You can find the instructions on how to set that up here: https://tree-sitter.github.io/tree-sitter/creating-parsers

The TLDR would be:

  1. Install npm (there are many ways, pick your poison)
  2. From the source directory, run npm install to get all the dependencies
  3. export PATH=$PATH:./node_modules/.bin to get the tree-sitter CLI command
  4. tree-sitter generate to build your changes
  5. tree-sitter test to make sure you didn't unintentionally break any of the existing test cases
  6. Add a new test case covering your change (instructions here: https://tree-sitter.github.io/tree-sitter/creating-parsers#command-test)
Commit count: 43

cargo fmt