aboutsummaryrefslogtreecommitdiff
path: root/new-luxc
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc')
-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)))