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

33528 Commits

Author SHA1 Message Date
Ayman Nadeem
324ecc3110 use Parse.Err 2020-04-28 10:47:07 -04:00
Ayman Nadeem
f3810df481 Err wraps a but has no args 2020-04-28 10:26:03 -04:00
Ayman Nadeem
2bb5ce1fad need AST.Parse in Unmarshal 2020-04-27 17:45:08 -04:00
Ayman Nadeem
d95440e4e6 use ParseFail and ParseSucceed constructors 2020-04-27 17:42:50 -04:00
Ayman Nadeem
0af40b260a auto-derive Functor and everything else 2020-04-27 17:42:16 -04:00
Ayman Nadeem
fae94854fd add AST.Parse to exposed-modules list 2020-04-27 17:41:41 -04:00
Ayman Nadeem
d3b980af91 describe function of shape parameter introduced 2020-04-27 17:00:52 -04:00
Ayman Nadeem
09dfa147b7 replace token type synonym with example datatype of kind (*->*)->*->* 2020-04-27 16:59:59 -04:00
Ayman Nadeem
87349a4d55 provide description for Error type 2020-04-27 16:59:15 -04:00
Ayman Nadeem
c752315548 don't need typelits, since no Symbol/Nat data will index this datatype 2020-04-27 16:57:12 -04: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
Ayman Nadeem
e3a46c4405 stub out functor instance 2020-04-24 13:32:18 -04:00
Ayman Nadeem
d1dcb4c09e this will be a datatype isomorphic to Either 2020-04-24 13:32:09 -04:00
Ayman Nadeem
1e145cae9c create AST.Parse 2020-04-24 12:47:55 -04:00
Ayman Nadeem
2d36330145 remove extra line 2020-04-24 12:47:39 -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
Ayman Nadeem
57ca08eac5 add type operators extension 2020-04-22 14:31:27 -04:00
Ayman Nadeem
054a1d17f6 add StandaloneDeriving to enable constraints in instances 2020-04-22 14:28:29 -04:00
Ayman Nadeem
f06ae2dbd6 new kinds need to be invoked with KindSignatures 2020-04-22 13:55:12 -04:00
Patrick Thomson
b3cb0125d4 Simplify first-line calculation in interface declarations. 2020-04-22 11:38:57 -04:00
Ayman Nadeem
a6625780e9 format import statement 2020-04-22 10:36:24 -04:00
Ayman Nadeem
d70db96038 Merge branch 'master' into codegen-cleanup 2020-04-22 10:16:05 -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