1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 07:25:44 +03:00
Commit Graph

12588 Commits

Author SHA1 Message Date
Rob Rix
2f3cd99d7e Move a Monad constraint around. 2018-03-23 20:40:51 -04:00
Rob Rix
0b0bf455d4 Realign a thing. 2018-03-23 20:39:09 -04:00
Rob Rix
ca9476000b Move the Recursive constraint into the MonadEvaluatable synonym. 2018-03-23 20:38:47 -04:00
Rob Rix
b94098cf3e 🔥 a commented-out definition. 2018-03-23 20:35:48 -04:00
Rob Rix
3800759ba3 Simplify the context for Evaluating’s MonadAnalysis instance. 2018-03-23 20:35:17 -04:00
Rob Rix
8fe368145d 🔥 the EvaluateModule exception. 2018-03-23 20:31:15 -04:00
Rob Rix
524cf3830c 🔥 MonadEvaluateModule. 2018-03-23 20:30:01 -04:00
Rob Rix
72de7d0bbd Simplify an instance context. 2018-03-23 20:25:13 -04:00
Rob Rix
4231844a29 Move load/require back to the Evaluatable module. 2018-03-23 20:23:36 -04:00
Rob Rix
e5d45edfb5 🔥 some unnecessary ScopedTypeVariables. 2018-03-23 20:20:23 -04:00
Rob Rix
ce8a3a6d5d Simplify a context. 2018-03-23 20:20:01 -04:00
Rob Rix
2cce44a9ec Clean up a ton of imports. 2018-03-23 20:16:04 -04:00
Rob Rix
fb727c05cf Move the MonadValue instances into the Value/Type modules. 2018-03-23 20:12:19 -04:00
Rob Rix
d99877d397 Move MonadValue back to Control.Abstract.Value. 2018-03-23 19:53:19 -04:00
Rob Rix
468d85bb2c what if analysis composition worked 2018-03-23 19:50:04 -04:00
Rob Rix
1fb1707d8a List MonadValue’s exports explicitly. 2018-03-23 19:23:46 -04:00
Rob Rix
806308d3a3 Import Evaluator in Addressable. 2018-03-23 18:46:03 -04:00
Rob Rix
85650c06df Merge branch 'master' into imports,-graphed 2018-03-23 15:26:11 -04:00
Rob Rix
60382ba31a 🔥 a redundant import. 2018-03-23 11:05:07 -04:00
Rob Rix
fc3a42ab4f Revert "Invert the overall order of the effect list."
This reverts commit 0cb27ae3865a6e6e8f2cb11d58c5190c1be550e7.
2018-03-23 11:04:34 -04:00
Rob Rix
2c8cb8e67a Invert the overall order of the effect list.
This puts outer analyses results at the outermost level of values.
2018-03-23 11:01:42 -04:00
Rob Rix
a5067cb018 Move require/load to Data.Abstract.Evaluatable. 2018-03-23 10:38:33 -04:00
Rob Rix
f87f04b059 Simplify the Evaluatable re-exports. 2018-03-23 10:36:37 -04:00
joshvera
9b2524cc81 Merge branch 'module-resolution' into default-extensions 2018-03-23 10:31:07 -04:00
Rob Rix
9c0b5f7ab6 Merge branch '🔥-ghc-mod' into imports,-graphed 2018-03-23 10:26:13 -04:00
Rob Rix
5dcad0e8de Correct the docs for evaluateModule. 2018-03-22 19:50:09 -04:00
Rob Rix
3e086c6681 Write resumeException inline. 2018-03-22 19:49:11 -04:00
Rob Rix
d56a5ce0e6 📝 mergeEither. 2018-03-22 19:48:42 -04:00
Rob Rix
b90553cc2d Define a helper to merge eithers. 2018-03-22 19:43:46 -04:00
Rob Rix
eb031d22d5 🔥 Both.fst/Both.snd. 2018-03-22 19:40:19 -04:00
Rob Rix
7d4cb9171a Listen for EvaluateModule requests. 2018-03-22 19:37:46 -04:00
Josh Vera
5c5dedfeda Merge branch 'master' into module-resolution 2018-03-22 19:32:33 -04:00
joshvera
2358187357 align 2018-03-22 19:31:47 -04:00
joshvera
2e794e92a5 align 2018-03-22 19:31:08 -04:00
Rob Rix
dd755a4f0b Use EvaluateModule to signal module loads. 2018-03-22 19:28:43 -04:00
Rob Rix
8530a288cd Define a single instance of MonadThrow. 2018-03-22 19:27:31 -04:00
Rob Rix
31c433fe02 Define an EvaluateModule exception/request type. 2018-03-22 19:24:19 -04:00
Rob Rix
0acd79da04 🔥 a functional dependency. 2018-03-22 19:23:28 -04:00
Rob Rix
13904cbee2 Dedend the exports. 2018-03-22 19:23:16 -04:00
Patrick Thomson
178da2959e Implement multiple inheritance.
Python is the only language that we support that permits multiple
inheritance, which is probably good, since MI is generally considered
a sign of a poorly-designed object hierarchy. But there's no reason
not to support it. This algorithm is more simplistic than Python's
actual method-resolution lookup, but it's fine for now, and the
behavior for simple cases matches that of Python.
2018-03-22 15:54:21 -04:00
Josh Vera
7792356012 Merge branch 'master' into default-extensions 2018-03-22 15:43:31 -04:00
Josh Vera
a2e73afd45 Merge branch 'master' into module-resolution 2018-03-22 15:42:44 -04:00
Patrick Thomson
bd939d2579 Fix Python method calls.
`identifier` in the Python assignment module was too eager to reduce a
nested Attribute into a dotted identifier. Removing it fixes method
calls, which now have a unit test.
2018-03-22 15:35:08 -04:00
Rob Rix
b17b8e5c96 Merge remote-tracking branch 'origin/module-resolution' into imports,-graphed 2018-03-22 15:31:30 -04:00
Rob Rix
61ac6d42cb 📝 analyzeModule. 2018-03-22 14:59:17 -04:00
Rob Rix
00ef2ba859 Correct the docs for analyzeTerm. 2018-03-22 14:58:57 -04:00
Rob Rix
2db0e7151b Define an analyzeModule method on MonadAnalysis.
This allows us to chain per-module analysis in the same manner as per-term analysis.
2018-03-22 13:59:32 -04:00
Rob Rix
b353b1aa5d Generalize liftAnalyze to any base functor. 2018-03-22 13:45:46 -04:00
Rob Rix
ae7483291a Define evaluateFiles using evaluateModules. 2018-03-22 13:03:59 -04:00
Rob Rix
9bd466bc19 📝 evaluateModules. 2018-03-22 13:03:22 -04:00