diff options
author | Eduardo Julian | 2022-06-03 20:02:46 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-03 20:02:46 -0400 |
commit | 3e7d188cbe7bc9bce4a14318e2f62583fe2501d1 (patch) | |
tree | 9dde4f6cb8f16829b2fa43fbccffaa1b3e2659bd /stdlib/source/test/lux/macro | |
parent | 0e34448e5c0ffd9c39d67c2f859e91942e1ab0a4 (diff) |
Extensible import syntax [Part 4]
Diffstat (limited to 'stdlib/source/test/lux/macro')
-rw-r--r-- | stdlib/source/test/lux/macro/local.lux | 4 | ||||
-rw-r--r-- | stdlib/source/test/lux/macro/syntax.lux | 4 | ||||
-rw-r--r-- | stdlib/source/test/lux/macro/syntax/check.lux | 4 | ||||
-rw-r--r-- | stdlib/source/test/lux/macro/syntax/definition.lux | 6 | ||||
-rw-r--r-- | stdlib/source/test/lux/macro/syntax/input.lux | 2 | ||||
-rw-r--r-- | stdlib/source/test/lux/macro/template.lux | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/stdlib/source/test/lux/macro/local.lux b/stdlib/source/test/lux/macro/local.lux index 9af43e8a4..79c0688c5 100644 --- a/stdlib/source/test/lux/macro/local.lux +++ b/stdlib/source/test/lux/macro/local.lux @@ -8,7 +8,7 @@ [control ["[0]" try] ["[0]" exception] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data [text @@ -17,7 +17,7 @@ ["[0]" list] [dictionary ["[0]" plist]]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math diff --git a/stdlib/source/test/lux/macro/syntax.lux b/stdlib/source/test/lux/macro/syntax.lux index 9c094d3ea..bf072f679 100644 --- a/stdlib/source/test/lux/macro/syntax.lux +++ b/stdlib/source/test/lux/macro/syntax.lux @@ -13,13 +13,13 @@ ["n" nat]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" check] ["[1][0]" declaration] ["[1][0]" definition] ["[1][0]" export] ["[1][0]" input] - ["[1][0]" type "_" + ["[1][0]" type ["[1]/[0]" variable]]]) (/.syntax: (+/3 [a <code>.any diff --git a/stdlib/source/test/lux/macro/syntax/check.lux b/stdlib/source/test/lux/macro/syntax/check.lux index 9306672d0..f5ec2a9ae 100644 --- a/stdlib/source/test/lux/macro/syntax/check.lux +++ b/stdlib/source/test/lux/macro/syntax/check.lux @@ -8,7 +8,7 @@ ["$[0]" equivalence]]] [control ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [math ["[0]" random (.only Random)]] @@ -16,7 +16,7 @@ ["[0]" code ("[1]#[0]" equivalence)]]]] [\\library ["[0]" /]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" code]]) (def: .public random diff --git a/stdlib/source/test/lux/macro/syntax/definition.lux b/stdlib/source/test/lux/macro/syntax/definition.lux index 1947d0ad1..a657bb83f 100644 --- a/stdlib/source/test/lux/macro/syntax/definition.lux +++ b/stdlib/source/test/lux/macro/syntax/definition.lux @@ -9,7 +9,7 @@ [control ["[0]" try] ["[0]" exception] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [macro ["[0]" code ("[1]#[0]" equivalence)]] @@ -19,9 +19,9 @@ ["[0]" location]]]] [\\library ["[0]" /]] - ["$[0]"// "_" + ["$[0]"// ["[1][0]" check] - ["[1]/" // "_" + ["[1]/" // ["[1][0]" code]]]) (def: .public random diff --git a/stdlib/source/test/lux/macro/syntax/input.lux b/stdlib/source/test/lux/macro/syntax/input.lux index 28e669496..a7f94d4bd 100644 --- a/stdlib/source/test/lux/macro/syntax/input.lux +++ b/stdlib/source/test/lux/macro/syntax/input.lux @@ -19,7 +19,7 @@ ["n" nat]]]]] [\\library ["[0]" /]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" code]]) (def: .public random diff --git a/stdlib/source/test/lux/macro/template.lux b/stdlib/source/test/lux/macro/template.lux index 0be375703..eb5d1de14 100644 --- a/stdlib/source/test/lux/macro/template.lux +++ b/stdlib/source/test/lux/macro/template.lux @@ -12,7 +12,7 @@ [data [collection ["[0]" list]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math |