-
Notifications
You must be signed in to change notification settings - Fork 454
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
Semantic rust #551
Semantic rust #551
Conversation
This comment has been minimized.
This comment has been minimized.
4 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Thank you for uploading of |
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.
It seems there is no building/testing issue anymore, but since two corpus files are excluded a399bdd there remains some uncertainty because tree-sitter/tree-sitter#619 runs run corpus test properly.
That's alright we'll investigate later. I took a look briefly and it looks like an error parsing the macros.txt
resulting in Error: "endOfInput"
. Might be an issue with our parsing or the file itself. https://github.com/github/semantic/blob/master/semantic-ast/src/AST/Test.hs#L77
@joshvera, beside
|
@p-alik thanks! I'll try to take a look soon. |
This PR aims to solve #130
Temporary Installation Step
semantic-rust
depends on packagetree-sitter-rust
, which isn't available at https://hackage.haskell.org/ yet.To build the content of this PR you've to execute following steps, because
source-repository-package
entry forhaskell-tree-sitter
(see a4410b6) doesn't solve .gitsubmodules dependency.cabal v2-update
(or./script/bootstrap
)cd /tmp
git clone --recurse-submodules git@github.com:tree-sitter/haskell-tree-sitter.git
cd semantic
find dist-newstyle/ -maxdepth 3 -type d -name "tree-sitter-rust" -exec cp -a ../haskell-tree-sitter/tree-sitter-rust/vendor {} \;
cabal v2-buiild
cd semantic-rust
cabal v2-test
(to get testing passed two corpus files were excluded e899938)