From 118895081d97279a796cc704e6c23bf92ed79e5e Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 30 Mar 2019 21:45:45 -0400 Subject: Re-named "do-template" to "template". --- new-luxc/source/luxc/lang/host/php.lux | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'new-luxc/source/luxc/lang/host/php.lux') diff --git a/new-luxc/source/luxc/lang/host/php.lux b/new-luxc/source/luxc/lang/host/php.lux index 6ab97ee52..878bbaa18 100644 --- a/new-luxc/source/luxc/lang/host/php.lux +++ b/new-luxc/source/luxc/lang/host/php.lux @@ -56,7 +56,7 @@ (text.join-with ", ") (text.enclose ["(" ")"]))) - (do-template [ ] + (template [ ] [(def: #export (-> Var Argument) (|>> []))] @@ -127,7 +127,7 @@ " " uses " " (block (:representation body)))))) - (do-template [ ] + (template [ ] [(def: #export Computation (..apply (list) (..global )))] @@ -136,7 +136,7 @@ [func-get-args/0 "func_get_args"] ) - (do-template [ ] + (template [ ] [(def: #export ( values) (-> (List Expression) Computation) (..apply values (..global )))] @@ -144,7 +144,7 @@ [array/* "array"] ) - (do-template [ ] + (template [ ] [(def: #export ( required optionals) (-> Expression (List Expression) Computation) (..apply (list& required optionals) (..global )))] @@ -162,7 +162,7 @@ (text.join-with ", ")) ")"))) - (do-template [ ] + (template [ ] [(def: #export ( input0) (-> Expression Computation) (..apply (list input0) (..global )))] @@ -174,7 +174,7 @@ [floatval/1 "floatval"] ) - (do-template [ ] + (template [ ] [(def: #export ( input0 input1) (-> Expression Expression Computation) (..apply (list input0 input1) (..global )))] @@ -184,7 +184,7 @@ [array-push/2 "array_push"] ) - (do-template [ ] + (template [ ] [(def: #export ( input0 input1 input2) (-> Expression Expression Expression Computation) (..apply (list input0 input1 input2) (..global )))] @@ -213,7 +213,7 @@ (:representation then) " : " (:representation else)))) - (do-template [ ] + (template [ ] [(def: #export ( param subject) (-> Expression Expression Computation) (computation @@ -244,7 +244,7 @@ (-> Computation Computation) (|>> :representation (format "!") :abstraction)) - (do-template [ ] + (template [ ] [(def: #export ( var value) (-> Var Expression ) ( (format (:representation var) " = " (:representation value))))] @@ -317,7 +317,7 @@ (format "try " (block (:representation body!)) "\n" (|> excepts (list/map catch!) (text.join-with "\n"))))) - (do-template [ ] + (template [ ] [(def: #export ( message) (-> Expression Statement) (statement (format " " (:representation message))))] -- cgit v1.2.3