1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00
Commit Graph

32806 Commits

Author SHA1 Message Date
Ayman Nadeem
ab6331f800 Language.Ruby.Grammar not TreeSitter.Ruby 2020-01-31 15:01:47 -05:00
Josh Vera
d03f6a95e6
Merge pull request #451 from github/function-scopes
Add Function scopes to semantic-scope-graph
2020-01-31 14:52:14 -05:00
Ayman Nadeem
de4d3e7681 Update Grammar.hs 2020-01-31 14:46:48 -05:00
Ayman Nadeem
abad239511 correct file 2020-01-31 13:58:11 -05:00
Josh Vera
64cc956ed8
Remove declareFunction stub 2020-01-31 13:44:42 -05:00
Patrick Thomson
8e39396025 Merge remote-tracking branch 'origin/master' into the-locative-case 2020-01-31 13:35:05 -05:00
Patrick Thomson
91a1a1720b Fix documentation for Source.Span.Pos.
Fixes #457.
2020-01-31 13:34:12 -05:00
Patrick Thomson
c53416c5f7 Merge fallout. 2020-01-31 13:28:53 -05:00
Patrick Thomson
cd4b13918a Merge remote-tracking branch 'origin/master' into the-locative-case 2020-01-31 13:15:27 -05:00
Patrick Thomson
76ccbc5f00
Merge branch 'master' into function-scopes 2020-01-31 13:15:19 -05:00
Patrick Thomson
45c81efd2c Preserve Python AST span information in scope graph.
- [ ] Depends on #451.
2020-01-31 13:11:59 -05:00
Patrick Thomson
70252f613c
Merge pull request #456 from github/descend-into-the-depths-of-assignment
Enter assignment RHS values during Python scope graphing.
2020-01-31 12:59:12 -05:00
Patrick Thomson
7ceda6c631 Merge fallout. 2020-01-31 12:40:50 -05:00
Patrick Thomson
9cf9c87397 Merge remote-tracking branch 'origin/function-scopes' into the-locative-case 2020-01-31 12:40:19 -05:00
Patrick Thomson
2c71d82636 Enter assignment RHS values during scope graphing.
We were neglecting to enter this RHS. A happy little call to `maybe`
addresses this.
2020-01-31 12:36:16 -05:00
Ayman Nadeem
d1066dc169 Update semantic-java.cabal 2020-01-31 12:19:55 -05:00
Rob Rix
b9207a62e2
Merge pull request #455 from github/everyone-do-the-autogen-dance
Correctly account of the presence of autogen files in build/noopt.
2020-01-31 12:09:26 -05:00
Ayman Nadeem
70c86a1366 Update semantic-tsx.cabal 2020-01-31 11:49:08 -05:00
Patrick Thomson
4058cd7b83 Correctly account of the presence of autogen files in build/noopt.
If you have `optimizations: False` in your cabal.project.local (such
as when you're in a tight build-run-debug cycle for some executable or
test suite), the autogenerated cabal_macros and Paths_ files might not
be present in the `build/` folder; if they aren't, we should look in
`build/noopt`.

This patch appears to address an issue I saw where the cabal macros
were being redefined, but I'm not entirely sure why. :/
2020-01-31 11:33:23 -05:00
Ayman Nadeem
51aa8587e8 add -Wno-missing-deriving-strategies to semantic-json and semantic-java 2020-01-31 11:27:09 -05:00
Ayman Nadeem
aba376a037 add ‘directory’ to the build-depends 2020-01-31 11:06:13 -05:00
Ayman Nadeem
6957d7d624 oops forgot fused-effects 2020-01-31 10:50:55 -05:00
Ayman Nadeem
47737f6475 remove extra bytestring 2020-01-31 10:50:34 -05:00
Ayman Nadeem
09d54aa5ae change base version 2020-01-31 10:40:08 -05:00
Ayman Nadeem
9f6f5cbfc8 bump cabal version 2020-01-31 10:32:35 -05:00
Ayman Nadeem
75389e0a3a add semantic-codegen to script/ghci-flags 2020-01-31 10:27:27 -05:00
Ayman Nadeem
8abc747c46 update docs 2020-01-31 10:25:53 -05:00
Ayman Nadeem
37c759e4da add semantic-codegen to cabal.project.ci 2020-01-31 10:25:41 -05:00
Ayman Nadeem
f96572aa29 add semantic-codegen to cabal.project 2020-01-31 10:25:28 -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
a6cbd07c4c semantic-codegen can not rely on semantic-python 2020-01-30 17:36:19 -05:00
Ayman Nadeem
eab2503e1f remove all codegen dependencies from semantic-ast 2020-01-30 17:36:06 -05:00
Ayman Nadeem
f46e6f0bc5 remove all codegen modules from semantic-ast.cabal 2020-01-30 17:35:51 -05:00
Ayman Nadeem
85f751fc6c Move codegen files into semantic-codegen from semantic-ast 2020-01-30 17:34:31 -05:00
Ayman Nadeem
fd227b869a Update semantic-codegen.cabal 2020-01-30 17:23:00 -05:00
Ayman Nadeem
6238e13d17 Create semantic-codegen 2020-01-30 17:11:12 -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
2d2ba3c819 Update semantic-ast.cabal 2020-01-30 13:45:26 -05:00
Ayman Nadeem
42cfbab4ed Create TH.hs 2020-01-30 13:44:31 -05:00
Ayman Nadeem
5f4d11bdf1 change function name 2020-01-30 13:44:27 -05:00
Ayman Nadeem
9a476cefc1 Fix CI 2020-01-30 13:26:26 -05:00
Ayman Nadeem
5e85e7d786 fix java and json Grammars 2020-01-30 13:18:12 -05:00
Ayman Nadeem
1c8900b195 add tree-sitter-java and tree-sitter-json to cabal file temporarily to try to get through CI 2020-01-30 09:00:01 -05:00
Ayman Nadeem
fc3fdf7632 Merge branch 'master' into my-grate 2020-01-29 17:17:36 -05:00
Patrick Thomson
b5fb41e7e4
Merge pull request #454 from github/past-is-prologue
Remove the Prologue.
2020-01-29 16:58:40 -05:00
Ayman Nadeem
59869619ec Update semantic-json.cabal 2020-01-29 16:55:42 -05:00
Ayman Nadeem
76eb3af0c3 Update semantic-java.cabal 2020-01-29 16:55:40 -05:00
Ayman Nadeem
f2d3b14032 add Java grammar 2020-01-29 15:51:09 -05:00
Ayman Nadeem
699f8c343b add JSON Grammar datatype 2020-01-29 15:44:53 -05:00