1
1
mirror of https://github.com/github/semantic.git synced 2024-12-02 11:23:05 +03:00
Commit Graph

123 Commits

Author SHA1 Message Date
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
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
1cf4191d1d import getNodeTypesPath, tree_sitter_tsx for Ruby 2020-02-08 08:18:13 -05:00
Ayman Nadeem
d95ec56df6 import Language.Haskell.TH.Syntax (runIO) for Ruby 2020-02-08 08:11:56 -05:00
Ayman Nadeem
8083e4644f Update Parsing.hs 2020-02-07 20:01:21 -05:00
Ayman Nadeem
d770f48d34 Update Main.hs 2020-02-07 20:01:19 -05:00
Ayman Nadeem
7e8f319445 Update semantic-ruby.cabal 2020-02-07 19:17:10 -05:00
Ayman Nadeem
8cf82f617e Update semantic-ruby.cabal 2020-02-07 19:05:48 -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
96732a7cff Update Test.hs 2020-02-06 16:30:39 -05:00
Ayman Nadeem
e6adbf910f Update semantic-ruby.cabal 2020-02-06 15:42:56 -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
ac12aeb1aa use getNodeTypesPath in Ruby 2020-02-04 16:29:14 -05:00
Rob Rix
790431ac74
Tagging uses Traversable1 instead of GTraversable1. 2020-02-04 13:56:19 -05:00
Rob Rix
16c2e867e8
Newlines at EOF. 2020-02-04 13:55:52 -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
36c1e8385e add test-suite to semantic-ruby 2020-02-04 12:34:29 -05:00
Ayman Nadeem
9cd707a4ee move corpus tests from tree-sitter-ruby to semantic-ruby 2020-02-04 12:33:52 -05:00
Ayman Nadeem
dd3b686d7c alphabetize 2020-02-03 16:17:59 -05:00
Ayman Nadeem
ab6331f800 Language.Ruby.Grammar not TreeSitter.Ruby 2020-01-31 15:01:47 -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
a515410edc correctly nest file structure for python 2020-01-28 16:20:43 -05:00
Ayman Nadeem
6e5d372947 add ruby grammar 2020-01-28 16:10:55 -05:00
Patrick Thomson
9ecaeedcc3 Depend on newer semantic-source. 2020-01-28 12:42:42 -05:00
Ayman Nadeem
82f3259c3d Update Ruby dependencies to reference AST.* instead of TreeSitter.* 2020-01-28 12:04:01 -05:00
Ayman Nadeem
d553f46586 Replace TreeSitter.Ruby.AST with Language.Ruby.AST 2020-01-27 15:59:03 -05:00
Ayman Nadeem
38989b98c4 add ../ to Language.Ruby.AST 2020-01-27 15:57:02 -05:00
Ayman Nadeem
ae7021efd4 create submodule for ruby AST 2020-01-27 15:56:25 -05:00
Ayman Nadeem
c448e0f0d9 add contents to Language.Ruby.AST 2020-01-27 15:50:51 -05:00
Ayman Nadeem
c297d2c8a5 Update semantic-ruby.cabal 2020-01-27 15:49:20 -05:00
Ayman Nadeem
e626d0f51b create Language.Ruby.AST 2020-01-27 15:49:18 -05:00
Timothy Clem
9939372693 Classify ruby methods as methods 2020-01-21 12:33:10 -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
876063ebc2
Merge remote-tracking branch 'origin/precise-alacarte-matching' into non-overlapping-to-tags-instances 2020-01-15 13:50:38 -05:00
Timothy Clem
6c773b546f Adjust some of the source lines produced for Ruby 2020-01-15 09:26:05 -08:00
Rob Rix
9ee8f247ac
Silence hlint. 2020-01-15 11:05:10 -05:00
Rob Rix
db2d9badfb
Placate hlint. 2020-01-15 11:04:04 -05:00
Rob Rix
f3a0fe40c5
Explicitly list all the instances for Ruby.Tags.ToTags. 2020-01-15 10:48:32 -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
164cb506ea Stub out better slicing of source line 2020-01-14 12:37:12 -08:00
Timothy Clem
1125cb6ce2 undef and alias range fixes 2020-01-14 12:36:23 -08:00
Rob Rix
9c4818e827
Perform tagging using traverse1_. 2020-01-13 14:58:09 -05:00
Rob Rix
1da4260cd7
Use GTraversable1 for Ruby. 2020-01-13 14:24:17 -05:00
Timothy Clem
aee1dcfe34 Fold calls into parent syntax to get spans right 2020-01-13 10:49:25 -08:00
Timothy Clem
d0450d2c4a Ignore tags in regexes and subshells for now 2020-01-10 15:24:41 -08:00
Timothy Clem
bc13ecac13 Track locals in operator assignment 2020-01-10 15:24:26 -08:00
Timothy Clem
aca2106862 Order we traverse matters due to tracking locals 2020-01-10 15:24:14 -08:00
Timothy Clem
99e9ee08aa Fix assignment double tagging 2020-01-10 14:05:30 -08:00
Timothy Clem
9f6da4eb47 Don't double tags with recursive intro locals 2020-01-10 14:02:46 -08:00
Timothy Clem
b192709c9e Updated notes 2020-01-10 14:01:54 -08:00
Timothy Clem
b05047c53f Blacklist __LINE__ to match assignment 2020-01-10 14:01:41 -08: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
446da6b2fb Use the required newer tree-sitter packages 2019-12-18 10:26:32 -08:00
Timothy Clem
1393d691f7 ghc 8.8 fixes 2019-12-18 10:15:43 -08:00
Timothy Clem
f82215ccc8 ScopeResolution all over the place 2019-12-17 16:05:29 -08:00
Timothy Clem
b3d941cb48 Alias and Undef 2019-12-17 16:05:01 -08:00
Timothy Clem
c5592bce54 Add a few more terms for tagging 2019-12-17 14:12:24 -08:00
Timothy Clem
edcbc58111 Use state to track locals
Co-Authored-By: Rob Rix <robrix@github.com>
2019-12-17 14:12:04 -08:00
Timothy Clem
be0a9797a3 Continue to iterate on ruby 2019-12-16 15:11:37 -08:00
Timothy Clem
7481e626ed Add semantic-ruby 2019-12-16 13:56:34 -08:00