help on how to use ocaml-treesitter #287
-
demo.ml looks like this :
Am I using the treesitter correctly ? (I have basically installed https://github.com/GumTreeDiff/tree-sitter-parser and added tree-sitter-parser.py in PATH) . I feel I am not using treesitter properly because I tried to parse PHP files with php-treesitter and faced similar syntaxException but was able to parse the same with php-antlr ! I am guessing maybe some additional configuration needs to be done to use tree-sitter , maybe? Any help would be appreciated ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi! This is what I get :
You can try out tree sitter parser directly like this :
What do you get? Cheers. |
Beta Was this translation helpful? Give feedback.
Hi!
This is what I get :
You can try out tree sitter parser directly like this :