1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 20:31:55 +03:00
Commit Graph

31842 Commits

Author SHA1 Message Date
Patrick Thomson
c8989c323a move this to an actual unit test 2020-01-14 14:48:58 -05:00
Patrick Thomson
90ca2c8b3f it works! 2020-01-14 14:44:08 -05:00
Patrick Thomson
e9247ab8a8 Make declare actually do something… in theory. 2020-01-14 14:19:57 -05:00
Patrick Thomson
2389535736 semantic builds 2020-01-14 12:09:45 -05:00
Patrick Thomson
56145869a4 make semantic-python build 2020-01-14 11:48:39 -05:00
Patrick Thomson
ba8b5b05a9 Warnings 2020-01-14 11:44:05 -05:00
Patrick Thomson
353311e210 Remove old graph manipulation code 2020-01-14 11:43:28 -05:00
Patrick Thomson
8af6beeaa1 more reorgs and churn 2020-01-14 11:40:03 -05:00
Patrick Thomson
3b1f22c311 moving around Hole and Name 2020-01-14 11:18:58 -05:00
Patrick Thomson
8d3165c77d start porting and renaming 2020-01-14 11:15:55 -05:00
Patrick Thomson
2e1fcedf26 Stylish. 2020-01-14 11:13:28 -05:00
Patrick Thomson
96a5bf11c6 start moving ScopeGraph to its own project 2020-01-14 11:13:00 -05:00
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