semantic
semantic copied to clipboard
Parsing, analyzing, and comparing source code across many languages
My organization utilizes COBOL and we've recently started using GitHub Enterprise. I met with @mcolyer to discuss some of our challenges and he recommended filing an issue with this project...
They are similar to the records in Haskell. Doc: https://docs.oracle.com/en/java/javase/14/language/records.html Currently, GitHub does not understand Java records:  It does not seem to parse these methods successfully.
I've read through a couple issues and https://github.com/github/semantic/blob/master/docs/adding-new-languages.md - mainly filing this so it's tracked somewhere and people out there realize it's desired. I'm a bit curious - is there...
Hi there, I would like to get the line number of the end of a function definition. Is there a way to do this? To give an example, suppose the...
C# has a tree-sitter and is included in Haskell binding of tree sitter. Our project requires semantic support for C#. I'll be glad contributing the C# support to the project....
The current docker noted here https://github.com/github/semantic/packages/11609 no longer supports --json, yet this appears to be fixed here https://github.com/github/semantic/commit/a064c535cc25b0ecbd3f5b067b1460cdbe49168f
`pathtype` was not a great success for us: - it did not catch any bugs other than exposing some odd behavior in `readProjectFromPaths`; - it baffled everyone who hadn't spent...
Just a basic C parsing support (no tags) based on https://github.com/tree-sitter/haskell-tree-sitter/pull/294. You can try it by checking out the haskell-tree-sitter branch from https://github.com/tree-sitter/haskell-tree-sitter/pull/294, setting the path in `cabal.project.local` in the...
Replaces `ReaderC` with `StateC` in `Unmarshal`, and checks for diagnostics at each visited node, kept in the state. The diagnostic determination is dodgy, but the concept works See https://gist.github.com/alanz/2ae23a75bba75ed09780d3fa043bd28e Note:...
The tests are currently failing because it depends on some unreleased changes to haskell-tree-sitter (tree-sitter/haskell-tree-sitter#290, tree-sitter/haskell-tree-sitter#291) and tree-sitter-ocaml.