aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/eval.lux
diff options
context:
space:
mode:
authorEduardo Julian2017-11-15 19:51:33 -0400
committerEduardo Julian2017-11-15 19:51:33 -0400
commit296d087530cb142efec1dea159770346bb43c3c0 (patch)
treebde43594e5df48af539a0fda3e13cbf6aa36b557 /new-luxc/source/luxc/eval.lux
parentc4e928e5805054aa12da40baaeccbb9c522b52d0 (diff)
- Heavy refactoring.
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/eval.lux (renamed from new-luxc/source/luxc/eval.lux)10
1 files changed, 5 insertions, 5 deletions
diff --git a/new-luxc/source/luxc/eval.lux b/new-luxc/source/luxc/lang/eval.lux
index 6431b59d6..20c3acaeb 100644
--- a/new-luxc/source/luxc/eval.lux
+++ b/new-luxc/source/luxc/lang/eval.lux
@@ -2,16 +2,16 @@
lux
(lux (control [monad #+ do])
[meta])
- (luxc (lang (analysis [";A" expression])
+ (luxc ["&" lang]
+ (lang (analysis [";A" expression])
(synthesis [";S" expression])
(translation [";T" expression]
- [";T" eval])))
- [../base])
+ [";T" eval]))))
(def: #export (eval type exprC)
- ../base;Eval
+ &;Eval
(do meta;Monad<Meta>
- [exprA (../base;with-expected-type type
+ [exprA (&;with-expected-type type
(expressionA;analyser eval exprC))
#let [exprS (expressionS;synthesize exprA)]
exprI (expressionT;translate exprS)]