Skip to main content

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.

Python

pip install tree-sitter-faust[core]
from tree_sitter import Language, Parser
from tree_sitter_faust import language

code = 'import("stdfaust.lib"); process = os.osc(440) * 0.5;'

parser = Parser(Language(language()))
tree = parser.parse(code.encode())

Bundled queries are also available as HIGHLIGHTS_QUERY, INJECTIONS_QUERY, and LOCALS_QUERY.

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?

Release files for tree-sitter-faust 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tree-sitter-faust 1.2.0
File Size Uploaded
tree_sitter_faust-1.2.0.tar.gz 62.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tree-sitter-faust 1.2.0
File
tree_sitter_faust-1.2.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
tree_sitter_faust-1.2.0-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
tree_sitter_faust-1.2.0-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
tree_sitter_faust-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
tree_sitter_faust-1.2.0-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 Details
tree_sitter_faust-1.2.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
tree_sitter_faust-1.2.0-cp39-abi3-macosx_10_9_x86_64.whl CPython 3.9 abi3 macOS 10.9+ x86-64 Details

Total release size: 417.8 kB

Release files / tree_sitter_faust-1.2.0.tar.gz

Download URL tree_sitter_faust-1.2.0.tar.gz
Size 62.2 kB
Tags Source
SHA-256 checksum
How to use checksums
735b713fb029495883ed0261e4ff80f7ba5d4dd26ea158020d116f46fc9d3fe0
BLAKE2b-256 checksum
How to use checksums
8b4aba8da6ae37b96bc12b3de433f525ffa89abbdc9a7bbe05c9a5027b051088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / tree_sitter_faust-1.2.0-cp39-abi3-win_amd64.whl

Download URL tree_sitter_faust-1.2.0-cp39-abi3-win_amd64.whl
Size 44.0 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ac42b2a62933932972017a8efa56ce471d9400f709cdd6c1c95b29090dfea64e
BLAKE2b-256 checksum
How to use checksums
556a0f9999ac28e233154fb39932330d34a80146500c1b8243596eb0abcd25c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / tree_sitter_faust-1.2.0-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL tree_sitter_faust-1.2.0-cp39-abi3-musllinux_1_2_x86_64.whl
Size 50.9 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
8bc5f6fdc95a8d9d0d5bef228724cce97b2cffa0db08922ad7eeae9f82504c08
BLAKE2b-256 checksum
How to use checksums
c238bda4783c430c7a75a18b8a7208f35ffa009d41ce79c081015bcf1603f0a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / tree_sitter_faust-1.2.0-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL tree_sitter_faust-1.2.0-cp39-abi3-musllinux_1_2_aarch64.whl
Size 51.0 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
0578be81da6f769967c63598bb972b63946c0d374820ca017bc0b09ea777bf30
BLAKE2b-256 checksum
How to use checksums
16b5703b0d9439b4a08a6196cec7a4c69ca555a86b308768c32d51360080048f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / tree_sitter_faust-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tree_sitter_faust-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 71.1 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
912bbca534d5825ff2eed03153f47cc6dd485c51ce35d2fde5b924abc3298f98
BLAKE2b-256 checksum
How to use checksums
a6732ebdd41cf9a822214ff1afd8f77360854984c504552568f81b0c197a007a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / tree_sitter_faust-1.2.0-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tree_sitter_faust-1.2.0-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 55.4 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
e3a934d58024a4fda363e2910605575ae8013b5f59c7840ed369d4ba772d36de
BLAKE2b-256 checksum
How to use checksums
82db978fd8cbcfcd851b2e2104757a18042242b1ce72f7e671c9a2db442d8796
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / tree_sitter_faust-1.2.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL tree_sitter_faust-1.2.0-cp39-abi3-macosx_11_0_arm64.whl
Size 42.9 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6a0dd41041d1bf5757755ff84603d3b1a7e48bbb4168631ddbe9cb7d2a76ff96
BLAKE2b-256 checksum
How to use checksums
18187d637781558e48073dc313165c7e26303fafd42d31dc4df0decee73acbc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / tree_sitter_faust-1.2.0-cp39-abi3-macosx_10_9_x86_64.whl

Download URL tree_sitter_faust-1.2.0-cp39-abi3-macosx_10_9_x86_64.whl
Size 40.4 kB
Tags CPython 3.9 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
6c09599286493164ab0692050c0ec32d0a234acb4b488274a0a2e931e72ea611
BLAKE2b-256 checksum
How to use checksums
96e125f3181fa3ad0dc75c46d57344a36ee40fd6b4f56a687c1727ff6e62478d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.0 This release

8 release files

1.1.5

8 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page