diff options
author | Eduardo Julian | 2018-04-14 13:32:43 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-04-14 13:32:43 -0400 |
commit | 0bba53ceb52502510e0f6ba4c53a951933532a61 (patch) | |
tree | 82bd7fe239dc7996e9542fc9b5fea5768579bd0f /new-luxc/source/luxc/lang/translation/r/loop.jvm.lux | |
parent | 1a3fa23f5c0444f0f8273cbc21875eeabdc321aa (diff) |
- Made everything an expression for R translation.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/r/loop.jvm.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/r/loop.jvm.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux b/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux index d0caebd80..ecaf12c7c 100644 --- a/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/r/loop.jvm.lux @@ -7,7 +7,7 @@ [macro]) (luxc [lang] (lang ["ls" synthesis] - (host [r #+ Expression Statement @@]))) + (host [r #+ Expression @@]))) [//] (// [".T" reference])) @@ -25,7 +25,7 @@ _ (//.save (r.set! $loop-name (r.function (|> (list.n/range +0 (n/dec (list.size initsS+))) (list/map (|>> (n/+ offset) referenceT.variable))) - (r.do! bodyO))))] + bodyO)))] (wrap (r.apply initsO+ @loop-name)))) (def: #export (translate-recur translate argsS+) |