1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00
Commit Graph

33421 Commits

Author SHA1 Message Date
Alexei Pastuchov
a3c49edd31 improvement of AST.Test.exampleParser
implement outputSepParser in the way tree-sitter do it.
See
e8e80b1cf1/cli/src/test.rs (L20)
2020-05-20 11:39:53 +02:00
Josh Vera
25afb3fbb9
Merge pull request #551 from p-alik/semantic-rust
Semantic rust
2020-05-19 11:34:04 -04:00
joshvera
4835a5e26a Add corresponding package to cabal.project 2020-05-19 10:44:07 +02:00
Alexei Pastuchov
a399bdde14 exclude expressions and macros from corpus tests 2020-05-19 10:41:33 +02:00
Alexei Pastuchov
d27ba2f40a Readme shows Rust AST example 2020-05-19 07:03:26 +02:00
Josh Vera
a0c45c04ce
Merge pull request #552 from jkachmar/patch-1
Updates unofficial stack configuration information
2020-05-18 16:52:44 -04:00
Joe Kachmar
1f43588cc9
Updates unofficial stack configuration information 2020-05-17 21:32:10 -04:00
Alexei Pastuchov
23eb627561 add semantic-rust into packages list 2020-05-12 21:14:54 +02:00
Alexei Pastuchov
3135848b2e add tree-sitter-rust build dependency 2020-05-12 21:13:41 +02:00
Alexei Pastuchov
cca534906e semantic-rust initial commit 2020-05-12 21:12:05 +02:00
Patrick Thomson
66103a1b99
Merge pull request #546 from github/warn-me-no-more
Fix annoying warning re. inter-project dependencies.
2020-04-30 17:24:20 -04:00
Patrick Thomson
f829708bbd Fix annoying warning re. inter-project dependencies.
Building `semantic-python` would result in a warning like this:

```
Warning: The package has an extraneous version range for a dependency on an
internal library: semantic-python ==0.0.0.0. This version range includes the
current package but isn't needed as the current package's library will always
be used.
```

Removing this indeed-extraneous bound makes it go away.
2020-04-30 17:05:13 -04:00
Timothy Clem
452488ca67
Merge pull request #544 from github/fix-tag-spans
Constrain Loc for tags to the identifer
2020-04-29 12:56:56 -07:00
Timothy Clem
2c94d0a498 Fix up fixtures 2020-04-28 12:08:51 -07:00
Timothy Clem
24f78b50b1 Fix up the spec to assert proper Locs 2020-04-27 13:43:15 -07:00
Timothy Clem
91ddeda1e0 Fix Loc for Java tags 2020-04-27 13:23:09 -07:00
Timothy Clem
a1edfa5753 Whitespace fixes 2020-04-27 13:19:50 -07:00
Timothy Clem
96af592d9d Fix Loc for CodeQL tags 2020-04-27 13:19:45 -07:00
Timothy Clem
6116d24979 Fix Loc for Go tags 2020-04-27 13:19:39 -07:00
Timothy Clem
ec39503c32 Fix Loc for PHP tags 2020-04-27 13:19:33 -07:00
Timothy Clem
9b0f39f4f6 Fix Loc for Python tags 2020-04-27 13:19:28 -07:00
Timothy Clem
cbe7ab894d Fix Loc for Ruby tags 2020-04-27 13:19:19 -07:00
Ayman Nadeem
7d15acebf1
Merge pull request #543 from github/add-diagram
Revamp codegen docs
2020-04-27 12:41:51 -04:00
Ayman Nadeem
df03b302fa make all github links permalinks 2020-04-27 12:34:03 -04:00
Ayman Nadeem
381b9308d5 add new diagram and new explanation 2020-04-27 12:19:12 -04:00
Timothy Clem
b3d7de8b51 Properly separate source line Loc from identifier Loc 2020-04-27 09:14:24 -07:00
Ayman Nadeem
5d0bd42a83 use <pre> instead of <code> 2020-04-27 11:26:26 -04:00
Ayman Nadeem
79c37006cf Update codegen.md 2020-04-24 14:24:03 -04:00
Ayman Nadeem
2d9345ec39 Update codegen.md 2020-04-24 13:56:50 -04:00
Ayman Nadeem
a895c0a0a9 context for codegen 2020-04-24 13:56:44 -04:00
Ayman Nadeem
54cec8d188 heading 2020-04-24 13:56:37 -04:00
Ayman Nadeem
5e95f6fad5 This is now in Grammar.Examples 2020-04-24 13:56:30 -04:00
Ayman Nadeem
633cac77cb headings 2020-04-24 13:56:10 -04:00
Ayman Nadeem
80e5b05eb0 format table of contents 2020-04-24 13:55:53 -04:00
Ayman Nadeem
ebc680f039 Update codegen.md 2020-04-24 13:55:40 -04:00
Ayman Nadeem
1892b303df add instruction to read adding-a-new-language doc 2020-04-24 13:46:24 -04:00
Ayman Nadeem
00717435ce toc should be upfront 2020-04-24 13:45:58 -04:00
Ayman Nadeem
b23c72d3b8 move this example under section discussing generating syntax 2020-04-24 13:45:34 -04:00
Ayman Nadeem
2796a6ff87 update links to point to Semantic instead of tree-sitter 2020-04-24 13:45:00 -04:00
Ayman Nadeem
55e91a4af4 🚮 2020-04-24 13:38:52 -04:00
Ayman Nadeem
eca92367e2 this is covered in adding-a-new-language 2020-04-24 13:38:10 -04:00
Patrick Thomson
7159710676
Merge pull request #540 from github/face-the-interface
Tag Java interfaces and interface implementations.
2020-04-24 12:09:53 -04:00
Patrick Thomson
f7f5541414 s/Implements/Implementation in this comment. 2020-04-23 10:55:19 -04:00
Patrick Thomson
b3cb0125d4 Simplify first-line calculation in interface declarations. 2020-04-22 11:38:57 -04:00
Patrick Thomson
eae11d016c Tag Java interfaces and interface implementations.
This patch adds tagging support to Java `InterfaceDeclaration` and
`InterfaceTypeList` nodes. To do so, we add two new constructors to
`Tags.Tag.Kind`: `Interface`, emitted by `InterfaceDeclaration`, and
`Implementation`, emitted by `implements` clauses in Java source. Some
modification of downstream services will be indicated.
2020-04-21 17:03:19 -04:00
Ayman Nadeem
e0f2da0dcd
Merge pull request #538 from github/update-language-support-docs
Update language support docs
2020-04-20 17:25:48 -04:00
Ayman Nadeem
7dc4285aa2 add context on getNodeTypePaths and getDataFileName 2020-04-20 15:52:56 -04:00
Patrick Thomson
471fd57e21
Merge pull request #539 from github/consistent-test-names
Make semantic-[LANG] test names consistent.
2020-04-20 14:51:44 -04:00
Ayman Nadeem
c5b1f0c56e update Test to CoreTest in semantic-python 2020-04-20 14:06:45 -04:00
Ayman Nadeem
88538f268f provide link to assignment docs for context 2020-04-20 14:03:53 -04:00