1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

21677 Commits

Author SHA1 Message Date
Rob Rix
862c7147f2 Attempt to define puts for Ruby using the print builtin. 2018-05-09 16:30:11 -04:00
Rob Rix
f9f3727437 Define a builtin which prints by tracing. 2018-05-09 16:29:01 -04:00
Rob Rix
a61af71cab Define a helper to construct builtins. 2018-05-09 16:24:24 -04:00
Rob Rix
a4b7b726a3 📝 moduleInfoFromCallStack. 2018-05-09 16:22:26 -04:00
Rob Rix
3316ed9350 Define a helper to get the module info from the Haskell call stack. 2018-05-09 16:21:06 -04:00
Rob Rix
30c4864f83 Define a helper to run an action with context from the Haskell call stack. 2018-05-09 16:16:33 -04:00
Rob Rix
22bb253a3c Define a helper to construct ModuleInfo from a SrcLoc. 2018-05-09 15:53:59 -04:00
Rob Rix
5c3543e61f Use spanFromSrcLoc to tidy up showCallSite. 2018-05-09 15:49:31 -04:00
Rob Rix
b576c2f398 Define a helper to construct spans from SrcLocs. 2018-05-09 15:47:39 -04:00
Rob Rix
042a3077ea Move ModulePath & ModuleInfo down. 2018-05-09 15:45:15 -04:00
Rob Rix
924aa3e243 Correct the corpus for the new line directive syntax. 2018-05-09 15:24:42 -04:00
Rob Rix
c0993c63c9 Test our evaluation of __LINE__. 2018-05-09 15:23:52 -04:00
Rob Rix
e7a9fcde3f Provide the Reader Span effect in evaluatePackageWith. 2018-05-09 15:22:50 -04:00
Rob Rix
2301932f4f Factor out the common term analyses. 2018-05-09 15:13:38 -04:00
Rob Rix
b26ee3528f Evaluate __LINE__ directives. 2018-05-09 15:04:01 -04:00
Rob Rix
668da46396 Provide term spans to Evaluatable instances. 2018-05-09 15:03:27 -04:00
Rob Rix
ecac6bcbd0 Add a handler to provide term spans. 2018-05-09 15:02:51 -04:00
Rob Rix
68eb2a3210 Assign __LINE__ directives. 2018-05-09 14:54:44 -04:00
Rob Rix
bbb6ceee6c Rename the perTerm function to analyzeTerm. 2018-05-09 14:53:38 -04:00
Rob Rix
f3846669fd Re-export the Span type. 2018-05-09 14:52:19 -04:00
Rob Rix
85c5333881 Add functions to get & locally modify the current span. 2018-05-09 14:51:08 -04:00
Rob Rix
38f2a9346f Align the Pos & Span fields. 2018-05-09 14:48:28 -04:00
Rob Rix
f3b496ed22 Stub in syntax for __LINE__ directives. 2018-05-09 14:44:44 -04:00
Rob Rix
6fbb29bc91 Clean up some language extensions. 2018-05-09 14:31:36 -04:00
Rob Rix
4dc2f0b779 Extract a helper to pair results with the filtered environment. 2018-05-09 14:30:38 -04:00
Rob Rix
1c848827dd Compute the env/exports after the module value. 2018-05-09 14:28:22 -04:00
Rob Rix
31dfa9b52d Compute the filtered environment in evalModule. 2018-05-09 14:24:47 -04:00
Rob Rix
fa25253099 Caching returns the cached result. 2018-05-09 14:19:47 -04:00
Rob Rix
8de7ebfb0f Align the filterEnv cases. 2018-05-09 14:17:24 -04:00
Rob Rix
44625cb035 🔥 a redundant type signature. 2018-05-09 14:17:12 -04:00
Rob Rix
dd030ba896 Move loadingModule into the where clause. 2018-05-09 14:16:35 -04:00
Rob Rix
313a1b88c3 Move the cacheModule action into the if. 2018-05-09 14:09:42 -04:00
Rob Rix
caaa7fdb55 🔥 the unused Generic1 instance for Configuration. 2018-05-09 13:49:27 -04:00
Rob Rix
5debff99a8 🔥 the unused Foldable instance for Configuration. 2018-05-09 13:49:09 -04:00
Rob Rix
eb6a920ced 🔥 the unused Eq1, Ord1, & Show1 instances for Configuration. 2018-05-09 13:48:34 -04:00
Rob Rix
019b5d8867 🔥 the unused Eq1, Ord1, & Show1 instances for Cache. 2018-05-09 13:47:38 -04:00
Rob Rix
e40a549ee3 Swap the order of the term & location parameters to Configuration, Cache, and Cacheable. 2018-05-09 13:46:40 -04:00
Rob Rix
5c668b3a0c Space out/align the Cache instances. 2018-05-09 13:41:24 -04:00
Rob Rix
beba4de7c5 Rename the Cache type parameters. 2018-05-09 13:39:42 -04:00
Rob Rix
b359cc91a3 Reformat Configuration. 2018-05-09 13:38:19 -04:00
Rob Rix
05fc6af9f6 Align/space out the Configuration instances. 2018-05-09 13:37:58 -04:00
Rob Rix
bbe1b4b381 Rename the Configuration type parameters. 2018-05-09 13:36:15 -04:00
Rob Rix
b90de3eb8d Correct docs. 2018-05-09 13:28:08 -04:00
Rob Rix
994a6f4f4b Spacing. 2018-05-09 13:15:22 -04:00
Rob Rix
74b589e87d Merge runInPackageBody back into evaluatePackageWith. 2018-05-09 13:14:59 -04:00
Rob Rix
842141d2a0 Merge evaluatePackageBodyWith into evaluatePackageWith. 2018-05-09 13:13:30 -04:00
Rob Rix
1702557d8d Reformat evaluatePackageWith. 2018-05-09 13:11:02 -04:00
Rob Rix
ec1fb00b6e Don’t export evaluatePackageBodyWith. 2018-05-09 13:09:51 -04:00
Rob Rix
c9d769de93 Move runInModule back into evaluatePackageBodyWith. 2018-05-09 13:09:42 -04:00
Rob Rix
3a9e5f016d Rename the analysis parameters. 2018-05-09 13:08:02 -04:00