Rick Winfrey
7df556216e
Rename QL to CodeQL
2020-03-19 13:33:36 -07:00
Rick Winfrey
a4652630cd
Add additional tree-sitter-ql dep to semantic.cabal; add QL to list of code nav languages
2020-03-04 18:30:55 -08:00
Rick Winfrey
cada2b7159
Make CI aware of semantic-ql local package
2020-03-04 17:52:28 -08:00
Rick Winfrey
ebbeb86aa0
Bump tree-sitter-ql package to use updated test/corpus path
2020-03-04 17:43:43 -08:00
Rick Winfrey
92f0252d65
Define ToTag instances
2020-03-04 17:08:47 -08:00
Rick Winfrey
09f004cf01
Add test suite to semantic-ql
2020-03-04 17:08:15 -08:00
Rick Winfrey
be69283bdd
Export getTestCorpusDir
2020-03-04 17:08:04 -08:00
Rick Winfrey
b67611ba3f
Top level node is Ql for tests
2020-03-04 17:07:48 -08:00
Rick Winfrey
c4280a7c33
Don't need this test
2020-03-04 17:07:34 -08:00
Rick Winfrey
5f6ca948c8
Remove tree-sitter-ql from semantic project.cabal
2020-03-04 17:07:24 -08:00
Rick Winfrey
5ee9307661
Remove tree-sitter-ql copy
2020-03-04 09:08:00 -08:00
Rick Winfrey
df4ffa8691
Update semantic-ql to use tree-sitter-ql package from hackage
2020-03-04 09:04:02 -08:00
Rick Winfrey
b54c022b28
Remove vendored tree-sitter-ql submodule
2020-03-04 09:03:25 -08:00
Rick Winfrey
f10d633e46
Add QL parser and precise mode
2020-03-02 11:19:38 -08:00
Rick Winfrey
4e2b7f8455
Temporarily vendor tree-sitter-ql
directly into semantic
2020-03-02 11:18:54 -08:00
Rick Winfrey
e4ffc9d2f6
Add semantic-ql
2020-03-02 11:18:21 -08:00
Rick Winfrey
eb2bbb14ae
Revert "Merge pull request #466 from github/zero-coolest"
...
This reverts commit bf056d0a06
, reversing
changes made to 147245d03e
.
2020-02-27 16:32:21 +00: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