semantic icon indicating copy to clipboard operation
semantic copied to clipboard

Rust support

Open FranklinYu opened this issue 6 years ago • 8 comments

Any interest in Rust support? Should be easier than dynamic languages.

FranklinYu avatar Jun 12 '19 18:06 FranklinYu

Thanks for the question! We aren’t currently focusing on it, but I’d be thrilled to review any work done to support it. If you’re interested in tackling it, #126 gives a brief outline of the process; note also that https://github.com/tree-sitter/tree-sitter-rust exists (tho I don’t know off the top of my head how complete it is).

cc @shaziyabandukia with whom I was literally just now talking about this 😁 cc @maxbrunsfeld for deets re: tree-sitter-rust’s completeness

robrix avatar Jun 12 '19 18:06 robrix

Yeah, tree-sitter-rust is pretty complete. We've been using it in Atom for syntax highlighting, and it handles all the Rust code I've run it on. We recently got some community contributions that brought it up to speed with the newest language features.

I'd personally love it if semantic supported Rust, because Tree-sitter itself uses it quite a bit!

maxbrunsfeld avatar Jun 13 '19 00:06 maxbrunsfeld

I did some work to solve the issue yet https://github.com/p-alik/semantic/blob/semantic-rust/semantic-rust/README.md

p-alik avatar Apr 30 '20 10:04 p-alik

Now that the tree-sitter-rust Haskell package exists, next step is to create a semantic-rust package like the other ones we have in the semantic repo.

patrickt avatar Apr 30 '20 17:04 patrickt

But tree-sitter-rust is still not available on hackage. Consequently cabal can't compile semantic-rust yet.

p-alik avatar Apr 30 '20 19:04 p-alik

@p-alik Use the cabal.project source-repository-package feature to pin to the git repo directly.

patrickt avatar May 04 '20 15:05 patrickt

Is Rust supported now? I noticed that #551 was merged

TheButlah avatar Aug 11 '20 01:08 TheButlah

Is Rust supported now? I noticed that #551 was merged

Possible this note in #572 answers your question.

p-alik avatar Aug 11 '20 07:08 p-alik