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

21368 Commits

Author SHA1 Message Date
Rob Rix
c8fb246cac Evaluate entry points in a context which can handle closures. 2018-05-06 11:26:35 -04:00
Rob Rix
3c743f8d33 Evaluatable instances don’t need to call evaluateClosureBody directly, so 🔥 the constraint. 2018-05-06 11:21:16 -04:00
Rob Rix
d5b5c8379e Spacing. 2018-05-06 11:20:56 -04:00
Rob Rix
d5586210c2 Don’t export MonadEvaluatable. 2018-05-06 11:13:45 -04:00
Rob Rix
fe08bc82af Generalize the types of resolveWithNodejsStrategy, resolveRelativePath, resolveNonRelativePath, resolveTSModule, and evalRequire. 2018-05-06 11:08:00 -04:00
Rob Rix
80c493710b Generalize the types of resolveRubyName, resolveRubyPath, doRequire, and doLoad. 2018-05-06 10:58:07 -04:00
Rob Rix
97c6cb0036 Generalize the types of resolvePHPName and include. 2018-05-06 10:50:33 -04:00
Rob Rix
edee168de2 Generalize the type of resolveGoImport. 2018-05-06 10:47:13 -04:00
Rob Rix
9e948ee7d3 🔥 a bunch of unnecessary quantifiers. 2018-05-06 10:44:59 -04:00
Rob Rix
b4185865c2 ResolutionError doesn’t need its value parameter. 2018-05-06 10:42:30 -04:00
Rob Rix
0c30d16898 Generalize the type of resolvePythonModules. 2018-05-06 10:37:21 -04:00
Rob Rix
5e37b9e440 Reformat the signature of resolvePythonModules. 2018-05-06 10:31:48 -04:00
Rob Rix
73620308d5 Generalize the type of evaluateInScopedEnv. 2018-05-06 10:31:05 -04:00
Rob Rix
6f810134f3 Generalize the type of listModulesInDir. 2018-05-06 10:28:02 -04:00
Rob Rix
f2b0b2e3e6 Generalize the type of resolve. 2018-05-06 10:27:37 -04:00
Rob Rix
8e005a593f Simplify the default eval definition’s context. 2018-05-06 10:25:56 -04:00
Rob Rix
f993304817 Move Evaluatable to the top of the module. 2018-05-06 10:24:45 -04:00
Rob Rix
8070fc38c0 📝 the components of the importGraphAnalysis result type. 2018-05-06 10:14:54 -04:00
Rob Rix
1a91e91a31 Inline evaluatingModulesWith into evaluatePackageBodyWith. 2018-05-06 10:09:25 -04:00
Rob Rix
157a7a35f5 Inline handleEvalClosures into evalTerm. 2018-05-06 10:06:44 -04:00
Rob Rix
f8e1d03f66 Clean up the type of evaluatingModulesWith using equality constraints. 2018-05-06 09:58:14 -04:00
Rob Rix
7344a1b67c Handle closure/module effects in the same place. 2018-05-06 09:55:06 -04:00
Rob Rix
4529ee89e9 Don’t require callers to provide the module & term explicitly. 2018-05-06 09:13:46 -04:00
Rob Rix
4cfa690059 Provide per-module and -term handlers. 2018-05-04 19:48:45 -04:00
Rob Rix
ceb4c40646 Correct the Value type. 2018-05-04 19:46:03 -04:00
Rob Rix
b7858fe4cc Specialize importGraphAnalysis to Located & Value. 2018-05-04 19:44:59 -04:00
Rob Rix
314f1dfd5c Derive a Lower instance for Latest. 2018-05-04 19:44:33 -04:00
Rob Rix
8e73d99889 Give a type for importGraphAnalysis. 2018-05-04 19:41:10 -04:00
Rob Rix
d31dce7490 Provide empty cells with a Lower constraint. 2018-05-04 19:40:53 -04:00
Rob Rix
1e173c4f2c Use ScopedTypeVariables to allow type applications against erroring. 2018-05-04 19:38:14 -04:00
Rob Rix
f83b002e78 Export EvaluatingEffects. 2018-05-04 19:38:01 -04:00
Rob Rix
dab97a9298 analyze takes an explicit interpreter parameter. 2018-05-04 19:27:52 -04:00
Rob Rix
b5485e8ab8 Rephrase Caching as cachingTerms, convergingModules, and caching handlers. 2018-05-04 19:24:07 -04:00
Rob Rix
a3c04da9fe Clean up the Tracing module. 2018-05-04 19:13:23 -04:00
Rob Rix
cdb8f26de4 Rephrase Tracing as tracingTerms & tracing handlers. 2018-05-04 19:12:51 -04:00
Rob Rix
04fb5d36b1 Fix up some language extensions &c. 2018-05-04 19:10:01 -04:00
Rob Rix
4c83723fbe Correct the name of the location type parameter. 2018-05-04 19:06:04 -04:00
Rob Rix
88ec9d7230 Rephrase Dead as revivingTerms, killingModules, and providingDeadSet handlers. 2018-05-04 19:01:01 -04:00
Rob Rix
cdb7169ecb Derive a Lower instance for Dead. 2018-05-04 18:55:21 -04:00
Rob Rix
7d97d97cc4 Rephrase Collecting & Retaining as collectingTerms & providingLiveSet handlers. 2018-05-04 18:50:48 -04:00
Rob Rix
9af39cad2f Rephrase TypeChecking as a simple handler. 2018-05-04 18:43:45 -04:00
Rob Rix
fd85d202db Deal with the fallout in Evaluatable. 2018-05-04 18:42:06 -04:00
Rob Rix
115c21074b Rephrase ImportGraphAnalysis as a composed handler. 2018-05-04 18:41:46 -04:00
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