1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 12:57:49 +03:00
Commit Graph

122 Commits

Author SHA1 Message Date
Ayman Nadeem
916d5a4a5e parameterize TypeScript program with Err 2020-04-29 13:56:35 -04:00
Ayman Nadeem
cdcafd612e add QuantifiedConstraints extension to AST modules for each supported lang 2020-04-28 13:50:24 -04:00
Ayman Nadeem
7c6718cb88 add KindSignatures, StandaloneDeriving and TypeOperators to all Language.LANG.AST files 2020-04-28 11:07:08 -04:00
Timothy Clem
a1edfa5753 Whitespace fixes 2020-04-27 13:19:50 -07:00
Timothy Clem
b3d7de8b51 Properly separate source line Loc from identifier Loc 2020-04-27 09:14:24 -07:00
Ayman Nadeem
d70db96038 Merge branch 'master' into codegen-cleanup 2020-04-22 10:16:05 -04:00
Ayman Nadeem
7834a7b1c0 update main-is for test suites in language cabal files 2020-04-20 11:53:47 -04:00
Ayman Nadeem
9f9e481da2 rename TypeScript Test to PreciseTest 2020-04-20 11:46:49 -04:00
Patrick Thomson
8d62ad3b91 Merge remote-tracking branch 'origin/master' into codegen-cleanup 2020-04-01 11:05:40 -04:00
Timothy Clem
958ff310b0 Continue to refine javascript method/function tagging 2020-03-31 14:12:34 -07:00
Rick Winfrey
9a7ed9d294 Bump to semantic-source 0.1.0
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-23 13:40:50 -07:00
Timothy Clem
f404eb9a03 Detect and tag functions in variable_declarators 2020-03-13 14:52:45 -07:00
Timothy Clem
a135e88791 Bring back tree-sitter corpus for tsx and typescript 2020-02-20 14:22:24 -08:00
Ayman Nadeem
2149d3a07a Merge branch 'master' into codegen-cleanup 2020-02-20 14:55:16 -05:00
Timothy Clem
a697d2109c Get the tests and benchmarks building again 2020-02-20 10:01:46 -08:00
Timothy Clem
5a358d6894 Fully remove reference to submodules 2020-02-20 09:58:47 -08:00
Patrick Thomson
ea641ab602 Stray imports. 2020-02-14 14:19:32 -05:00
Patrick Thomson
e45bb13fb1 Remove submodules now that parsers provide grammars themselves. 2020-02-14 13:25:37 -05:00
Ayman Nadeem
82a0062f3c change AST.Test to AST.TestHelpers 2020-02-14 11:33:01 -05:00
Ayman Nadeem
1f6875fbe5 Update AST.hs 2020-02-08 08:20:50 -05:00
Ayman Nadeem
0a541b78c5 import Language.Haskell.TH.Syntax (runIO) for TypeScript 2020-02-08 08:12:05 -05:00
Ayman Nadeem
cd526bd960 Update semantic-typescript.cabal 2020-02-07 19:41:28 -05:00
Ayman Nadeem
2c53430766 Update semantic-typescript.cabal 2020-02-07 19:14:34 -05:00
Ayman Nadeem
0f6985fae8 update semantic-LANG cabal files to depend on semantic-ast instead of tree-sitter-test-helpers 2020-02-06 16:32:03 -05:00
Ayman Nadeem
c22fec9a6e Update Test.hs 2020-02-06 16:30:47 -05:00
Ayman Nadeem
aa3d096b66 Update semantic-typescript.cabal 2020-02-06 15:30:28 -05:00
Ayman Nadeem
602ac29afd remove semantic-codegen from everywhere in the project 2020-02-04 17:37:09 -05:00
Ayman Nadeem
52e595cd25 Merge branch 'traversty' into codegen-migration-leftovers 2020-02-04 17:01:29 -05:00
Ayman Nadeem
39822f5685 use getNodeTypesPath for TypeScript 2020-02-04 16:27:26 -05:00
Rob Rix
790431ac74
Tagging uses Traversable1 instead of GTraversable1. 2020-02-04 13:56:19 -05:00
Rob Rix
7a2cc7fb7a
Move Traversable1 into semantic-ast. 2020-02-04 13:35:35 -05:00
Rob Rix
924ada5744
Apply stylish-haskell. 2020-02-04 13:29:33 -05:00
Ayman Nadeem
f2186367d7 add test-suite to semantic-typescript 2020-02-04 12:34:39 -05:00
Ayman Nadeem
ddcafeeb69 move corpus tests from tree-sitter-typescript to semantic-typescript 2020-02-04 12:34:06 -05:00
Ayman Nadeem
de4d3e7681 Update Grammar.hs 2020-01-31 14:46:48 -05:00
Ayman Nadeem
abad239511 correct file 2020-01-31 13:58:11 -05:00
Ayman Nadeem
9c31c3fcf8 change all semantic-LANG cabal files to depend on semantic-codegen instead of semantic-ast 2020-01-30 17:44:09 -05:00
Ayman Nadeem
61e7155fb3 add semantic-ast to semantic-LANG library dependencies 2020-01-30 16:48:35 -05:00
Ayman Nadeem
0095b80ff8 bring addDependentFileRelative into scope for all Grammar files 2020-01-30 13:49:19 -05:00
Ayman Nadeem
5f4d11bdf1 change function name 2020-01-30 13:44:27 -05:00
Ayman Nadeem
0900bdbe74 Merge branch 'master' into my-grate 2020-01-29 15:09:17 -05:00
Ayman Nadeem
17af20e992 fix nesting 2020-01-29 13:16:49 -05:00
Ayman Nadeem
02420957f9 update TreeSitter.TypeScript to Language.TypeScript.Grammar 2020-01-29 11:56:52 -05:00
Ayman Nadeem
13774b2d09 Update semantic-typescript.cabal 2020-01-29 11:55:57 -05:00
Ayman Nadeem
94667d0bcd Create Grammar.hs 2020-01-29 11:55:47 -05:00
Rob Rix
2e9cd2c006
Merge pull request #439 from github/tower-of-babble
Remove Data.Blob.File in favor of Analysis.File and use semantic-source’s Language type.
2020-01-28 14:09:26 -05:00
Ayman Nadeem
6f5e24cacc Merge branch 'master' into my-grate 2020-01-28 13:06:38 -05:00
Patrick Thomson
9ecaeedcc3 Depend on newer semantic-source. 2020-01-28 12:42:42 -05:00
Ayman Nadeem
9e6eab11cb Update TypeScript dependencies to reference AST.* instead of TreeSitter.* 2020-01-28 12:00:18 -05:00
Timothy Clem
63286d9439 Update tsx and typescript grammars 2020-01-27 16:11:23 -08:00
Ayman Nadeem
3d559796c0 change TreeSitter.TypeScript.AST to Language.TypeScript.AST 2020-01-27 16:11:40 -05:00
Ayman Nadeem
87b200d3d2 create submodule for typescript AST 2020-01-27 16:06:52 -05:00
Ayman Nadeem
7496c67128 add contents to Language.TypeScript.AST 2020-01-27 16:06:35 -05:00
Ayman Nadeem
beb8f2ff6f Update semantic-typescript.cabal 2020-01-27 16:04:21 -05:00
Ayman Nadeem
8cf1da829a Create AST.hs 2020-01-27 16:04:16 -05:00
Timothy Clem
0b0d8776f9 Properly tag Module in Tsx and TypeScript 2020-01-27 11:25:32 -08:00
Timothy Clem
567a64a01a Properly classify methods in the other languages 2020-01-21 12:36:15 -08:00
Timothy Clem
c0d8675d09 Use semantic-source 0.0.1 2020-01-16 12:57:24 -08:00
Timothy Clem
6bcc231355 firstLine takes a range 2020-01-16 12:14:40 -08:00
Rob Rix
dfc053fd88
🔥 redundant language extensions. 2020-01-15 10:49:23 -05:00
Rob Rix
1f5c7fda5c
Explicitly list all the instances for TypeScript.Tags.ToTags. 2020-01-15 10:41:20 -05:00
Timothy Clem
2bf8c5b965 Merge branch 'precise-tag-benchmarks' into precise-alacarte-matching 2020-01-14 13:52:35 -08:00
Timothy Clem
3c415e6f93 Merge remote-tracking branch 'origin/master' into precise-tag-benchmarks 2020-01-14 12:42:05 -08:00
Timothy Clem
cc8d71d4cf Use newly released versions of tree-sitter with optimizations 2020-01-14 12:41:53 -08:00
Timothy Clem
8de86acc31 Bring javascript/typescript up-to-speed 2020-01-14 10:12:27 -08:00
Rob Rix
9c4818e827
Perform tagging using traverse1_. 2020-01-13 14:58:09 -05:00
Rob Rix
0a44a569ad
Use GTraversable1 for TypeScript. 2020-01-13 14:23:18 -05:00
Timothy Clem
dfd58dd5c8 Continue to track haskell-tree-sitter optimization work 2020-01-09 14:06:52 -08:00
Timothy Clem
c0309111d8 Targeting latest haskell-tree-sitter 2020-01-07 17:08:35 -08:00
Timothy Clem
52b24e55ec Use vertical style pragmas 2020-01-06 09:30:36 -08:00
Timothy Clem
c1cf16ed03 Handle a couple more function call cases 2019-12-20 09:39:38 -08:00
Timothy Clem
e4bf165276 Add semantic-typescript 2019-12-19 14:32:45 -08:00