diff options
author | Eduardo Julian | 2019-03-03 02:22:23 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-03-03 02:22:23 -0400 |
commit | 56219b002c43690e74e3e0c88fed32143dcc7e28 (patch) | |
tree | 665aafd4f8d80ed6f5722a673229630b699a6cc3 /stdlib/source/lux/tool/compiler/phase/translation | |
parent | bd433efacc33492705b09953d321b844d2b1c9f0 (diff) |
Some refactoring around analysis.
Diffstat (limited to 'stdlib/source/lux/tool/compiler/phase/translation')
-rw-r--r-- | stdlib/source/lux/tool/compiler/phase/translation/js/function.lux | 2 | ||||
-rw-r--r-- | stdlib/source/lux/tool/compiler/phase/translation/js/structure.lux | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/translation/js/function.lux b/stdlib/source/lux/tool/compiler/phase/translation/js/function.lux index 5c17ed3d3..89536c579 100644 --- a/stdlib/source/lux/tool/compiler/phase/translation/js/function.lux +++ b/stdlib/source/lux/tool/compiler/phase/translation/js/function.lux @@ -19,10 +19,10 @@ [common ["common-." reference]] ["//." // ("#/." monad) - [analysis (#+ Variant Tuple Environment Arity Abstraction Application Analysis)] [synthesis (#+ Synthesis)] [// [reference (#+ Register Variable)] + [analysis (#+ Variant Tuple Environment Arity Abstraction Application Analysis)] ["." name]]]]]) (def: #export (apply translate [functionS argsS+]) diff --git a/stdlib/source/lux/tool/compiler/phase/translation/js/structure.lux b/stdlib/source/lux/tool/compiler/phase/translation/js/structure.lux index 5a3a24175..8af864654 100644 --- a/stdlib/source/lux/tool/compiler/phase/translation/js/structure.lux +++ b/stdlib/source/lux/tool/compiler/phase/translation/js/structure.lux @@ -8,8 +8,9 @@ ["//." runtime (#+ Operation Phase)] ["//." primitive] ["/." /// - [analysis (#+ Variant Tuple)] - ["." synthesis (#+ Synthesis)]]]) + ["." synthesis (#+ Synthesis)] + [// + [analysis (#+ Variant Tuple)]]]]) (def: #export (tuple translate elemsS+) (-> Phase (Tuple Synthesis) (Operation Expression)) |