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.
The parser and queries are available as an nvim-treesitter language.
Install with the nvim
command:
:TSInstall faust
$ 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.
- Faust syntax documentation
- Faust Bison parser and Flex lexer source
- Faust box-tester
- Add
playground
script fortree-sitter build-wasm && tree-sitter web-ui
?- Saw this here