diff options
| author | Eduardo Julian | 2019-03-30 21:45:45 -0400 | 
|---|---|---|
| committer | Eduardo Julian | 2019-03-30 21:45:45 -0400 | 
| commit | 118895081d97279a796cc704e6c23bf92ed79e5e (patch) | |
| tree | 1ea654e3f913bfc5f978bba46620c535e7a4a7bc /new-luxc/source/luxc/lang/translation/php | |
| parent | 5009bfaa56119a58e675a1e6008623790b54cc1c (diff) | |
Re-named "do-template" to "template".
Diffstat (limited to '')
7 files changed, 14 insertions, 14 deletions
| diff --git a/new-luxc/source/luxc/lang/translation/php.lux b/new-luxc/source/luxc/lang/translation/php.lux index db0eeced4..0a694d3e6 100644 --- a/new-luxc/source/luxc/lang/translation/php.lux +++ b/new-luxc/source/luxc/lang/translation/php.lux @@ -19,7 +19,7 @@                (host ["_" php #+ Expression Statement]))          [".C" io])) -(do-template [<name>] +(template [<name>]    [(exception: #export (<name> {message Text})       message)] @@ -159,7 +159,7 @@    (function (_ compiler)      (#e.Success [compiler (|> compiler (get@ #.host) (:coerce Host) (get@ #program-buffer))]))) -(do-template [<name> <field> <inputT> <outputT>] +(template [<name> <field> <inputT> <outputT>]    [(def: (<name> code)       (-> <inputT> (Meta <outputT>))       (function (_ compiler) diff --git a/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux index 3bfd5578a..4c4a6c641 100644 --- a/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux @@ -12,7 +12,7 @@          (lang (host ["_" php #+ Expression Statement])))    [//]) -(do-template [<name>] +(template [<name>]    [(exception: #export (<name> {message Text})       message)] 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 3d7d652bf..c49003c64 100644 --- a/new-luxc/source/luxc/lang/translation/php/expression.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/expression.jvm.lux @@ -22,7 +22,7 @@        [".T" procedure]        )) -(do-template [<name>] +(template [<name>]    [(exception: #export (<name> {message Text})       message)] diff --git a/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux index f77a35292..7a44accf2 100644 --- a/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux @@ -146,7 +146,7 @@  ##       ))  ## ## [[Bits]] -## (do-template [<name> <op>] +## (template [<name> <op>]  ##   [(def: (<name> [subjectO paramO])  ##      Binary  ##      (<op> paramO subjectO))] @@ -161,7 +161,7 @@  ##   (|> (_.bit-shl paramO subjectO)  ##       runtimeT.bit//64)) -## (do-template [<name> <op>] +## (template [<name> <op>]  ##   [(def: (<name> [subjectO paramO])  ##      Binary  ##      (<op> paramO subjectO))] @@ -187,7 +187,7 @@  ##   (#static MIN_VALUE Double)  ##   (#static MAX_VALUE Double)) -## (do-template [<name> <const> <encode>] +## (template [<name> <const> <encode>]  ##   [(def: (<name> _)  ##      Nullary  ##      (<encode> <const>))] @@ -197,7 +197,7 @@  ##   [frac//max               Double::MAX_VALUE            _.float]  ##   ) -(do-template [<name> <op>] +(template [<name> <op>]    [(def: (<name> [subjectO paramO])       Binary       (|> subjectO @@ -210,7 +210,7 @@    [int//%        _.%]    ) -## (do-template [<name> <op>] +## (template [<name> <op>]  ##   [(def: (<name> [subjectO paramO])  ##      Binary  ##      (<op> paramO subjectO))] @@ -227,7 +227,7 @@  ##   [text//<   _.<]  ##   ) -(do-template [<name> <cmp>] +(template [<name> <cmp>]    [(def: (<name> [subjectO paramO])       Binary       (<cmp> paramO subjectO))] diff --git a/new-luxc/source/luxc/lang/translation/php/procedure/host.jvm.lux b/new-luxc/source/luxc/lang/translation/php/procedure/host.jvm.lux index af82491b6..2793b40e8 100644 --- a/new-luxc/source/luxc/lang/translation/php/procedure/host.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/procedure/host.jvm.lux @@ -14,7 +14,7 @@    (/// [".T" runtime])    (// ["@" common])) -## (do-template [<name> <lua>] +## (template [<name> <lua>]  ##   [(def: (<name> _) @.Nullary <lua>)]  ##   [lua//nil      "nil"] 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 833fc5e5a..2415963d1 100644 --- a/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux @@ -9,7 +9,7 @@    [//]    (// [".T" runtime])) -(do-template [<register> <prefix>] +(template [<register> <prefix>]    [(def: #export <register>       (-> Register Var)       (|>> (:coerce Int) %i (format <prefix>) _.var))] @@ -27,7 +27,7 @@    (-> Name Var)    (|>> //.definition-name _.var)) -(do-template [<name> <input> <converter>] +(template [<name> <input> <converter>]    [(def: #export <name>       (-> <input> (Meta Var))       (|>> <converter> (:: macro.Monad<Meta> wrap)))] diff --git a/new-luxc/source/luxc/lang/translation/php/runtime.jvm.lux b/new-luxc/source/luxc/lang/translation/php/runtime.jvm.lux index 3d5ea1775..7c4d9f444 100644 --- a/new-luxc/source/luxc/lang/translation/php/runtime.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/runtime.jvm.lux @@ -239,7 +239,7 @@  ## (def: inc (|>> (_.+ (_.int 1)))) -## (do-template [<name> <top-cmp>] +## (template [<name> <top-cmp>]  ##   [(def: (<name> top value)  ##      (-> Expression Expression Expression)  ##      (_.and (|> value (_.>= (_.int 0))) | 
