-
Notifications
You must be signed in to change notification settings - Fork 20
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
tree-sitter web-ui doesn't show parse tree in right pane #17
Comments
Upgrading to |
Thanks for sharing! |
On the topic of versions of emsdk, it appears that versions from (and above?) 2.0.18 may have issues currently: tree-sitter/tree-sitter#1098 (comment) |
All these issues make the tree-sitter ecosystem feel really fragile. Not your fault, of course, I'm just surprised and disappointed. |
I'm hoping things will improve somewhat over time -- though I don't expect that to be soon. For reference, there is this 1.0 Checklist. |
I've been examining the tree-sitter repository's commit logs and source recently and my current impression is that the fragility stems from at least a few factors:
On a related note, I have experimented with a structure that removes the use of I think it's possible to stop using |
I think it's pretty clear that the original issue is caused by version mismatches between emscripten and the tree-sitter cli. It would be nicer if the official docs (e.g. these) stated version requirements in detail (and there have been comments at the tree-sitter repository about this from time to time). At present, if one uses a recent post 0.20.7 version of the tree-sitter cli (e.g. by compiling from source), emscripten 3.1.29 works. I've been using it with no obvious issues. I'm going to close this issue as it's not specific to tree-sitter-clojure and I'm not sure it helps to keep it open. If someone feels otherwise though, I'm willing to discuss :) |
I think this issue may resurface from time to time. I've written up some details on it here for future reference. |
IIUC, according to a comment in the "Doesn't seem to update with treesitter playground" issue a related factor may be a version mismatch for emsdk.
It may be that for tree-sitter-cli version 0.19.3, using version 2.0.11 of emsdk works.
For tree-sitter-cli version 0.19.5, using version 2.0.24 of emsdk may work.
The text was updated successfully, but these errors were encountered: