1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00
Commit Graph

33229 Commits

Author SHA1 Message Date
Rick Winfrey
ecf33c1ebe Perserve order of Language constructors and add CodeQL to end
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-23 13:07:42 -07:00
Rick Winfrey
297932bf4b Make semantic-source version 0.1.0.0
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-23 13:05:36 -07:00
Rick Winfrey
78e94e37f7 Remove Lower instances for Span and Pos 2020-03-20 14:58:21 -07:00
Rick Winfrey
d0fca24ef5 Add CodeQL; bump semantic-source 2020-03-20 14:26:42 -07:00
Patrick Thomson
d4e6951e16
Merge pull request #517 from github/more-js-function-tagging
Detect and tag functions in variable_declarators
2020-03-16 09:10:04 -04:00
Timothy Clem
f404eb9a03 Detect and tag functions in variable_declarators 2020-03-13 14:52:45 -07:00
Patrick Thomson
6e18f2531d
Merge pull request #515 from github/this-carrier-is-in-time-out
Remove Timeout carrier and implement it with liftWith.
2020-03-13 16:25:56 -04:00
Patrick Thomson
9392ead7c2
Typo. 2020-03-12 10:05:43 -04:00
Patrick Thomson
8a19a928a4 Fix Lift IO constraints and use typed durations. 2020-03-11 20:17:53 -04:00
Patrick Thomson
5691a361c8 Rename the file. 2020-03-11 20:14:16 -04:00
Patrick Thomson
4905692221 Don't mention this carrier. 2020-03-11 20:11:06 -04:00
Patrick Thomson
85b7beb2e2 Remove Timeout carrier and implement it with liftWith.
This carrier is no longer necessary, because we can perform the needed
lifting and state manipulation with `liftWith`.
2020-03-11 20:07:55 -04:00
Patrick Thomson
124b45d36d
Merge pull request #514 from github/span-lazily
Make the Span field of a file lazy.
2020-03-11 20:07:30 -04:00
Patrick Thomson
00124fe9b4 Make the Span field of a file lazy.
Computing the full span of a file with a large (100,000+ line) file
can be very computationally intensive. Switching to a lazy field means
that we don't pay that cost unless we need to.

Big hattip to @tclem for triaging this issue.
2020-03-11 17:29:47 -04:00
Timothy Clem
6636264f56
Merge pull request #512 from github/iterate-on-stack-graph-proto
Iterate on stack graph proto schema
2020-03-05 15:38:41 -08:00
Timothy Clem
d98600e679 Fix naming 2020-03-05 14:00:38 -08:00
Timothy Clem
e7051f090d Model out node type in stack graphs a bit more completely 2020-03-05 13:21:06 -08:00
Timothy Clem
4b8dbd6593 repl fix 2020-03-05 13:20:40 -08:00
Timothy Clem
dbc5d99350 Ending scope stack as a list of ints 2020-03-05 11:30:40 -08:00
Timothy Clem
a09b34de5f
Merge pull request #497 from github/incremental-sg-api
Introduce the beginning of the scope graph API
2020-03-05 09:49:12 -08:00
Timothy Clem
5923c38fbf New extensions 2020-03-05 08:33:28 -08:00
Timothy Clem
677d77afd9 Use repeated strings to represents these stacks in protobufs 2020-03-04 14:33:02 -08:00
Timothy Clem
115b5c781c Renaming based on feedback 2020-03-04 13:48:32 -08:00
Ayman Nadeem
8745cf88c5
Merge pull request #506 from github/update-codegen-docs
Update codegen docs
2020-03-02 17:39:16 -05:00
Ayman Nadeem
a60e8798ee Update codegen.md 2020-03-02 17:12:13 -05:00
Ayman Nadeem
8c2e618d21 Update codegen.md 2020-03-02 16:57:37 -05:00
Ayman Nadeem
d39c22a5aa Update semantic-ast.cabal 2020-03-02 16:57:33 -05:00
Ayman Nadeem
b6c745be07 Update codegen.md 2020-03-02 14:21:33 -05:00
Ayman Nadeem
de8468338d Update codegen.md 2020-03-02 14:04:57 -05:00
Timothy Clem
179e8b1c6e
Merge pull request #505 from github/double-java
Remove duplicate java entry in readme
2020-03-02 10:52:43 -08:00
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
Timothy Clem
8154ca193f
Fix readme 2020-03-02 10:28:27 -08: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
Timothy Clem
688d3e80bb Name this something else for now 2020-02-21 13:44:28 -08:00
Timothy Clem
25eb68734b Work out api converting 2020-02-21 13:04:50 -08:00
Timothy Clem
391d0151e6 Clean up import list 2020-02-21 09:24:28 -08: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
cf68a4ce5b Merge remote-tracking branch 'origin/master' into incremental-sg-api 2020-02-21 09:14:25 -08: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
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