1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 08:27:56 +03:00
Commit Graph

176 Commits

Author SHA1 Message Date
Patrick Thomson
b51a27118f add more of the bazel subprojects 2020-06-09 13:52:39 -04:00
Ayman Nadeem
574c315500 fix undef pattern 2020-06-09 11:59:12 -04:00
Ayman Nadeem
0f1b43c871 remove unnecessary pragmas 2020-06-09 11:29:35 -04:00
Ayman Nadeem
f2cf1cadfe Fix Ruby Tags Prj 2020-06-08 15:07:58 -04:00
Ayman Nadeem
6107f56012 Merge branch 'master' into codegen-cleanup 2020-06-08 13:42:45 -04:00
Timothy Clem
2e44d43452 Generate Def/Ref at moment of tagging 2020-06-04 10:39:15 -07:00
Timothy Clem
38a7158b20 Move the rest of the languages over to generated datatypes 2020-06-04 09:53:17 -07:00
Ayman Nadeem
036f0f86a2 fix incomplete patterns for Ruby tags 2020-06-01 18:12:16 -04:00
Patrick Thomson
ca8475057d formatting 2020-05-27 14:18:21 -04:00
Patrick Thomson
215fe31bf1 Use black for formatting Bazel files. 2020-05-21 19:24:56 -04:00
Ayman Nadeem
893d012b0f fix precise tests for Ruby 2020-05-21 14:41:06 -04:00
Patrick Thomson
615fca6f79 re-break Ruby for debugging purposes 2020-05-19 14:55:17 -04:00
Patrick Thomson
48604a9d81 hacky crap to get semantic-ruby working 2020-05-19 13:36:16 -04:00
Ayman Nadeem
825266b8ee don't warn on incomplete patterns 2020-05-18 18:29:56 -04:00
Ayman Nadeem
23df2d5316 Rb.Assignment 2020-05-13 14:34:19 -04:00
Ayman Nadeem
83b3c6a0a0 fix introduceLocals 2020-05-13 12:59:30 -04:00
Ayman Nadeem
684adce47e block paramers 2020-05-13 12:48:34 -04:00
Ayman Nadeem
ca6581f92d add error type to introduce locals 2020-05-13 12:48:22 -04:00
Ayman Nadeem
8adc649148 Rb.OperatorAssignment 2020-05-13 12:15:39 -04:00
Ayman Nadeem
b4fd39a156 update introduceLocals helper function 2020-05-13 11:34:07 -04:00
Ayman Nadeem
3c1782b311 Rb.Undef 2020-05-13 11:33:28 -04:00
Ayman Nadeem
2443b52ee6 Rb.MethodCall 2020-05-13 11:33:22 -04:00
Ayman Nadeem
e2d2ae229d Rb.Until 2020-05-13 11:33:13 -04:00
Ayman Nadeem
9220bb88c5 Rb.While 2020-05-13 11:33:07 -04:00
Ayman Nadeem
7e4d8b2fbb Rb.Unless 2020-05-13 11:32:51 -04:00
Ayman Nadeem
5fb36f4386 Rb.If 2020-05-13 11:32:46 -04:00
Ayman Nadeem
2854bb8e87 Rb.Lambda 2020-05-13 11:32:35 -04:00
Ayman Nadeem
0cc12e3812 Rb.DoBlock 2020-05-13 11:32:27 -04:00
Ayman Nadeem
1f09965e24 update ToTags instance for Rb.SingletonMethod 2020-05-11 16:48:39 -04:00
Ayman Nadeem
d8e48e55f6 update ToTags instance for Rb.Method 2020-05-11 16:47:54 -04:00
Ayman Nadeem
ab3ee6f414 update yieldMethodNameTag helper function with Success 2020-05-11 16:47:31 -04:00
Ayman Nadeem
3041e6165a update ToTags instance for Rb.Module 2020-05-11 15:24:05 -04:00
Ayman Nadeem
07c3ea5434 update ToTags instance for Rb.Class 2020-05-11 15:23:15 -04:00
Ayman Nadeem
8a453586e1 add error to instance for Rb.MethodCall 2020-05-08 17:02:03 -04:00
Ayman Nadeem
5235cc979c add error to Rb.Lhs instance 2020-05-08 16:06:14 -04:00
Ayman Nadeem
3e2baecefa add error to Rb.Class instance 2020-05-08 15:54:07 -04:00
Ayman Nadeem
9b0fc81a7c add error to Rb.SingletonClass 2020-05-08 15:53:50 -04:00
Ayman Nadeem
835d86b7ea add error to Rb.Module instance 2020-05-08 15:52:57 -04:00
Ayman Nadeem
fa6ffe9825 import AST.Parse into Language.Ruby.Tags 2020-05-08 15:35:40 -04:00
Ayman Nadeem
7700575a58 revert Language.LANGUAGE files to original state 2020-05-07 11:42:12 -04:00
Ayman Nadeem
2f6f950edf Merge branch 'master' into codegen-cleanup 2020-04-30 13:14:10 -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
6e1a6bfb68 a Ruby program will now be parameterized by an Err 2020-04-28 13:46:58 -04:00
Ayman Nadeem
bc30355385 add QuantifiedConstraintst to Ruby 2020-04-28 13:46:30 -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
cbe7ab894d Fix Loc for Ruby tags 2020-04-27 13:19:19 -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
a7e9877192 rename Ruby Test to PreciseTest 2020-04-20 11:46:24 -04:00
Patrick Thomson
8d62ad3b91 Merge remote-tracking branch 'origin/master' into codegen-cleanup 2020-04-01 11:05:40 -04: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
b3ed6c37f1 Bring back tree-sitter corpus tests for ruby 2020-02-20 13:47:23 -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
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