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

33009 Commits

Author SHA1 Message Date
joshvera
a47186f38d add a base case for importEdge 2020-02-05 21:06:58 -05:00
joshvera
66ee2cf54d use addImportHole internally 2020-02-05 21:04:03 -05:00
joshvera
34186bced7 Remove sketches 2020-02-05 21:00:11 -05:00
joshvera
596ac8da54 Label the edge to the import instead of the last hole 2020-02-05 20:44:04 -05:00
joshvera
d8bad61c1f fix tests 2020-02-05 19:52:47 -05:00
joshvera
b8eaf61863 Rename effect to ScopeGraph 2020-02-05 19:49:50 -05:00
joshvera
5044f41e41 lookupReference docs 2020-02-05 19:49:39 -05:00
joshvera
c3c707cd6a Lookup scopes while adding import edges
otherwise create intermediate scopes
2020-02-05 19:49:32 -05:00
joshvera
d023a5e007 Set the last import hole label to Void 2020-02-05 19:48:19 -05:00
joshvera
0c4e86cb11 Call insertEdge in expectedImportHole 2020-02-05 19:47:24 -05:00
joshvera
f927f0b8c0 Rename Sketch effect to a ScopeGraph effect 2020-02-05 19:46:58 -05:00
joshvera
8e65043578 insertEdge now takes a target scope's name 2020-02-05 19:46:08 -05:00
Patrick Thomson
c971f0bb6e
Merge pull request #463 from github/hands-on-my-property
Move DeclProperties and FunProperties record types to their own modules.
2020-02-05 19:36:27 -05:00
joshvera
2413590790 add addImportEdge and addImportHole 2020-02-05 18:35:44 -05:00
joshvera
b95a575ae2 Change insertEdge to take 1 edge 2020-02-05 18:03:53 -05:00
Patrick Thomson
9cfa5726d2 Bust the cache again. 2020-02-05 18:01:35 -05:00
Patrick Thomson
2384236e30 Merge remote-tracking branch 'origin/master' into hands-on-my-property 2020-02-05 17:55:06 -05:00
Patrick Thomson
bf056d0a06
Merge pull request #466 from github/zero-coolest
Remove Lower instances for Span and Pos.
2020-02-05 12:58:05 -05:00
Patrick Thomson
e4f58a7827 Merge remote-tracking branch 'origin/master' into hands-on-my-property 2020-02-05 10:48:37 -05:00
Patrick Thomson
622b40b62b Merge remote-tracking branch 'origin/master' into zero-coolest 2020-02-04 23:30:54 -05:00
Patrick Thomson
147245d03e
Merge pull request #458 from github/the-locative-case
Preserve Python AST span information in scope graph.
2020-02-04 23:30:16 -05:00
Patrick Thomson
4da8b83975
Merge pull request #469 from github/traversty
Traversable1 instances for AST datatypes
2020-02-04 23:16:13 -05:00
Patrick Thomson
65e661552b Silence REPL macro-redefined warnings from the C compiler.
In certain cases, use of the REPL can land us in a state where there
are multiple `cabal_macros.h` files being included, leading to
duplicate macro definitions. This does not factor into correctness,
as these duplicates are, well, duplicate definitions, but the warning
is tedious, so this patch passes `-Wno-macro-redefined` to the C compiler.
2020-02-04 18:31:03 -05:00
Patrick Thomson
346fa621ec Merge remote-tracking branch 'origin/master' into the-locative-case 2020-02-04 18:28:35 -05:00
Patrick Thomson
228f2d54c1 Codegen now depends on ast. 2020-02-04 18:27:34 -05:00
Patrick Thomson
fa90f502f3 Merge remote-tracking branch 'origin/master' into traversty 2020-02-04 18:26:19 -05:00
Patrick Thomson
2e931b769a
Merge pull request #467 from github/orphan-no-longer
Bump fused-effects version and remove orphan instance.
2020-02-04 18:24:07 -05:00
Ayman Nadeem
ff7e83cc2f remove semantic-codegen from semantic.cabal 2020-02-04 17:38:10 -05:00
Ayman Nadeem
602ac29afd remove semantic-codegen from everywhere in the project 2020-02-04 17:37:09 -05:00
Ayman Nadeem
602642169b move docs to semantic-ast 2020-02-04 17:36:29 -05:00
Ayman Nadeem
76cccdc917 🔥semantic-codegen 2020-02-04 17:36:05 -05:00
Ayman Nadeem
15c91a50f2 Update semantic-ast.cabal 2020-02-04 17:31:48 -05:00
Ayman Nadeem
fc27cf0dbe update semantic-ast.cabal with codegen files 2020-02-04 17:26:38 -05:00
Ayman Nadeem
0324f94381 move WIP helpers from semantic-codegen to semantic-ast 2020-02-04 17:26:26 -05:00
Ayman Nadeem
22a15a7b2f move AST.Grammar.TH to semantic-ast from semantic-codegen 2020-02-04 17:26:02 -05:00
Ayman Nadeem
1d643c5b98 move AST.Examples to semantic-ast from semantic-codegen 2020-02-04 17:25:37 -05:00
Ayman Nadeem
35c04464fc move AST.Unmarshal to semantic-ast from semantic-codegen 2020-02-04 17:25:06 -05:00
Ayman Nadeem
8ad6585ad2 move AST.Token to semantic-ast from semantic-codegen 2020-02-04 17:24:20 -05:00
Ayman Nadeem
034d2836d7 move AST.GenerateSyntax to semantic-ast from semantic-codegen 2020-02-04 17:23:58 -05:00
Ayman Nadeem
f5eeb93813 move AST.Deserialize to semantic-ast from semantic-codegen 2020-02-04 17:23:33 -05:00
Ayman Nadeem
52e595cd25 Merge branch 'traversty' into codegen-migration-leftovers 2020-02-04 17:01:29 -05:00
Ayman Nadeem
df780e1fd7 rename Helper to Helpers 2020-02-04 16:39:47 -05:00
Ayman Nadeem
670d4e9703 Remove Language.JSON.Grammar from semantic-json.cabal 2020-02-04 16:38:01 -05:00
Ayman Nadeem
bdd37a35da Delete Language.JSON.Grammar 2020-02-04 16:37:22 -05:00
Ayman Nadeem
2172c9b37e use getNodeTypesPath for Java 2020-02-04 16:31:14 -05:00
Ayman Nadeem
21d9ba3ae1 use getNodeTypesPath for Go 2020-02-04 16:30:04 -05:00
Ayman Nadeem
ac12aeb1aa use getNodeTypesPath in Ruby 2020-02-04 16:29:14 -05:00
Ayman Nadeem
39822f5685 use getNodeTypesPath for TypeScript 2020-02-04 16:27:26 -05:00
Ayman Nadeem
6f075a1f8f Update AST.hs 2020-02-04 16:25:57 -05:00
Ayman Nadeem
c9b8b4b5f2 use tree_sitter_json from TreeSitter.JSON instead of Language.JSON.Grammar 2020-02-04 16:24:02 -05:00