New Perl binding - Text::Treesitter #2022
Unanswered
leonerd
asked this question in
Show and tell
Replies: 1 comment 3 replies
-
@leonerd could you share a link to the binding source code and make a PR to the Tree-Sitter docs? The Tree-Sitter is an open source project and it isn't good to have something unclear in its docs. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I thought I'd announce I've started creating a Perl binding for tree-sitter. It can be seen at
https://metacpan.org/pod/Text::Treesitter
It currently wraps most of the actual
tree-sitter.h
API in some lower-level objects. I'm gradually working on putting a more convenient higher-level frontend API onto it, so it does things like remembering the original source string and each node can retrieve the substr of it that it relates to.Additionally I'm also working on a
tree-sitter-perl
for actually attempting to parse Perl code - I'll announce that in a separate message.Beta Was this translation helpful? Give feedback.
All reactions