aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/target
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/meta/target/common_lisp.lux8
-rw-r--r--stdlib/source/library/lux/meta/target/js.lux8
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/bytecode/address.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/registry.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/stack.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/bytecode/instruction.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/constant.lux6
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/constant/tag.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/encoding/name.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/encoding/signed.lux6
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/encoding/unsigned.lux6
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/index.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/modifier.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/modifier/inner.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/type.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/type/category.lux20
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/type/descriptor.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/type/lux.lux2
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/type/reflection.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/jvm/type/signature.lux4
-rw-r--r--stdlib/source/library/lux/meta/target/lua.lux8
-rw-r--r--stdlib/source/library/lux/meta/target/php.lux8
-rw-r--r--stdlib/source/library/lux/meta/target/python.lux10
-rw-r--r--stdlib/source/library/lux/meta/target/r.lux10
-rw-r--r--stdlib/source/library/lux/meta/target/ruby.lux8
-rw-r--r--stdlib/source/library/lux/meta/target/scheme.lux8
26 files changed, 80 insertions, 80 deletions
diff --git a/stdlib/source/library/lux/meta/target/common_lisp.lux b/stdlib/source/library/lux/meta/target/common_lisp.lux
index 9d92f4557..64af1340f 100644
--- a/stdlib/source/library/lux/meta/target/common_lisp.lux
+++ b/stdlib/source/library/lux/meta/target/common_lisp.lux
@@ -15,13 +15,13 @@
[macro
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
(def as_form
(-> Text Text)
(text.enclosed ["(" ")"]))
-(primitive .public (Code brand)
+(primitive.def .public (Code brand)
Text
(def .public manual
@@ -34,7 +34,7 @@
(with_template [<type> <super>]
[(with_expansions [<brand> (template.symbol [<type> "'"])]
- (`` (primitive .public (<brand> brand) Any))
+ (`` (primitive.def .public (<brand> brand) Any))
(`` (type .public (<type> brand)
(<super> (<brand> brand)))))]
@@ -48,7 +48,7 @@
(with_template [<type> <super>]
[(with_expansions [<brand> (template.symbol [<type> "'"])]
- (`` (primitive .public <brand> Any))
+ (`` (primitive.def .public <brand> Any))
(`` (type .public <type> (<super> <brand>))))]
[Label Code]
diff --git a/stdlib/source/library/lux/meta/target/js.lux b/stdlib/source/library/lux/meta/target/js.lux
index 0a56ad62a..4460eb45b 100644
--- a/stdlib/source/library/lux/meta/target/js.lux
+++ b/stdlib/source/library/lux/meta/target/js.lux
@@ -16,7 +16,7 @@
[macro
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
(def expression
(text.enclosed ["(" ")"]))
@@ -34,7 +34,7 @@
(|>> (format \n+)
(text.replaced text.new_line (format text.new_line text.tab))))
-(primitive .public (Code brand)
+(primitive.def .public (Code brand)
Text
(def .public code
@@ -43,7 +43,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]]
@@ -54,7 +54,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>+))))))]
[Var [Location' Computation' Expression' Code]]
diff --git a/stdlib/source/library/lux/meta/target/jvm/bytecode/address.lux b/stdlib/source/library/lux/meta/target/jvm/bytecode/address.lux
index 66b50f65a..92dac219f 100644
--- a/stdlib/source/library/lux/meta/target/jvm/bytecode/address.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/bytecode/address.lux
@@ -16,7 +16,7 @@
["n" nat]]]
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" //
[jump (.only Big_Jump)]
["/[1]" //
@@ -24,7 +24,7 @@
["[1][0]" unsigned (.only U2)]
["[1][0]" signed (.only S4)]]]])
-(primitive .public Address
+(primitive.def .public Address
U2
(def .public value
diff --git a/stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/registry.lux b/stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/registry.lux
index 3f16fa4a2..a4064ce18 100644
--- a/stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/registry.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/registry.lux
@@ -15,7 +15,7 @@
["n" nat]]]
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" /////
[encoding
["[1][0]" unsigned (.only U1 U2)]]
@@ -29,7 +29,7 @@
(def normal 1)
(def wide 2)
-(primitive .public Registry
+(primitive.def .public Registry
U2
(def .public registry
diff --git a/stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/stack.lux b/stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/stack.lux
index 7c7e0472e..5ea838b14 100644
--- a/stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/stack.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/bytecode/environment/limit/stack.lux
@@ -13,12 +13,12 @@
[\\format (.only Format)]]]
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" /////
[encoding
["[1][0]" unsigned (.only U2)]]])
-(primitive .public Stack
+(primitive.def .public Stack
U2
(with_template [<frames> <name>]
diff --git a/stdlib/source/library/lux/meta/target/jvm/bytecode/instruction.lux b/stdlib/source/library/lux/meta/target/jvm/bytecode/instruction.lux
index 573424e12..16bc84c5e 100644
--- a/stdlib/source/library/lux/meta/target/jvm/bytecode/instruction.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/bytecode/instruction.lux
@@ -23,7 +23,7 @@
[macro
["[0]" template]]
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" //
["[1][0]" address (.only Address)]
["[1][0]" jump (.only Jump Big_Jump)]
@@ -222,7 +222,7 @@
[(n.+ (///unsigned.value ..size/211) size)
(|>> mutation ((trinary/211' opcode input0 input1 input2)))])])
-(primitive .public Primitive_Array_Type
+(primitive.def .public Primitive_Array_Type
U1
(def code
diff --git a/stdlib/source/library/lux/meta/target/jvm/constant.lux b/stdlib/source/library/lux/meta/target/jvm/constant.lux
index a24ae8cb8..b3fbb5cef 100644
--- a/stdlib/source/library/lux/meta/target/jvm/constant.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/constant.lux
@@ -23,7 +23,7 @@
["^" pattern]
["[0]" template]]
[type
- [primitive (.except #name)]]]]]
+ ["[0]" primitive (.except def #name)]]]]]
["[0]" /
["[1][0]" tag]
["/[1]" //
@@ -41,7 +41,7 @@
(Format UTF8)
binaryF.utf8_16)
-(primitive .public Class
+(primitive.def .public Class
(Index UTF8)
(def .public index
@@ -82,7 +82,7 @@
"[1]::[0]"
("static" doubleToRawLongBits [double] long))
-(primitive .public (Value kind)
+(primitive.def .public (Value kind)
kind
(def .public value
diff --git a/stdlib/source/library/lux/meta/target/jvm/constant/tag.lux b/stdlib/source/library/lux/meta/target/jvm/constant/tag.lux
index f6917a5d0..63d5a88f4 100644
--- a/stdlib/source/library/lux/meta/target/jvm/constant/tag.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/constant/tag.lux
@@ -10,12 +10,12 @@
[\\format (.only Format)]]]
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" ///
[encoding
["[1][0]" unsigned (.only U1) (.use "u1//[0]" equivalence)]]])
-(primitive .public Tag
+(primitive.def .public Tag
U1
(def .public equivalence
diff --git a/stdlib/source/library/lux/meta/target/jvm/encoding/name.lux b/stdlib/source/library/lux/meta/target/jvm/encoding/name.lux
index 7516cdc46..dfbf8f419 100644
--- a/stdlib/source/library/lux/meta/target/jvm/encoding/name.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/encoding/name.lux
@@ -6,7 +6,7 @@
["%" \\format (.only format)]]]
[meta
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
(def .public internal_separator "/")
(def .public external_separator ".")
@@ -14,7 +14,7 @@
(type .public External
Text)
-(primitive .public Internal
+(primitive.def .public Internal
Text
(def .public internal
diff --git a/stdlib/source/library/lux/meta/target/jvm/encoding/signed.lux b/stdlib/source/library/lux/meta/target/jvm/encoding/signed.lux
index 11a43668f..7bb8f86fc 100644
--- a/stdlib/source/library/lux/meta/target/jvm/encoding/signed.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/encoding/signed.lux
@@ -21,9 +21,9 @@
[macro
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
-(primitive .public (Signed brand)
+(primitive.def .public (Signed brand)
Int
(def .public value
@@ -51,7 +51,7 @@
(with_template [<bytes> <name> <size> <constructor> <maximum> <minimum> <+> <->]
[(with_expansions [<raw> (template.symbol [<name> "'"])]
- (primitive <raw> Any)
+ (primitive.def <raw> Any)
(type .public <name> (Signed <raw>)))
(def .public <size> <bytes>)
diff --git a/stdlib/source/library/lux/meta/target/jvm/encoding/unsigned.lux b/stdlib/source/library/lux/meta/target/jvm/encoding/unsigned.lux
index 0c6e7cde3..e34ad104f 100644
--- a/stdlib/source/library/lux/meta/target/jvm/encoding/unsigned.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/encoding/unsigned.lux
@@ -20,9 +20,9 @@
[macro
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
-(primitive .public (Unsigned brand)
+(primitive.def .public (Unsigned brand)
Nat
(def .public value
@@ -60,7 +60,7 @@
(with_template [<bytes> <name> <size> <constructor> <maximum> <+> <-> <max>]
[(with_expansions [<raw> (template.symbol [<name> "'"])]
- (primitive .public <raw> Any)
+ (primitive.def .public <raw> Any)
(type .public <name> (Unsigned <raw>)))
(def .public <size> <bytes>)
diff --git a/stdlib/source/library/lux/meta/target/jvm/index.lux b/stdlib/source/library/lux/meta/target/jvm/index.lux
index 05489792b..2ac48514b 100644
--- a/stdlib/source/library/lux/meta/target/jvm/index.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/index.lux
@@ -8,7 +8,7 @@
[\\format (.only Format)]]]
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" //
[encoding
["[1][0]" unsigned (.only U2)]]])
@@ -16,7 +16,7 @@
(def .public length
//unsigned.bytes/2)
-(primitive .public (Index kind)
+(primitive.def .public (Index kind)
U2
(def .public index
diff --git a/stdlib/source/library/lux/meta/target/jvm/modifier.lux b/stdlib/source/library/lux/meta/target/jvm/modifier.lux
index 87cbff564..6cac02f5c 100644
--- a/stdlib/source/library/lux/meta/target/jvm/modifier.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/modifier.lux
@@ -19,12 +19,12 @@
[macro (.only with_symbols)
[syntax (.only syntax)]]
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" //
[encoding
["[1][0]" unsigned]]])
-(primitive .public (Modifier of)
+(primitive.def .public (Modifier of)
//unsigned.U2
(def .public code
diff --git a/stdlib/source/library/lux/meta/target/jvm/modifier/inner.lux b/stdlib/source/library/lux/meta/target/jvm/modifier/inner.lux
index c61569575..5fc4e07ff 100644
--- a/stdlib/source/library/lux/meta/target/jvm/modifier/inner.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/modifier/inner.lux
@@ -3,10 +3,10 @@
[lux (.except static)
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
[// (.only modifiers)])
-(primitive .public Inner Any)
+(primitive.def .public Inner Any)
(modifiers
Inner
diff --git a/stdlib/source/library/lux/meta/target/jvm/type.lux b/stdlib/source/library/lux/meta/target/jvm/type.lux
index 3e5f0641f..f55b66ef9 100644
--- a/stdlib/source/library/lux/meta/target/jvm/type.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/type.lux
@@ -16,7 +16,7 @@
["n" nat]]]
[meta
[type
- [primitive (.except #name)]]]]]
+ ["[0]" primitive (.except def #name)]]]]]
["[0]" //
[encoding
["[1][0]" name (.only External)]]]
@@ -26,7 +26,7 @@
["[1][0]" descriptor (.only Descriptor)]
["[1][0]" reflection (.only Reflection)]])
-(primitive .public (Type category)
+(primitive.def .public (Type category)
[(Signature category)
(Descriptor category)
(Reflection category)]
diff --git a/stdlib/source/library/lux/meta/target/jvm/type/category.lux b/stdlib/source/library/lux/meta/target/jvm/type/category.lux
index fcd7e7dac..9dfe3344c 100644
--- a/stdlib/source/library/lux/meta/target/jvm/type/category.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/type/category.lux
@@ -5,26 +5,26 @@
[macro
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
-(primitive Void' Any)
-(primitive .public (Value' kind) Any)
-(primitive .public (Return' kind) Any)
-(primitive .public Method Any)
+(primitive.def Void' Any)
+(primitive.def .public (Value' kind) Any)
+(primitive.def .public (Return' kind) Any)
+(primitive.def .public Method Any)
(type .public Return (<| Return' Any))
(type .public Value (<| Return' Value' Any))
(type .public Void (<| Return' Void'))
-(primitive (Object' brand) Any)
+(primitive.def (Object' brand) Any)
(type .public Object (<| Return' Value' Object' Any))
-(primitive (Parameter' brand) Any)
+(primitive.def (Parameter' brand) Any)
(type .public Parameter (<| Return' Value' Object' Parameter' Any))
(with_template [<parents> <child>]
[(with_expansions [<raw> (template.symbol [<child> "'"])]
- (primitive <raw> Any)
+ (primitive.def <raw> Any)
(type .public <child>
(`` (<| Return' Value' (,, (template.spliced <parents>)) <raw>))))]
@@ -34,5 +34,5 @@
[[Object' Parameter'] Array]
)
-(primitive .public Declaration Any)
-(primitive .public Inheritance Any)
+(primitive.def .public Declaration Any)
+(primitive.def .public Inheritance Any)
diff --git a/stdlib/source/library/lux/meta/target/jvm/type/descriptor.lux b/stdlib/source/library/lux/meta/target/jvm/type/descriptor.lux
index 593c33e40..c9d50b9da 100644
--- a/stdlib/source/library/lux/meta/target/jvm/type/descriptor.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/type/descriptor.lux
@@ -15,14 +15,14 @@
["n" nat]]]
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" //
[category (.only Void Value Return Method Primitive Object Class Array Var Parameter Declaration)]
["/[1]" //
[encoding
["[1][0]" name (.only Internal External)]]]])
-(primitive .public (Descriptor category)
+(primitive.def .public (Descriptor category)
Text
(def .public descriptor
diff --git a/stdlib/source/library/lux/meta/target/jvm/type/lux.lux b/stdlib/source/library/lux/meta/target/jvm/type/lux.lux
index 89639ce4d..306f88580 100644
--- a/stdlib/source/library/lux/meta/target/jvm/type/lux.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/type/lux.lux
@@ -31,7 +31,7 @@
["[1][0]" name]]]])
(with_template [<name>]
- [(:.primitive .public (<name> class) Any)]
+ [(:.def .public (<name> class) Any)]
[Lower]
[Upper]
diff --git a/stdlib/source/library/lux/meta/target/jvm/type/reflection.lux b/stdlib/source/library/lux/meta/target/jvm/type/reflection.lux
index ae1e6c5cf..0cb424d28 100644
--- a/stdlib/source/library/lux/meta/target/jvm/type/reflection.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/type/reflection.lux
@@ -8,7 +8,7 @@
["%" \\format (.only format)]]]
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" //
[category (.only Void Value Return Method Primitive Object Class Array Var Parameter Declaration)]
["[1][0]" descriptor]
@@ -16,7 +16,7 @@
[encoding
["[1][0]" name (.only External)]]]])
-(primitive .public (Reflection category)
+(primitive.def .public (Reflection category)
Text
(def .public reflection
diff --git a/stdlib/source/library/lux/meta/target/jvm/type/signature.lux b/stdlib/source/library/lux/meta/target/jvm/type/signature.lux
index c24f1057d..8a0cbc5f5 100644
--- a/stdlib/source/library/lux/meta/target/jvm/type/signature.lux
+++ b/stdlib/source/library/lux/meta/target/jvm/type/signature.lux
@@ -13,7 +13,7 @@
["[0]" list (.use "[1]#[0]" functor)]]]
[meta
[type
- [primitive (.except)]]]]]
+ ["[0]" primitive (.except def)]]]]]
["[0]" //
[category (.only Void Value Return Method Primitive Object Class Array Var Parameter Declaration Inheritance)]
["[1][0]" descriptor]
@@ -21,7 +21,7 @@
[encoding
["[1][0]" name (.only External)]]]])
-(primitive .public (Signature category)
+(primitive.def .public (Signature category)
Text
(def .public signature
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]]
diff --git a/stdlib/source/library/lux/meta/target/php.lux b/stdlib/source/library/lux/meta/target/php.lux
index 748d852c2..e68d9cc37 100644
--- a/stdlib/source/library/lux/meta/target/php.lux
+++ b/stdlib/source/library/lux/meta/target/php.lux
@@ -24,7 +24,7 @@
[syntax (.only syntax)]
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
(def input_separator ", ")
(def statement_suffix ";")
@@ -48,7 +48,7 @@
(-> Text Text)
(text.enclosed ["(" ")"]))
-(primitive .public (Code brand)
+(primitive.def .public (Code brand)
Text
(def .public equivalence
@@ -73,7 +73,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]]
@@ -84,7 +84,7 @@
(with_template [<type> <super>+]
[(with_expansions [<brand> (template.symbol [<type> "'"])]
- (primitive .public <brand> Any)
+ (primitive.def .public <brand> Any)
(`` (type .public <type> (|> <brand> (,, (template.spliced <super>+))))))]
[Literal [Computation' Expression' Code]]
diff --git a/stdlib/source/library/lux/meta/target/python.lux b/stdlib/source/library/lux/meta/target/python.lux
index 93014c3e4..9ff10bbe0 100644
--- a/stdlib/source/library/lux/meta/target/python.lux
+++ b/stdlib/source/library/lux/meta/target/python.lux
@@ -25,7 +25,7 @@
[syntax (.only syntax)]
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
(.def input_separator
", ")
@@ -57,7 +57,7 @@
(|>> (format \n+)
(text.replaced text.new_line nested_new_line)))))
-(primitive .public (Code brand)
+(primitive.def .public (Code brand)
Text
(.def .public equivalence
@@ -82,7 +82,7 @@
(with_template [<type> <super>]
[(with_expansions [<brand> (template.symbol [<type> "'"])]
- (`` (primitive (<brand> brand) Any))
+ (`` (primitive.def (<brand> brand) Any))
(`` (type .public (<type> brand)
(<super> (<brand> brand)))))]
@@ -95,7 +95,7 @@
(with_template [<type> <super>]
[(with_expansions [<brand> (template.symbol [<type> "'"])]
- (`` (primitive <brand> Any))
+ (`` (primitive.def <brand> Any))
(`` (type .public <type> (<super> <brand>))))]
[Literal Computation]
@@ -104,7 +104,7 @@
)
(with_template [<var> <brand>]
- [(primitive .public <brand> Any)
+ [(primitive.def .public <brand> Any)
(type .public <var> (Var <brand>))]
diff --git a/stdlib/source/library/lux/meta/target/r.lux b/stdlib/source/library/lux/meta/target/r.lux
index 7da2c28bd..ae57971a3 100644
--- a/stdlib/source/library/lux/meta/target/r.lux
+++ b/stdlib/source/library/lux/meta/target/r.lux
@@ -20,14 +20,14 @@
[syntax (.only syntax)]
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
-(primitive .public (Code kind)
+(primitive.def .public (Code kind)
Text
(with_template [<type> <super>+]
[(with_expansions [<kind> (template.symbol [<type> "'"])]
- (primitive .public (<kind> kind) Any)
+ (primitive.def .public (<kind> kind) Any)
(`` (type .public <type> (|> Any <kind> (,, (template.spliced <super>+))))))]
[Expression [Code]]
@@ -35,14 +35,14 @@
(with_template [<type> <super>+]
[(with_expansions [<kind> (template.symbol [<type> "'"])]
- (primitive .public (<kind> kind) Any)
+ (primitive.def .public (<kind> kind) Any)
(`` (type .public (<type> <brand>) (|> <brand> <kind> (,, (template.spliced <super>+))))))]
[Var [Expression' Code]]
)
(with_template [<var> <kind>]
- [(primitive .public <kind> Any)
+ [(primitive.def .public <kind> Any)
(type .public <var> (Var <kind>))]
[SVar Single]
diff --git a/stdlib/source/library/lux/meta/target/ruby.lux b/stdlib/source/library/lux/meta/target/ruby.lux
index 628c02eb3..2bef96112 100644
--- a/stdlib/source/library/lux/meta/target/ruby.lux
+++ b/stdlib/source/library/lux/meta/target/ruby.lux
@@ -24,7 +24,7 @@
[syntax (.only syntax)]
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
(def input_separator ", ")
(def statement_suffix ";")
@@ -40,7 +40,7 @@
(|>> (format \n+)
(text.replaced text.new_line nested_new_line))))
-(primitive .public (Code brand)
+(primitive.def .public (Code brand)
Text
(def .public equivalence
@@ -59,7 +59,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]]
@@ -72,7 +72,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]]
diff --git a/stdlib/source/library/lux/meta/target/scheme.lux b/stdlib/source/library/lux/meta/target/scheme.lux
index 51a712a6f..af3fd8b00 100644
--- a/stdlib/source/library/lux/meta/target/scheme.lux
+++ b/stdlib/source/library/lux/meta/target/scheme.lux
@@ -20,7 +20,7 @@
[macro
["[0]" template]]
[type
- [primitive (.except)]]]]])
+ ["[0]" primitive (.except def)]]]]])
... Added the carriage return for better Windows compatibility.
(def \n+
@@ -32,7 +32,7 @@
(.let [nested_new_line (format text.new_line text.tab)]
(text.replaced text.new_line nested_new_line)))
-(primitive .public (Code k)
+(primitive.def .public (Code k)
Text
(def .public equivalence
@@ -48,14 +48,14 @@
(def hash (|>> representation (at text.hash hash)))))
(with_template [<type> <brand> <super>+]
- [(primitive .public (<brand> brand) Any)
+ [(primitive.def .public (<brand> brand) Any)
(`` (type .public <type> (|> Any <brand> (,, (template.spliced <super>+)))))]
[Expression Expression' [Code]]
)
(with_template [<type> <brand> <super>+]
- [(primitive .public <brand> Any)
+ [(primitive.def .public <brand> Any)
(`` (type .public <type> (|> <brand> (,, (template.spliced <super>+)))))]
[Var Var' [Expression' Code]]