├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── publish.yml ├── .gitignore ├── .vscode ├── c_cpp_properties.json └── settings.json ├── Cargo.toml ├── LICENSE ├── Makefile ├── Package.swift ├── README.md ├── binding.gyp ├── bindings ├── c │ ├── tree-sitter-perl.h │ └── tree-sitter-perl.pc.in ├── go │ ├── binding.go │ ├── binding_test.go │ └── go.mod ├── node │ ├── binding.cc │ ├── index.d.ts │ └── index.js ├── python │ └── tree_sitter_perl │ │ ├── __init__.py │ │ ├── __init__.pyi │ │ ├── binding.c │ │ └── py.typed ├── rust │ ├── build.rs │ └── lib.rs └── swift │ └── TreeSitterPerl │ └── perl.h ├── examples ├── BaseModule.pm ├── FunctionAttributes.pm ├── PerlModule.pm ├── array.pl ├── control.pl ├── experimental.pl ├── function.pl ├── hash.pl ├── heredoc.pl ├── import.pl ├── interpolation.pl ├── loop.pl ├── misc.pl ├── perlref.pl ├── quote-like.pl ├── simple.pl └── test.pl ├── grammar.js ├── package.json ├── pyproject.toml ├── setup.py ├── src ├── grammar.json ├── node-types.json ├── parser.c ├── scanner.c └── tree_sitter │ ├── alloc.h │ ├── array.h │ └── parser.h ├── test └── corpus │ ├── comments.txt │ ├── control.txt │ ├── experimental.txt │ ├── expression.txt │ ├── heredoc.txt │ ├── module.txt │ ├── package.txt │ ├── quote-like-operators.txt │ ├── statement.txt │ ├── subroutine.txt │ └── variables.txt └── tree-sitter.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/Makefile -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/c/tree-sitter-perl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/c/tree-sitter-perl.h -------------------------------------------------------------------------------- /bindings/c/tree-sitter-perl.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/c/tree-sitter-perl.pc.in -------------------------------------------------------------------------------- /bindings/go/binding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/go/binding.go -------------------------------------------------------------------------------- /bindings/go/binding_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/go/binding_test.go -------------------------------------------------------------------------------- /bindings/go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/go/go.mod -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/node/index.d.ts -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/python/tree_sitter_perl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/python/tree_sitter_perl/__init__.py -------------------------------------------------------------------------------- /bindings/python/tree_sitter_perl/__init__.pyi: -------------------------------------------------------------------------------- 1 | def language() -> int: ... 2 | -------------------------------------------------------------------------------- /bindings/python/tree_sitter_perl/binding.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/python/tree_sitter_perl/binding.c -------------------------------------------------------------------------------- /bindings/python/tree_sitter_perl/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /bindings/swift/TreeSitterPerl/perl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/bindings/swift/TreeSitterPerl/perl.h -------------------------------------------------------------------------------- /examples/BaseModule.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/BaseModule.pm -------------------------------------------------------------------------------- /examples/FunctionAttributes.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/FunctionAttributes.pm -------------------------------------------------------------------------------- /examples/PerlModule.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/PerlModule.pm -------------------------------------------------------------------------------- /examples/array.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/array.pl -------------------------------------------------------------------------------- /examples/control.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/control.pl -------------------------------------------------------------------------------- /examples/experimental.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/experimental.pl -------------------------------------------------------------------------------- /examples/function.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/function.pl -------------------------------------------------------------------------------- /examples/hash.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/hash.pl -------------------------------------------------------------------------------- /examples/heredoc.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/heredoc.pl -------------------------------------------------------------------------------- /examples/import.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/import.pl -------------------------------------------------------------------------------- /examples/interpolation.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/interpolation.pl -------------------------------------------------------------------------------- /examples/loop.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/loop.pl -------------------------------------------------------------------------------- /examples/misc.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/misc.pl -------------------------------------------------------------------------------- /examples/perlref.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/perlref.pl -------------------------------------------------------------------------------- /examples/quote-like.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/quote-like.pl -------------------------------------------------------------------------------- /examples/simple.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/simple.pl -------------------------------------------------------------------------------- /examples/test.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/examples/test.pl -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/package.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/setup.py -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/src/parser.c -------------------------------------------------------------------------------- /src/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/src/scanner.c -------------------------------------------------------------------------------- /src/tree_sitter/alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/src/tree_sitter/alloc.h -------------------------------------------------------------------------------- /src/tree_sitter/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/src/tree_sitter/array.h -------------------------------------------------------------------------------- /src/tree_sitter/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/src/tree_sitter/parser.h -------------------------------------------------------------------------------- /test/corpus/comments.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/comments.txt -------------------------------------------------------------------------------- /test/corpus/control.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/control.txt -------------------------------------------------------------------------------- /test/corpus/experimental.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/experimental.txt -------------------------------------------------------------------------------- /test/corpus/expression.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/expression.txt -------------------------------------------------------------------------------- /test/corpus/heredoc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/heredoc.txt -------------------------------------------------------------------------------- /test/corpus/module.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/module.txt -------------------------------------------------------------------------------- /test/corpus/package.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/package.txt -------------------------------------------------------------------------------- /test/corpus/quote-like-operators.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/quote-like-operators.txt -------------------------------------------------------------------------------- /test/corpus/statement.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/statement.txt -------------------------------------------------------------------------------- /test/corpus/subroutine.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/subroutine.txt -------------------------------------------------------------------------------- /test/corpus/variables.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/test/corpus/variables.txt -------------------------------------------------------------------------------- /tree-sitter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ganezdragon/tree-sitter-perl/HEAD/tree-sitter.json --------------------------------------------------------------------------------