-
Notifications
You must be signed in to change notification settings - Fork 391
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
Julia #145
Comments
Using Julia also often means using Unicode chars such as |
Zed could easily become the editor of choice for Julia - would love to see this happen |
It would be lovely to have julia support on zed. |
Friends, I will support my colleagues above: need to support Julia and thereby cover a large mass of people with a perspective for the future; especially Julia is an ideological relative of Rust |
Work have begun to enable Zed to be extended with other languages. Unfortunately, I don't have an estimate on when this will be available for the general public. Stay tuned. 🙂 |
It would be amazing to have Julia support on Zed! thanks zed team i really enjoy using it! |
If Zed supports Julia I will definitely try it out! |
Patently waiting. Can we send snippets to repl as well? |
Perhaps zed-industries/zed#6690 (Zig support) can serve as inspiration. I would guess a similar approach would work here? |
Also, Haskell: zed-industries/zed#6786, Gleam: zed-industries/zed#6733 |
With Haskel, Gleam, and Zig recently added. I hope Julia will be next. Looking forward to this. |
Anything happening here? (Im)patiently waiting :) |
+1 |
Zed is crisp and thrilling. Can't wait to see Julia Language support on Zed. |
For anyone interested in starting from zed-industries/zed#8133 to build an extension, there is a blocker that the tree-sitter grammar requires too much memory to build to WebAssembly (see tree-sitter/tree-sitter-julia#124). |
@JosephTLyons @maxdeviant Is building that beast too much for your workflows here or should we just try? Im still struggling to understand if |
(fwiw yes WASM files are architecture independent. WASM is an architecture of its own, and needs a runtime to actually evaluate it. In the case of the web, this runtime is e.g. the browser) |
Sheesh, I wonder why it is so resource-intensive? One thing that you could try is adding it as a dev extension in Zed and let Zed build the Wasm file, as we use a different approach for building the Wasm grammar (calling |
That won't help, a single |
This problem should be solved in the latest version of Tree-sitter-julia, due to some improvements to Tree-sitter's code-gen. Compiling the Julia parser to WASM is still a little bit slow, but no problem to do on our CI machines. If anyone wants to develop the extension, it should be very straightforward. |
I've got the Tree-sitter part (highlights, outline, etc.) working locally. Looks great so far! I'm not into the LSP stuff though. @Pangoraw: Are you interested in putting it together? I'd be happy to contribute to the queries (I had to make some adjustments for the updated grammar). Alternatively, https://github.com/JuliaEditorSupport might be a good place to collaborate? |
Thank you, the wasm parser now builds smoothly on my 8Gb machine! @piechologist great that you have the grammar working with the updates! I have a version with LSP here https://github.com/zed-industries/zed/compare/main...Pangoraw:zed:zed_julia?expand=1 (i had to comment some grammar queries), I will ask on slack to get a repo under https://github.com/JuliaEditorSupport as that would be the best way to collaborate. |
That's great news. Excited to try Julia on Zed. |
That's great to hear @Pangoraw, let me know if you need help. I'm happy to see Julia supported. |
Closes #145. :wave: @piechologist there is now [JuliaEditorSupport/zed-julia](https://github.com/JuliaEditorSupport/zed-julia) if you want to collaborate. --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Lovely! Will try zed with Julia support. |
Closes zed-industries#145. :wave: @piechologist there is now [JuliaEditorSupport/zed-julia](https://github.com/JuliaEditorSupport/zed-julia) if you want to collaborate. --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Closes zed-industries#145. :wave: @piechologist there is now [JuliaEditorSupport/zed-julia](https://github.com/JuliaEditorSupport/zed-julia) if you want to collaborate. --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Check for existing issues
Language
Julia
Tree Sitter parser link
https://github.com/tree-sitter/tree-sitter-julia
Language server link
https://github.com/julia-vscode/LanguageServer.jl
Misc notes
It would be really useful to have support for the Julia language (https://julialang.org). Not much to say except that it's one of the rising stars in the world of scientific computing. I used it for research at uni and now I use it at work.
The text was updated successfully, but these errors were encountered: