aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source
diff options
context:
space:
mode:
authorEduardo Julian2018-07-29 00:11:20 -0400
committerEduardo Julian2018-07-29 00:11:20 -0400
commit3b156dca7b4750e99bdd68b3858521e3fd6b3de5 (patch)
tree2d0530cfd84921687c5e16ede40525487c1f4c14 /new-luxc/source
parentc5a740c89dd6df2a2955dddc9f98929083139deb (diff)
Moved evaluation machinery from new-luxc to stdlib.
Diffstat (limited to 'new-luxc/source')
-rw-r--r--new-luxc/source/luxc/lang/eval.lux20
1 files changed, 0 insertions, 20 deletions
diff --git a/new-luxc/source/luxc/lang/eval.lux b/new-luxc/source/luxc/lang/eval.lux
deleted file mode 100644
index eb16cc433..000000000
--- a/new-luxc/source/luxc/lang/eval.lux
+++ /dev/null
@@ -1,20 +0,0 @@
-(.module:
- lux
- (lux (control [monad #+ do])
- [macro])
- (luxc ["&" lang]
- (lang [".L" extension]
- (analysis [".A" expression])
- (synthesis [".S" expression])
- (translation (jvm [".T" expression]
- [".T" eval])))))
-
-(def: #export (eval type exprC)
- &.Eval
- (do macro.Monad<Meta>
- [exprA (&.with-type type
- (expressionA.analyser eval exprC))
- syntheses extensionL.all-syntheses
- #let [exprS (expressionS.synthesize syntheses exprA)]
- exprI (expressionT.translate exprS)]
- (evalT.eval exprI)))