diff options
author | Eduardo Julian | 2022-10-24 19:28:57 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-10-24 19:28:57 -0400 |
commit | 8d4c256f8b56561869c14df02db695d774c74fa6 (patch) | |
tree | 3acdc7e92008bbe8a74e84610ea4daebd292678a /stdlib/source/library/lux/meta/target/lua.lux | |
parent | 45c599e49ae2659331d13222948f7e755967fdf9 (diff) |
Minor naming & syntax improvements.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/meta/target/lua.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/meta/target/lua.lux b/stdlib/source/library/lux/meta/target/lua.lux index 8168b065b..063c0fc4d 100644 --- a/stdlib/source/library/lux/meta/target/lua.lux +++ b/stdlib/source/library/lux/meta/target/lua.lux @@ -25,7 +25,7 @@ [syntax (.only syntax)] ["[0]" template]] [type - [primitive (.except)]]]]]) + ["[0]" primitive (.except def)]]]]]) ... Added the carriage return for better Windows compatibility. (def \n+ @@ -40,7 +40,7 @@ (def input_separator ", ") -(primitive .public (Code brand) +(primitive.def .public (Code brand) Text (def .public equivalence @@ -65,7 +65,7 @@ (with_template [<type> <super>+] [(with_expansions [<brand> (template.symbol [<type> "'"])] - (primitive (<brand> brand) Any) + (primitive.def (<brand> brand) Any) (`` (type .public <type> (|> Any <brand> (,, (template.spliced <super>+))))))] [Expression [Code]] @@ -76,7 +76,7 @@ (with_template [<type> <super>+] [(with_expansions [<brand> (template.symbol [<type> "'"])] - (primitive <brand> Any) + (primitive.def <brand> Any) (`` (type .public <type> (|> <brand> (,, (template.spliced <super>+))))))] [Literal [Computation' Expression' Code]] |