aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/php/expression.jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-05-01 00:40:01 -0400
committerEduardo Julian2018-05-01 00:40:01 -0400
commit4b7d81c1e0449adc031ece6299fe4d0a09f66347 (patch)
tree0e57526f8cc68b19e7714ccecce09f2ed367883a /new-luxc/source/luxc/lang/translation/php/expression.jvm.lux
parentf8d6348b3fec0c55768ebcd8dba446949b8a4ef7 (diff)
- WIP: - Initial PHP back-end implementation [missing procedures].
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/php/expression.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/php/expression.jvm.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/new-luxc/source/luxc/lang/translation/php/expression.jvm.lux b/new-luxc/source/luxc/lang/translation/php/expression.jvm.lux
index abcc22187..43497c93e 100644
--- a/new-luxc/source/luxc/lang/translation/php/expression.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/php/expression.jvm.lux
@@ -18,8 +18,8 @@
[".T" structure]
[".T" reference]
[".T" function]
- ## [".T" case]
- ## [".T" procedure]
+ [".T" case]
+ [".T" procedure]
))
(do-template [<name>]
@@ -55,11 +55,11 @@
[_ (#.Symbol definition)]
(referenceT.translate-definition definition)
- ## (^code ("lux let" (~ [_ (#.Nat register)]) (~ inputS) (~ exprS)))
- ## (caseT.translate-let translate register inputS exprS)
+ (^code ("lux let" (~ [_ (#.Nat register)]) (~ inputS) (~ exprS)))
+ (caseT.translate-let translate register inputS exprS)
- ## (^code ("lux case" (~ inputS) (~ pathPS)))
- ## (caseT.translate-case translate inputS pathPS)
+ (^code ("lux case" (~ inputS) (~ pathPS)))
+ (caseT.translate-case translate inputS pathPS)
(^code ("lux function" (~ [_ (#.Nat arity)]) [(~+ environment)] (~ bodyS)))
(case (s.run environment (p.some s.int))
@@ -72,8 +72,8 @@
(^code ("lux call" (~ functionS) (~+ argsS)))
(functionT.translate-apply translate functionS argsS)
- ## (^code ((~ [_ (#.Text procedure)]) (~+ argsS)))
- ## (procedureT.translate-procedure translate procedure argsS)
+ (^code ((~ [_ (#.Text procedure)]) (~+ argsS)))
+ (procedureT.translate-procedure translate procedure argsS)
## (do macro.Monad<Meta>
## [translation (extensionL.find-translation procedure)]
## (translation argsS))