1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00
Commit Graph

33190 Commits

Author SHA1 Message Date
Ayman Nadeem
73374ccde8 rewrite prereqs 2020-03-02 13:52:40 -05:00
Ayman Nadeem
a26233cd8a delete temp note 2020-03-02 13:52:29 -05:00
Ayman Nadeem
ef70baa186 Create codegen.md 2020-03-02 13:44:32 -05:00
Ayman Nadeem
9250c786ad Update README.md 2020-03-02 13:44:27 -05:00
Patrick Thomson
f12a4905ad
Merge pull request #503 from github/python-fstrings
Extract precise tags from Python f-strings
2020-02-26 10:18:29 +00:00
Douglas Creager
90c0008e12 Extract precise tags from Python f-strings
Python f-strings can contain embedded expressions:

``` python
def x():
    return 5
f"hello there {x()} people"
```

The precise tagging definitions now traverse into f-strings, and any
interpolations that they contain, so that we can generate tags for any
function calls that appear in them.
2020-02-25 18:16:06 -05:00
Patrick Thomson
29c76135cd
Merge pull request #494 from github/playing-php-tag
Precise PHP tagging
2020-02-21 12:15:17 -05:00
Timothy Clem
eda28f275d
Merge pull request #324 from github/markdone
Temporarily remove Markdown support
2020-02-21 09:12:13 -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
7187283258 Don't mess with this fixture. 2020-02-19 15:59:23 -05:00
Patrick Thomson
056a47ab5a Tag functions, methods, and their calls. 2020-02-19 15:57:42 -05:00
Patrick Thomson
1c8eaa7fbe Dump function definitions. 2020-02-19 14:25:25 -05:00
Patrick Thomson
81b96673bb Institute Language.PHP.Tags. 2020-02-19 14:16:42 -05:00
Patrick Thomson
fc66685d8f Delete these stale submodule references. 2020-02-19 13:31:02 -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
Josh Vera
60d617034e
Merge branch 'master' into markdone 2020-02-19 11:00:47 -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
f41a78eee5 Merge fallout. 2020-02-14 16:42:31 -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
2d3b4b076c Merge remote-tracking branch 'origin/master' into markdone 2020-02-14 14:13:05 -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
Josh Vera
c7c6df0828
Merge branch 'master' into markdone 2020-02-13 14:32:29 -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