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

31830 Commits

Author SHA1 Message Date
Patrick Thomson
f75980eb7f write another nice little helper 2020-01-13 16:58:20 -05:00
Patrick Thomson
f10cd258cb figured out how to share the SingleIdentifier pattern synonym. 2020-01-13 16:46:46 -05:00
Patrick Thomson
694306c106 it helps to parse the right file 🤦 2020-01-13 15:06:15 -05:00
Patrick Thomson
b8d2dcb30d fix merge fallout 2020-01-13 14:41:26 -05:00
Patrick Thomson
711d240a61 pull in some pattern synonyms 2020-01-13 14:40:17 -05:00
Patrick Thomson
3d9be6a5d2 stop relying on side effects 2020-01-13 14:40:17 -05:00
joshvera
3e80585199 add assignment instances 2020-01-13 14:35:36 -05:00
Patrick Thomson
2fbd4be90c Add semantic-scope-graph to ghci-flags 2020-01-13 14:06:49 -05:00
Patrick Thomson
c92a6f9a72 Make declare return the current scopegraph state. 2020-01-13 14:06:23 -05:00
Patrick Thomson
f1bdfcd86e Move ToScopeGraph into its own module to break a cycle. 2020-01-13 14:05:31 -05:00
Patrick Thomson
1f93cc02ff okay, now we just need to define Assignment 2020-01-13 12:43:57 -05:00
Patrick Thomson
92aa4bbd0b even more instances 2020-01-13 12:36:42 -05:00
Patrick Thomson
cc37a0c460 even more instances, and build onChildren helper 2020-01-13 12:26:02 -05:00
Patrick Thomson
79def2cb04 even more instances 2020-01-13 11:37:56 -05:00
Patrick Thomson
f7c27f8857 start defining some instances 2020-01-13 10:48:49 -05:00
Patrick Thomson
24053a1477 Sample definition for module stuff. Now to write some Generics code. 2020-01-13 10:33:29 -05:00
Patrick Thomson
bb01a368fb This reverts commit e7df755bb6. 2020-01-13 10:08:07 -05:00
Patrick Thomson
e7df755bb6 let's use pathtype. 2020-01-10 19:24:24 -05:00
Patrick Thomson
524fbba3ad move the Sketch effect into semantic-scope-graph 2020-01-10 18:48:40 -05:00
Patrick Thomson
4ac7d184f4 extract this function 2020-01-10 18:40:07 -05:00
Patrick Thomson
61f8f2e8ba This is nicer with proper use of Monoid and Semigroup. 2020-01-10 18:31:38 -05:00
Patrick Thomson
f9aadbb895 Scope graphing DSL works. 2020-01-10 17:46:37 -05:00
Patrick Thomson
da58e5c69c start creating sketch effect 2020-01-10 15:14:05 -05:00
Patrick Thomson
1906e7b1bb build a DSL for constructing graphs 2020-01-10 12:22:13 -05:00
Patrick Thomson
7fc6d08bf6 Implement Graph.Class for ScopeGraph 2020-01-08 16:58:38 -05:00
joshvera
1a94c25d32 Print out a scope graph
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:25:43 -05:00
joshvera
6ff8abbe41 spit out a python tree
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:13:48 -05:00
joshvera
2ec9dc5595 Replace Graph with unlabeled graph
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:02:53 -05:00
joshvera
d9a51bef2d Add a semantic-python stub executable
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:51:37 -05:00
joshvera
3ec51a53f5 Simplify typeclasses
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:51:25 -05:00
joshvera
0c041b5fd8 Remove circular dependency
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:37:37 -05:00
joshvera
4ba5989776 Add a ToScopeGraph interface in semantic-python 2020-01-08 12:29:17 -05:00
Patrick Thomson
1eabf451e0 First haphazard attempt at doing scope graphing. 2020-01-07 13:10:58 -05:00
joshvera
eaeb5b6219 stub out a scope graph effect 2020-01-06 18:12:42 -05:00
joshvera
f5e919ed2b stub in scopegraph project 2020-01-06 17:49:43 -05:00
Timothy Clem
9cd8717cc2
Merge pull request #414 from github/more-precise-parsing
More precise parsing
2020-01-06 13:38:35 -08:00
Timothy Clem
52b24e55ec Use vertical style pragmas 2020-01-06 09:30:36 -08:00
Timothy Clem
87954ae399 Some record puns 2020-01-06 09:23:19 -08:00
Timothy Clem
03ae167523 This toggle with ts halt on error 2019-12-20 11:07:24 -08:00
Timothy Clem
250ede0eec Corpus test updates from changing assignment 2019-12-20 10:47:42 -08:00
Timothy Clem
4a6185eea0 Test all of the examples 2019-12-20 09:40:00 -08:00
Timothy Clem
c1cf16ed03 Handle a couple more function call cases 2019-12-20 09:39:38 -08:00
Timothy Clem
13c49ee0a4 Clean up language mode flags 2019-12-19 15:36:04 -08:00
Timothy Clem
b2ef8e9fe1 Add semantic-tsx 2019-12-19 15:34:39 -08:00
Timothy Clem
e4bf165276 Add semantic-typescript 2019-12-19 14:32:45 -08:00
Timothy Clem
d6311fc79b Put the other languages back in 2019-12-19 11:30:10 -08:00
Timothy Clem
06dcfbe86c Need to be able to skip dirs in go too 2019-12-19 11:15:48 -08:00
Timothy Clem
6797054142 Couple more things to ignore 2019-12-18 14:29:01 -08:00
Timothy Clem
a20e38fe1d Cleanup 2019-12-18 14:28:51 -08:00
Timothy Clem
859675ee84 ParenthesizedExpression allowed here 2019-12-18 14:28:48 -08:00