-
Notifications
You must be signed in to change notification settings - Fork 15
fail installing #47
Comments
@albfan Are you trying to install it in the package repo, or your home folder? |
@Aerijo seems npm looks for that file outside the repo. I tried both approachs |
I tried again and now it works, but
how should I run tree-sitter-cli? |
The instructions go over this; inside the package directory, there’s a binary called http://tree-sitter.github.io/tree-sitter/creating-parsers#installing-the-tools |
That's instructions seems to cover when you want to generate new parser, I just want to test interactively existing ones This is a fixed example that works, but I want to try different things quickly: https://github.com/albfan/tree-sitter-c-parser-example I tried ruby-tree-sitter but seems it is outdated Can I use tree-sitter-cli without any new parser? I cloned tree-sitter-c, cd into it and run:
So, as first use case: what should I do to test interactively tree-sitter-c parser? |
I was referring to this in particular, which describes how to set up and run the command provided by
And shortly after:
I'm not sure what you mean by interactively though; you can use To run the tests, you will need to build the parser. In general, compiled files are not checked into version control. |
I am not quite sure whether or not this issue is related to mine but the title does match. |
The text was updated successfully, but these errors were encountered: