1
1
mirror of https://github.com/github/semantic.git synced 2024-12-03 00:16:52 +03:00
Commit Graph

33129 Commits

Author SHA1 Message Date
Timothy Clem
7e08e9a9dd Stub out parse to scope graph api 2020-02-21 09:05:08 -08:00
Timothy Clem
2b8850484f Merge remote-tracking branch 'origin/master' into incremental-sg-api 2020-02-21 08:26:14 -08:00
Timothy Clem
4dd1e41470
Merge pull request #495 from github/fix-test-builds
Fix builds for semantic-* tests
2020-02-20 15:07:21 -08:00
Timothy Clem
797805cbcb Turn on all this tests in CI 2020-02-20 14:22:32 -08:00
Timothy Clem
a135e88791 Bring back tree-sitter corpus for tsx and typescript 2020-02-20 14:22:24 -08:00
Timothy Clem
b3ed6c37f1 Bring back tree-sitter corpus tests for ruby 2020-02-20 13:47:23 -08:00
Timothy Clem
f9845be5d8 Bring back tree-sitter corpus tests for python 2020-02-20 13:47:06 -08:00
Timothy Clem
d358ff311e php cleanup 2020-02-20 13:46:53 -08:00
Timothy Clem
a5b2e9922a Bring back tree-sitter corpus tests for json 2020-02-20 13:46:47 -08:00
Timothy Clem
b5a47e30bc Bring back tree-sitter corpus tests for java 2020-02-20 13:46:36 -08:00
Timothy Clem
68bc0f68d5 Bring back tree-sitter corpus tests for go 2020-02-20 10:38:52 -08:00
Timothy Clem
4566a59f42 No real bootstrapping todo anymore 2020-02-20 10:38:22 -08: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
d266a22408
Merge pull request #493 from github/haddoctor
Fix Haddock generation.
2020-02-19 16:27:50 -05:00
Patrick Thomson
467d6f0b03 Fix Haddock generation.
I found myself wanting a Haddock docset for PHP tags work.
Unfortunately, haddocset is behind a GHC version, so it does not
function correctly. At least HTML works, when you pull these
few Haddock-tag changes in.
2020-02-19 13:24:51 -05:00
Patrick Thomson
59be0e0025
Merge pull request #492 from github/respect-this-failure
Ensure that the failParsingForTesting flag is always respected.
2020-02-19 08:34:11 -05:00
Patrick Thomson
450f274490 Ensure that the failParsingForTesting flag is always respected.
The `runAssignment` code path makes sure to check that the
`failParsingForTesting` flag is set and throwing an error if
so; this patch ensures that the check happens on every code path.

I chose not to change the `runAssignment` code path to use this new
executeParserAction function, since that whole spiel is going away.
2020-02-18 15:21:47 -05:00
Patrick Thomson
81aa69e13b
Merge pull request #487 from github/super-modules
Remove submodules now that parsers provide grammars themselves.
2020-02-14 14:59:10 -05:00
Patrick Thomson
ea641ab602 Stray imports. 2020-02-14 14:19:32 -05:00
Patrick Thomson
37b391b3a4
Merge pull request #468 from github/codegen-migration-leftovers
Codegen migration leftovers
2020-02-14 13:33:45 -05:00
Patrick Thomson
e45bb13fb1 Remove submodules now that parsers provide grammars themselves. 2020-02-14 13:25:37 -05:00
Patrick Thomson
29739363c3 Institute precise PHP parsing. 2020-02-14 13:19:42 -05:00
Patrick Thomson
c3279290ae Merge remote-tracking branch 'origin/master' into codegen-migration-leftovers 2020-02-14 13:03:32 -05:00
Patrick Thomson
26d3f221ee Parse PHP in a precise manner now that its assignment is disabled. 2020-02-14 12:54:23 -05:00
Patrick Thomson
5886af5e15
Merge pull request #479 from github/a-newtype-of-science
Use CurrentScope to indicate the significance of Names.
2020-02-14 12:22:58 -05:00
Patrick Thomson
dd9d4f435f Forgot to use this newtype in the carrier. 2020-02-14 12:01:30 -05:00
Patrick Thomson
24b8fbd870 fix tests, again 2020-02-14 11:42:12 -05:00
Patrick Thomson
7a5fc45b32 fix the tests 2020-02-13 18:29:35 -05:00
Patrick Thomson
54911616a6 These explicit CurrentScope constructors help readability. 2020-02-13 18:02:46 -05:00
Patrick Thomson
c3ce8a7624 Merge remote-tracking branch 'origin/master' into a-newtype-of-science 2020-02-13 17:58:04 -05:00
Ayman Nadeem
75bbed48f5 Update semantic-json.cabal 2020-02-13 13:47:26 -05:00
Ayman Nadeem
08860756b8 we're not quite ready to part ways with this just yet 2020-02-13 13:05:13 -05:00
Josh Vera
3b67dd3b33
Merge branch 'inject-project' into a-newtype-of-science 2020-02-13 12:45:52 -05:00
Josh Vera
ff6e145fbb
Merge pull request #478 from github/inject-project
Propagate module/path information into generated scope graphs.
2020-02-13 12:44:55 -05:00
Ayman Nadeem
06a16c2c91 remove phpParser from Semantic.Graph 2020-02-13 12:38:53 -05:00
Ayman Nadeem
14cb1b5bf0 Update Parser.hs 2020-02-13 12:15:17 -05:00
Patrick Thomson
7043a5b560
Merge pull request #437 from github/precise-parsing-by-default
Precise parsing by default
2020-02-13 12:05:35 -05:00
Ayman Nadeem
6dd0c785ee remove remnants of PHP from Parsing.Parser 2020-02-13 11:43:41 -05:00
Ayman Nadeem
ff48764ad9 extract import of Language.PHP.Assignment 2020-02-13 10:58:35 -05:00
Ayman Nadeem
82c51e1a12 Update .hlint.yaml 2020-02-13 10:28:57 -05:00
Ayman Nadeem
973fcd230b fix redundant import of Token by importing instances alone 2020-02-13 10:26:00 -05:00
Patrick Thomson
f75fff62ef Lost this import. 2020-02-13 00:06:18 -05:00
Patrick Thomson
f278647d37 disable this test 2020-02-12 23:50:16 -05:00
Patrick Thomson
764e172b98 Merge remote-tracking branch 'origin/master' into precise-parsing-by-default 2020-02-12 19:17:09 -05:00
Ayman Nadeem
8f3668aa1a fix copy pasta 2020-02-12 18:23:24 -05:00
Timothy Clem
d8e5384704 Sketch out basic scope graph data schema 2020-02-12 15:14:46 -08:00
Timothy Clem
04a74a2813 Get protoc working again 2020-02-12 15:00:28 -08:00
Ayman Nadeem
05760f6d11 Program is PHP's top-level rule 2020-02-12 16:44:07 -05:00
Ayman Nadeem
b2148607c4 disambiguate Integer and Float 2020-02-12 14:19:52 -05:00