diff options
author | Eduardo Julian | 2018-07-29 00:11:20 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-29 00:11:20 -0400 |
commit | 3b156dca7b4750e99bdd68b3858521e3fd6b3de5 (patch) | |
tree | 2d0530cfd84921687c5e16ede40525487c1f4c14 /new-luxc/source/luxc/lang | |
parent | c5a740c89dd6df2a2955dddc9f98929083139deb (diff) |
Moved evaluation machinery from new-luxc to stdlib.
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/eval.lux | 20 |
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))) |