diff options
author | Eduardo Julian | 2017-11-15 19:51:33 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-11-15 19:51:33 -0400 |
commit | 296d087530cb142efec1dea159770346bb43c3c0 (patch) | |
tree | bde43594e5df48af539a0fda3e13cbf6aa36b557 /new-luxc/source/luxc/eval.lux | |
parent | c4e928e5805054aa12da40baaeccbb9c522b52d0 (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)] |