├── .gitignore ├── Cargo.toml ├── DOC.md ├── LICENSE ├── Makefile ├── Package.swift ├── README.md ├── binding.gyp ├── bindings ├── c │ ├── tree-sitter-typst.h │ └── tree-sitter-typst.pc.in ├── go │ ├── binding.go │ ├── binding_test.go │ └── go.mod ├── node │ ├── binding.cc │ ├── index.d.ts │ └── index.js ├── python │ └── tree_sitter_typst │ │ ├── __init__.py │ │ ├── __init__.pyi │ │ ├── binding.c │ │ └── py.typed ├── rust │ ├── build.rs │ └── lib.rs └── swift │ └── TreeSitterTypst │ └── typst.h ├── editors ├── helix │ ├── languages.toml │ └── queries │ │ ├── highlights.scm │ │ └── injections.scm └── neovim │ └── README ├── grammar.js ├── package.json ├── pyproject.toml ├── queries └── typst │ ├── highlights.scm │ └── injections.scm ├── setup.py ├── src ├── grammar.json ├── node-types.json ├── parser.c ├── scanner.c ├── tree_sitter │ ├── alloc.h │ ├── array.h │ └── parser.h └── unicode.h ├── test ├── corpus │ ├── fixme.scm │ ├── negative.scm │ ├── positive.scm │ └── typst.scm └── import_typst_tests.py └── tree-sitter.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/Cargo.toml -------------------------------------------------------------------------------- /DOC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/DOC.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/Makefile -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/c/tree-sitter-typst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/c/tree-sitter-typst.h -------------------------------------------------------------------------------- /bindings/c/tree-sitter-typst.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/c/tree-sitter-typst.pc.in -------------------------------------------------------------------------------- /bindings/go/binding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/go/binding.go -------------------------------------------------------------------------------- /bindings/go/binding_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/go/binding_test.go -------------------------------------------------------------------------------- /bindings/go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/go/go.mod -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/node/index.d.ts -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/python/tree_sitter_typst/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/python/tree_sitter_typst/__init__.py -------------------------------------------------------------------------------- /bindings/python/tree_sitter_typst/__init__.pyi: -------------------------------------------------------------------------------- 1 | def language() -> int: ... 2 | -------------------------------------------------------------------------------- /bindings/python/tree_sitter_typst/binding.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/python/tree_sitter_typst/binding.c -------------------------------------------------------------------------------- /bindings/python/tree_sitter_typst/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /bindings/swift/TreeSitterTypst/typst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/bindings/swift/TreeSitterTypst/typst.h -------------------------------------------------------------------------------- /editors/helix/languages.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/editors/helix/languages.toml -------------------------------------------------------------------------------- /editors/helix/queries/highlights.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/editors/helix/queries/highlights.scm -------------------------------------------------------------------------------- /editors/helix/queries/injections.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/editors/helix/queries/injections.scm -------------------------------------------------------------------------------- /editors/neovim/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/editors/neovim/README -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/package.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/pyproject.toml -------------------------------------------------------------------------------- /queries/typst/highlights.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/queries/typst/highlights.scm -------------------------------------------------------------------------------- /queries/typst/injections.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/queries/typst/injections.scm -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/setup.py -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/src/parser.c -------------------------------------------------------------------------------- /src/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/src/scanner.c -------------------------------------------------------------------------------- /src/tree_sitter/alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/src/tree_sitter/alloc.h -------------------------------------------------------------------------------- /src/tree_sitter/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/src/tree_sitter/array.h -------------------------------------------------------------------------------- /src/tree_sitter/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/src/tree_sitter/parser.h -------------------------------------------------------------------------------- /src/unicode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/src/unicode.h -------------------------------------------------------------------------------- /test/corpus/fixme.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/test/corpus/fixme.scm -------------------------------------------------------------------------------- /test/corpus/negative.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/test/corpus/negative.scm -------------------------------------------------------------------------------- /test/corpus/positive.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/test/corpus/positive.scm -------------------------------------------------------------------------------- /test/corpus/typst.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/test/corpus/typst.scm -------------------------------------------------------------------------------- /test/import_typst_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/test/import_typst_tests.py -------------------------------------------------------------------------------- /tree-sitter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uben0/tree-sitter-typst/HEAD/tree-sitter.json --------------------------------------------------------------------------------