From 3b156dca7b4750e99bdd68b3858521e3fd6b3de5 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 29 Jul 2018 00:11:20 -0400 Subject: Moved evaluation machinery from new-luxc to stdlib. --- new-luxc/source/luxc/lang/eval.lux | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 new-luxc/source/luxc/lang/eval.lux (limited to 'new-luxc/source/luxc/lang/eval.lux') 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 - [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))) -- cgit v1.2.3