Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.65 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.65 KB

tree-sitter-faust

Tree-sitter grammar for the Faust audio programming language.

Every Faust syntax feature should be supported. If you encounter any errors parsing a valid Faust program, please file an issue and I'll fix it! Also, please file an issue or pull request if you have any suggestions for improving the grammar.

The npm package is here.

Install nvim-treesitter language parser

The parser and queries are available as an nvim-treesitter language.

Install with the nvim command:

:TSInstall faust

Commands

$ npm run build # generate and build
$ npm run generate # tree-sitter generate
$ npm test # tree-sitter test
$ npm run parse # tree-sitter parse

See tree-sitter's documentation for details on tree-sitter CLI commands.

Resources

TODO

  • Add playground script for tree-sitter build-wasm && tree-sitter web-ui?