├── .gitignore ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── binding.gyp ├── bindings ├── node │ ├── binding.cc │ └── index.js └── rust │ ├── build.rs │ └── lib.rs ├── grammar.js ├── package.json ├── queries ├── folds.scm ├── highlights.scm ├── injections.scm └── locals.scm ├── src ├── grammar.json ├── node-types.json ├── parser.c ├── scanner.c └── tree_sitter │ └── parser.h └── test └── corpus ├── biexpr.txt ├── block.txt ├── cmd.txt ├── cmd_def.txt ├── cmd_invocation.txt ├── env_export.txt ├── file_path.txt ├── if.txt ├── pipe.txt ├── record.txt ├── statements.txt ├── string.txt ├── table.txt ├── temp.txt ├── value_path.txt └── var_decl.txt /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | log.html 3 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/package.json -------------------------------------------------------------------------------- /queries/folds.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/queries/folds.scm -------------------------------------------------------------------------------- /queries/highlights.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/queries/highlights.scm -------------------------------------------------------------------------------- /queries/injections.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/queries/injections.scm -------------------------------------------------------------------------------- /queries/locals.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/queries/locals.scm -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/src/parser.c -------------------------------------------------------------------------------- /src/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/src/scanner.c -------------------------------------------------------------------------------- /src/tree_sitter/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/src/tree_sitter/parser.h -------------------------------------------------------------------------------- /test/corpus/biexpr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/biexpr.txt -------------------------------------------------------------------------------- /test/corpus/block.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/block.txt -------------------------------------------------------------------------------- /test/corpus/cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/cmd.txt -------------------------------------------------------------------------------- /test/corpus/cmd_def.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/cmd_def.txt -------------------------------------------------------------------------------- /test/corpus/cmd_invocation.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/cmd_invocation.txt -------------------------------------------------------------------------------- /test/corpus/env_export.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/env_export.txt -------------------------------------------------------------------------------- /test/corpus/file_path.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/file_path.txt -------------------------------------------------------------------------------- /test/corpus/if.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/if.txt -------------------------------------------------------------------------------- /test/corpus/pipe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/pipe.txt -------------------------------------------------------------------------------- /test/corpus/record.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/record.txt -------------------------------------------------------------------------------- /test/corpus/statements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/corpus/string.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/string.txt -------------------------------------------------------------------------------- /test/corpus/table.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/table.txt -------------------------------------------------------------------------------- /test/corpus/temp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/temp.txt -------------------------------------------------------------------------------- /test/corpus/value_path.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/value_path.txt -------------------------------------------------------------------------------- /test/corpus/var_decl.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LhKipp/tree-sitter-nu/HEAD/test/corpus/var_decl.txt --------------------------------------------------------------------------------