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

21254 Commits

Author SHA1 Message Date
Rob Rix
97775268e6 Fix up some imports. 2018-05-04 18:41:23 -04:00
Rob Rix
57bfb04409 Deal with the fallout in Located. 2018-05-04 18:41:10 -04:00
Rob Rix
488ef67c26 Deal with the fallout of Evaluator changes in Value. 2018-05-04 18:40:59 -04:00
Rob Rix
af7d178183 Deal with the fallout of Evaluator changes in Addressable. 2018-05-04 18:40:44 -04:00
Rob Rix
9cd92dd310 Rephrase ImportGraphing as graphingTerms, graphingModules, and importGraphing handlers. 2018-05-04 18:40:22 -04:00
Rob Rix
8a8bfc05a3 Rephrase BadVariables as a resumingBadVariables handler. 2018-05-04 18:40:07 -04:00
Rob Rix
b5c2cd6282 Rephrase BadValues as a resumingBadValues handler. 2018-05-04 18:39:54 -04:00
Rob Rix
fefe5bf671 Rephrase BadSyntax as a resumingBadSyntax handler. 2018-05-04 18:39:41 -04:00
Rob Rix
3fba25f491 Rephrase BadModuleResolutions as a resumingBadModuleResolutions handler. 2018-05-04 18:39:30 -04:00
Rob Rix
c16263ee28 Rephrase BadAddresses as a resumingBadAddresses handler. 2018-05-04 18:39:14 -04:00
Rob Rix
c7462b2de3 Rephrase Evaluating as providingCurrentTerm, providingCurrentModule, and evaluating handlers. 2018-05-04 18:38:59 -04:00
Rob Rix
6707b51627 Evaluator is a newtype. 2018-05-04 18:38:24 -04:00
Rob Rix
6972847818 Rephrase erroring as a simple handler. 2018-05-04 18:37:56 -04:00
Rob Rix
93895186cf Imagine there’s no MonadAnalysis.
It’s easy if you try.
2018-05-04 18:37:37 -04:00
Rob Rix
bc7b639b11 Add a helper lifting handlers over subterm algebras. 2018-05-04 16:18:44 -04:00
Rob Rix
40af10cf39 Dedent some comments. 2018-05-04 12:31:06 -04:00
Rob Rix
0a6decad08 Make BadAddresses consistent with the other analyses. 2018-05-04 11:55:33 -04:00
Rob Rix
b55e7aa2c2 Make BadValues consistent with the other analyses. 2018-05-04 11:54:51 -04:00
Rob Rix
0d9002b6d7 Make BadModuleResolutions consistent with the other analyses. 2018-05-04 11:54:32 -04:00
Rob Rix
2e468c5836 Re-export a bunch of effects from Evaluator. 2018-05-04 11:23:35 -04:00
Rob Rix
4108302aed Split MonadAnalysis into AnalyzeModule & AnalyzeTerm classes. 2018-05-04 11:19:36 -04:00
Rob Rix
da833e9ac7 Constrain evaluateModule. 2018-05-04 11:16:43 -04:00
Rob Rix
e155f74e20 Put a few constraints back in MonadEvaluatable. 2018-05-04 11:16:02 -04:00
Rob Rix
4050d96628 Eta-reduce handleReturn. 2018-05-03 15:30:19 -04:00
Rob Rix
ce206dd4e2 Correct the references to relay. 2018-05-03 15:29:48 -04:00
Rob Rix
0e9da643d9 Define a handler for EvalModule effects. 2018-05-03 15:18:56 -04:00
Rob Rix
ff39183283 Define a handler for EvalClosure effects. 2018-05-03 15:18:48 -04:00
Rob Rix
cff909a595 Re-export Reader & State. 2018-05-03 13:58:43 -04:00
Rob Rix
b402116102 Derive a Lower instnace for Live. 2018-05-03 13:49:45 -04:00
Rob Rix
f35f9bbbc0 Correct the type of handleState. 2018-05-03 13:48:48 -04:00
Rob Rix
aa4f630961 Fix the type of handleState. 2018-05-03 13:45:33 -04:00
Rob Rix
3e3f0b1fe2 📝 raiseHandler. 2018-05-03 13:45:19 -04:00
Rob Rix
9443980d60 Move raiseHandler into the Handlers section. 2018-05-03 13:44:50 -04:00
Rob Rix
ff59bf5147 Add a handler for State effects. 2018-05-03 13:44:30 -04:00
Rob Rix
49b8136163 Add a handler for Reader effects. 2018-05-03 13:44:23 -04:00
Rob Rix
e283ae0e37 Generalize the Caching functionality. 2018-05-02 19:27:20 -04:00
Rob Rix
083712864a Generalize a bunch of the import graph functions. 2018-05-02 19:26:25 -04:00
Rob Rix
64132b12a3 Redefine MonadEvaluator as a constraint synonym. 2018-05-02 19:25:57 -04:00
Rob Rix
4f459bd542 Generalize askOrigin. 2018-05-02 19:16:59 -04:00
Rob Rix
56c67158cf Generalize lookupWith. 2018-05-02 19:16:24 -04:00
Rob Rix
a7306d9f73 Generalize lookupEnv. 2018-05-02 19:16:17 -04:00
Rob Rix
e828a77529 Generalize defaultEnvironment. 2018-05-02 19:16:04 -04:00
Rob Rix
e4b611c5b6 Generalize modifyHeap. 2018-05-02 19:07:57 -04:00
Rob Rix
d073020526 Clean up Evaluating’s imports & use the JumpTable synonym. 2018-05-02 18:45:07 -04:00
Rob Rix
63f4544496 Generalize scatter. 2018-05-02 18:42:58 -04:00
Rob Rix
8ca1a5112a Use raiseHandler when gathering nondeterminism. 2018-05-02 18:42:35 -04:00
Rob Rix
5d0fce0e6d Generalize a bunch of Interpreter instances. 2018-05-02 18:38:03 -04:00
Rob Rix
2ee3951af6 Export a bunch of types from Evaluator. 2018-05-02 18:29:40 -04:00
Rob Rix
4e6d9b94fe Generalize putHeap. 2018-05-02 18:28:33 -04:00
Rob Rix
7020d9ae4f Add a JumpTable synonym. 2018-05-02 18:26:57 -04:00