-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation requirements #83
Comments
I was actually thinking of proposing the opposite: vendoring the build code in Fully committing to one or the other seems like the best bet for maintainability, though I don’t have the full context of why we have a mix between custom build commands and |
The directory that TS has decided to place then is pretty standardized with If there was not shift to this I can imagine there potentially being some race condition issues when Either way, I agree fully committing would be ideal so we can support more current versions. |
The reasons we are using both custom compilation commands and
The preferred direction at the moment is handling compilation on our own, instead of relying on the CLI. The biggest hurdle is compiling on Windows. A potential solution is using the
The bundle is intended for people who don't want to compile the grammars on their own. It's one of the main purposes of
There is no consensus on user expectations. It is
It tries the directories sequentially, not concurrently, so there shouldn't be race conditions. |
Now that |
I've given a shot at the |
I’m trying to understand a bit about how
tree-sitter-langs
compiles it’s shared libraries in an attempt to use versions 0.20+. I’m looking at thetree-sitter-langs-compile
function and it seems to calltree-sitter generate
,tree-sitter test
, as well as separate compilation commands. Is this all necessary? I had the understanding thattree-sitter test
would compile it automatically.Additionally, if my tree-sitter emacs-tree-sitter/elisp-tree-sitter#212 is accepted and you relied on the automatic compilation then you would no longer need to tar and extract the bundle to
tree-sitter-langs--bin-dir
intree-sitter-langs-create-bundle
. I believe you’d only need the version file.The text was updated successfully, but these errors were encountered: