diff options
author | Eduardo Julian | 2018-02-23 23:10:28 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-02-23 23:10:28 -0400 |
commit | 0bd93d82eb7a50b9ce8be42800c388e87e6ca9bf (patch) | |
tree | 847453417dbf6bf76be82efd498074029162d38b /new-luxc/source/luxc/lang/translation/js/expression.jvm.lux | |
parent | c8e2898611fa759cbe7c2ac84738b5b403575664 (diff) |
- Added a code-generation utility module for JS.
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/js/expression.jvm.lux | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/js/expression.jvm.lux b/new-luxc/source/luxc/lang/translation/js/expression.jvm.lux index 1bde82766..9fbaca3d2 100644 --- a/new-luxc/source/luxc/lang/translation/js/expression.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/js/expression.jvm.lux @@ -10,7 +10,8 @@ (luxc ["&" lang] (lang [".L" variable #+ Variable Register] [".L" extension] - ["ls" synthesis])) + ["ls" synthesis] + (host [js #+ JS Expression Statement]))) [//] (// [".T" runtime] [".T" primitive] @@ -25,7 +26,7 @@ (exception: #export Unrecognized-Synthesis) (def: #export (translate synthesis) - (-> ls.Synthesis (Meta //.Expression)) + (-> ls.Synthesis (Meta Expression)) (case synthesis (^code []) (:: macro.Monad<Meta> wrap runtimeT.unit) |