-
Notifications
You must be signed in to change notification settings - Fork 47
Use tree-sitter-loader to build grammars
#830
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
Conversation
Also remove direct dependency on `cc` (now a transitive dependency)
7b3ed84 to
eb43c2c
Compare
|
Hmm... Well this is quite annoying. This builds fine and |
|
It was just a WASM-thing, in the end. Thanks @yannham for the help 🙏 As the playground has now been detached from |
|
The CI results in #813 -- whose branch has been rebased off this one -- show that compiling on Windows now works (as well as Linux and macOS) 🎉 Although, note, that branch's CI is currently failing for some other reason; under investigation. However, this branch is all ✅ This PR is ready for review and merge. |
nbacquey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice job finding tree-sitter-loader 🎉
Migrate to
tree-sitter-loaderto build grammarsResolves #821
Resolves #829
Description
Do a light clone of the grammar repo (
--filter=blob:none).Use
tree-sitter-loader::Loader::compile_parser_at_pathto build grammars dynamically, rather than curating our own build pipeline. This should give us cross-platform support.Checklist
Checklist before merging: