Rick Winfrey
66d3044951
Merge branch 'master' into heap-frames
2018-11-15 13:44:06 -08:00
joshvera
dba7f17d48
spoke too soon
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-14 19:20:35 -05:00
joshvera
680681f944
fix up EvalError in tests
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-14 19:19:42 -05:00
joshvera
f6bfec2d96
the tests compile!
2018-11-08 18:22:35 -05:00
joshvera
20cf855423
return a list of values from lookupDeclaration
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-08 12:56:08 -05:00
joshvera
22bdbdfafe
Fix up import conflicts
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-08 12:55:42 -05:00
joshvera
0c35a8a95c
Start fixing up tests
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-07 18:27:56 -05:00
joshvera
f51d3a90a8
Run ScopeGraph and Heap in tests
...
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-07 14:09:18 -05:00
Timothy Clem
0f56f33f24
Introduce some symbol/tags tests
2018-11-02 13:55:30 -07:00
Rob Rix
131cae4d7b
Merge branch 'master' into higher-order-effects
2018-10-24 14:04:13 -04:00
Rob Rix
ee1491ab51
Fix namespaceScope.
2018-10-24 10:06:22 -04:00
Rob Rix
090a395bb6
Fix up the carrier type.
2018-10-24 10:05:22 -04:00
Rob Rix
780d0a478b
Rename the carrier.
2018-10-24 10:01:49 -04:00
Rob Rix
46ca8ac121
Fix a bunch of handlers.
2018-10-24 09:59:57 -04:00
Rob Rix
de9e610a2f
Correct the name of the Trace carrier.
2018-10-24 09:58:35 -04:00
Rob Rix
ce37fd58f1
Fix some imports.
2018-10-24 09:58:06 -04:00
Rob Rix
739426de50
Fix a couple of handlers.
2018-10-24 09:47:14 -04:00
Patrick Thomson
ef696d3c41
Split up Semantic.IO.
...
This looks like a big patch, but it's very straightforward: no
behavior has changed.
After the umpteenth time spent hitting a compile error because I
passed a `FilePath` rather than a `File` to `readBlobFromPath`, I
decided to finally make the needed refactors to Semantic.IO, and to
split off the `File` type and `Files` effect. This patch:
* adds the `MonadIO` class to `Prologue`'s export list
* moves `File` into `Data.File`
* moves `Handle` into `Data.Handle`
* moves `Files` into `Semantic.Task.Files`
* moves functions for reading blobs into `Data.Blob`
* keeps general IO helpers in Semantic.IO
* renames `readFile` to `readBlobFromFile`
* renames `readBlobFromPath` to `readBlobFromFile'`
This should have a positive effect on compile times and ease of
navigation throughout the codebase.
2018-10-23 15:37:49 -04:00
Rob Rix
c9e6912068
Port most of the system over to higher-order-effects.
2018-10-16 18:48:08 -04:00
Rob Rix
5c2dac35e8
Merge branch 'master' into first-order-closures
2018-09-27 13:37:25 -05:00
Rob Rix
0653832d9d
Swap the order of the parameters to Value.
2018-09-25 16:38:05 -05:00
Rob Rix
f3c20a8fad
ConcreteEff is no more.
2018-09-25 13:40:07 -05:00
Timothy Clem
278e6890cd
Fix up the tests
2018-09-25 11:18:51 -05:00
Rob Rix
c6769d2e01
Resume using a first-order definition of functions.
2018-09-21 14:42:57 -04:00
Rob Rix
038b56970e
Parameterize Evaluator by the term type.
2018-09-20 12:43:59 -04:00
joshvera
eb71b512b3
Fix test type errors
2018-09-14 18:04:08 -04:00
Rob Rix
90b29a39ab
Add a missing import.
2018-08-15 12:08:15 -04:00
Rob Rix
358b8cc564
Replace UtilEff with ConcreteEff.
2018-08-15 11:55:45 -04:00
joshvera
75365e9caa
Merge remote-tracking branch 'origin/master' into interactive-debugger
2018-08-13 16:40:27 -04:00
joshvera
2732f17719
Merge remote-tracking branch 'origin/master' into interactive-debugger
2018-08-10 14:20:16 -04:00
Rob Rix
d05f3c6ae3
🔥 Data.Abstract.Address.
2018-08-10 13:46:24 -04:00
Rob Rix
55acc78d83
Fix up the specs.
2018-08-09 15:51:55 -04:00
Rob Rix
0def4afbab
Specialize Heap to Set.
2018-08-09 15:40:42 -04:00
Rob Rix
c1254d54b8
🔥 Cell.
2018-08-09 15:30:50 -04:00
Rick Winfrey
77c8867907
No longer need these imports
2018-08-08 10:31:59 -07:00
Rick Winfrey
383b6208ee
Rename ErrorContext -> BaseError
2018-08-07 16:50:55 -07:00
Rick Winfrey
cdedb5d893
Update tests
2018-08-07 10:48:01 -07:00
Rick Winfrey
00a24473c7
Update tests
2018-08-06 15:10:59 -07:00
Rick Winfrey
823ae6ac51
Merge branch 'master' into error-context
2018-08-06 13:46:42 -07:00
Rick Winfrey
5b9dca6400
Wrap UnspecializedError with BaseError
2018-08-06 11:50:49 -07:00
Rick Winfrey
37d197bb21
Wrap SpecHelpers errors in BaseError
2018-08-03 16:59:34 -07:00
Rob Rix
8c9debbd17
Fix up the specs.
2018-08-03 14:14:08 -04:00
Rob Rix
f2fcbf93f4
Generalize UtilEff over the trailing effects.
2018-08-03 11:18:03 -04:00
Rob Rix
5368f859eb
Whoops.
...
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-08-01 15:22:37 -04:00
Charlie Somerville
de80f1906e
fix SpecHelpers to hit heap for namespaces
2018-07-19 17:03:17 +10:00
Charlie Somerville
a3bc96834c
Merge branch 'master' into charliesome/module-result
2018-07-18 14:53:31 +10:00
Charlie Somerville
6837b1d637
names takes a Binding, not an Environment
2018-07-17 12:04:54 +10:00
Charlie Somerville
752e29c9ef
use ModuleResult type alias here too
2018-07-17 11:42:01 +10:00
Patrick Thomson
ae550c59c8
Merge remote-tracking branch 'origin/master' into abstract-call-graph
2018-07-13 11:11:46 -04:00
Rob Rix
255a0aa62b
Move TaskConfig into Semantic.Util.
2018-07-10 14:09:02 -04:00