├── .editorconfig ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── dependabot.yml └── workflows │ ├── ci.yml │ ├── dependabot-sync.yml │ └── regenerate.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── Makefile ├── Package.swift ├── README.md ├── binding.gyp ├── bindings ├── c │ ├── tree-sitter-vhs.h │ └── tree-sitter-vhs.pc.in ├── go │ ├── binding.go │ ├── binding_test.go │ └── go.mod ├── node │ ├── binding.cc │ ├── index.d.ts │ └── index.js ├── python │ └── tree_sitter_vhs │ │ ├── __init__.py │ │ ├── __init__.pyi │ │ ├── binding.c │ │ └── py.typed ├── rust │ ├── build.rs │ └── lib.rs └── swift │ └── TreeSitterVhs │ └── vhs.h ├── grammar.js ├── package.json ├── pyproject.toml ├── queries └── highlights.scm ├── setup.py ├── src ├── grammar.json ├── node-types.json ├── parser.c ├── parser.o └── tree_sitter │ ├── alloc.h │ ├── array.h │ └── parser.h ├── test.tape └── test └── corpus ├── all.txt ├── commands.txt ├── comments.txt └── examples.txt /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/dependabot-sync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.github/workflows/dependabot-sync.yml -------------------------------------------------------------------------------- /.github/workflows/regenerate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.github/workflows/regenerate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/Makefile -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/c/tree-sitter-vhs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/c/tree-sitter-vhs.h -------------------------------------------------------------------------------- /bindings/c/tree-sitter-vhs.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/c/tree-sitter-vhs.pc.in -------------------------------------------------------------------------------- /bindings/go/binding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/go/binding.go -------------------------------------------------------------------------------- /bindings/go/binding_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/go/binding_test.go -------------------------------------------------------------------------------- /bindings/go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/go/go.mod -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/node/index.d.ts -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/python/tree_sitter_vhs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/python/tree_sitter_vhs/__init__.py -------------------------------------------------------------------------------- /bindings/python/tree_sitter_vhs/__init__.pyi: -------------------------------------------------------------------------------- 1 | def language() -> int: ... 2 | -------------------------------------------------------------------------------- /bindings/python/tree_sitter_vhs/binding.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/python/tree_sitter_vhs/binding.c -------------------------------------------------------------------------------- /bindings/python/tree_sitter_vhs/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /bindings/swift/TreeSitterVhs/vhs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/bindings/swift/TreeSitterVhs/vhs.h -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/package.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/pyproject.toml -------------------------------------------------------------------------------- /queries/highlights.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/queries/highlights.scm -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/setup.py -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/src/parser.c -------------------------------------------------------------------------------- /src/parser.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/src/parser.o -------------------------------------------------------------------------------- /src/tree_sitter/alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/src/tree_sitter/alloc.h -------------------------------------------------------------------------------- /src/tree_sitter/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/src/tree_sitter/array.h -------------------------------------------------------------------------------- /src/tree_sitter/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/src/tree_sitter/parser.h -------------------------------------------------------------------------------- /test.tape: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/test.tape -------------------------------------------------------------------------------- /test/corpus/all.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/test/corpus/all.txt -------------------------------------------------------------------------------- /test/corpus/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/test/corpus/commands.txt -------------------------------------------------------------------------------- /test/corpus/comments.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/test/corpus/comments.txt -------------------------------------------------------------------------------- /test/corpus/examples.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charmbracelet/tree-sitter-vhs/HEAD/test/corpus/examples.txt --------------------------------------------------------------------------------