1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00
Commit Graph

21553 Commits

Author SHA1 Message Date
Rob Rix
13660b9e9d Test for expected symbols, not exact symbols. 2018-05-10 10:59:38 -04:00
Rob Rix
2410387e97 Allow the tests to examine the traces. 2018-05-10 10:58:24 -04:00
Rob Rix
35902e0de8 Prefix builtins with __semantic_. 2018-05-10 10:49:45 -04:00
Rob Rix
972c0c8563 Bind builtins in the environment. 2018-05-10 10:48:55 -04:00
Rob Rix
cb09919f70 Merge branch 'master' into builtins 2018-05-10 10:34:09 -04:00
Rob Rix
dc45d41f1e Merge pull request #1827 from github/line-directives
Line directives
2018-05-10 10:33:54 -04:00
Rob Rix
b0b878b938 Merge branch 'master' into line-directives 2018-05-10 10:28:25 -04:00
Rob Rix
75d2c50589 Test the results of cross-module function calls. 2018-05-10 10:26:07 -04:00
Rob Rix
734545227e 📝 runGoto. 2018-05-10 10:22:35 -04:00
Josh Vera
d60e22d10c Merge pull request #1826 from github/high-level-module-table-effect
High level module table effect
2018-05-10 10:21:06 -04:00
Rob Rix
c2f48fb982 🔥 the ns/addr conveniences. 2018-05-10 10:11:34 -04:00
Rob Rix
4fca683eae Test for the presence of the desired symbols rather than the exact list. 2018-05-10 10:10:57 -04:00
Rob Rix
ae7ee6e860 Test Go environments/heaps against the names. 2018-05-10 10:07:11 -04:00
Rob Rix
5af09d94e1 Test PHP environments/heaps against the names, not addresses. 2018-05-10 10:03:59 -04:00
Rob Rix
69bd2c0af5 Test Python environments/heaps without encoding addresses. 2018-05-10 09:59:54 -04:00
Rob Rix
9ec588ed3c Use the shared helpers for TypeScript. 2018-05-10 09:59:31 -04:00
Rob Rix
6e37f24cee Define a helper to take namespaces apart. 2018-05-10 09:58:38 -04:00
Rob Rix
30a85b576d Define a helper to dereference qualified names in values. 2018-05-10 09:55:11 -04:00
Rob Rix
821691549e Test the bound names, not their addresses. 2018-05-10 09:28:11 -04:00
Rob Rix
8b8f3007cf Test the imported names, not the prelude names. 2018-05-10 09:08:12 -04:00
Rob Rix
76a40939d6 Test the bound names. 2018-05-09 22:04:52 -04:00
Rob Rix
27a25d9a45 Type applications. 2018-05-09 22:04:46 -04:00
Rob Rix
ac64531073 Align the Eq1/Ord1/Show1 instances. 2018-05-09 21:59:57 -04:00
Rob Rix
c128832baf Rename the type parameters in Environment. 2018-05-09 21:59:06 -04:00
Rob Rix
8fa662faed Fix some docs. 2018-05-09 21:54:24 -04:00
Rob Rix
91ca0e1aba Run Gotos via a newtype to break the cycle in the effects types. 2018-05-09 21:30:34 -04:00
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