Visitar URL original
Precise AST CodeQL tagging by rewinfrey · Pull Request #507 · github/semantic · GitHub
The Wayback Machine - https://web.archive.org/web/20230730235724/https://github.com/github/semantic/pull/507
Skip to content
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

Precise AST CodeQL tagging #507

Merged
merged 39 commits into from Apr 1, 2020
Merged

Precise AST CodeQL tagging #507

merged 39 commits into from Apr 1, 2020

Conversation

rewinfrey
Copy link
Member

@rewinfrey rewinfrey commented Mar 2, 2020 •

This patch enables precise ASTs for CodeQL.

After the related tree-sitter-ql updated grammar is merged, I'll create a tree-sitter-ql package on hackage, and incorporate that into haskell-tree-sitter, which should remove all the temporarily vendored code in semantic to verify the PoC.

This reverts commit bf056d0, reversing
changes made to 147245d.
@rewinfrey rewinfrey requested a review from patrickt March 31, 2020 18:58
@rewinfrey
Copy link
Member Author

This adds ToTags support for modules, classes, predicates, and various call permutations in tree-sitter-ql's grammar.

These changes are subsumed by semantic-source version 0.1.0.0
@rewinfrey rewinfrey changed the title [WIP] Precise ql tagging Precise AST CodeQL tagging Mar 31, 2020
@rewinfrey rewinfrey requested review from tclem and a team and removed request for patrickt and tclem March 31, 2020 22:29
Copy link
Member

@tclem tclem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look 👍

Noticed that it's still tree-sitter-ql - do we want to rename that as well? Easier to do now I would guess.

semantic-codeql/CHANGELOG.md Outdated Show resolved Hide resolved
semantic-codeql/LICENSE Show resolved Hide resolved
semantic-scope-graph/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@patrickt patrickt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haskell parts look great to me! Cheers, @rewinfrey!

@rewinfrey rewinfrey merged commit 2684890 into master Apr 1, 2020
@rewinfrey rewinfrey deleted the precise-ql-tagging branch April 1, 2020 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants