diff options
author | Eduardo Julian | 2018-05-01 00:40:01 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-05-01 00:40:01 -0400 |
commit | 4b7d81c1e0449adc031ece6299fe4d0a09f66347 (patch) | |
tree | 0e57526f8cc68b19e7714ccecce09f2ed367883a /new-luxc/source/luxc/lang/translation/php/reference.jvm.lux | |
parent | f8d6348b3fec0c55768ebcd8dba446949b8a4ef7 (diff) |
- WIP: - Initial PHP back-end implementation [missing procedures].
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/php/reference.jvm.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/php/reference.jvm.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux b/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux index 280710afc..9146684e4 100644 --- a/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux @@ -5,31 +5,31 @@ text/format)) (luxc ["&" lang] (lang [".L" variable #+ Variable Register] - (host ["_" php #+ VExpression]))) + (host ["_" php #+ Var]))) [//] (// [".T" runtime])) (do-template [<register> <prefix>] [(def: #export <register> - (-> Register VExpression) + (-> Register Var) (|>> (:! Int) %i (format <prefix>) _.var))] [closure "c"] [variable "v"]) (def: #export (local var) - (-> Variable VExpression) + (-> Variable Var) (if (variableL.captured? var) (closure (variableL.captured-register var)) (variable (:! Nat var)))) (def: #export global - (-> Ident VExpression) + (-> Ident Var) (|>> //.definition-name _.var)) (do-template [<name> <input> <converter>] [(def: #export <name> - (-> <input> (Meta VExpression)) + (-> <input> (Meta Var)) (|>> <converter> (:: macro.Monad<Meta> wrap)))] [translate-variable Variable local] |