diff options
Diffstat (limited to '')
551 files changed, 1430 insertions, 1434 deletions
diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux index 1fa7eb5da..61e33e679 100644 --- a/stdlib/source/documentation/lux.lux +++ b/stdlib/source/documentation/lux.lux @@ -6,7 +6,7 @@ ["[0]" debug] [control ["[0]" io] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" text (.only \n) @@ -18,7 +18,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" abstract] ["[1][0]" control] ["[1][0]" data] diff --git a/stdlib/source/documentation/lux/abstract.lux b/stdlib/source/documentation/lux/abstract.lux index aef84136c..ca69f44b8 100644 --- a/stdlib/source/documentation/lux/abstract.lux +++ b/stdlib/source/documentation/lux/abstract.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" apply] ["[1][0]" codec] ["[1][0]" comonad] diff --git a/stdlib/source/documentation/lux/abstract/comonad.lux b/stdlib/source/documentation/lux/abstract/comonad.lux index 0c81013ff..11bdfa0c6 100644 --- a/stdlib/source/documentation/lux/abstract/comonad.lux +++ b/stdlib/source/documentation/lux/abstract/comonad.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" cofree]]) (documentation: (/.CoMonad !) diff --git a/stdlib/source/documentation/lux/abstract/functor.lux b/stdlib/source/documentation/lux/abstract/functor.lux index 837dba3e6..ef5d6c383 100644 --- a/stdlib/source/documentation/lux/abstract/functor.lux +++ b/stdlib/source/documentation/lux/abstract/functor.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" contravariant]]) (documentation: /.sum diff --git a/stdlib/source/documentation/lux/abstract/monad.lux b/stdlib/source/documentation/lux/abstract/monad.lux index 6134bceda..09842cc98 100644 --- a/stdlib/source/documentation/lux/abstract/monad.lux +++ b/stdlib/source/documentation/lux/abstract/monad.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" free]]) (documentation: (/.Monad it) diff --git a/stdlib/source/documentation/lux/control.lux b/stdlib/source/documentation/lux/control.lux index 5d0f65082..0ce549f16 100644 --- a/stdlib/source/documentation/lux/control.lux +++ b/stdlib/source/documentation/lux/control.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" concatenative] ["[1][0]" concurrency] ["[1][0]" continuation] diff --git a/stdlib/source/documentation/lux/control/concurrency.lux b/stdlib/source/documentation/lux/control/concurrency.lux index a86099f34..7987307bc 100644 --- a/stdlib/source/documentation/lux/control/concurrency.lux +++ b/stdlib/source/documentation/lux/control/concurrency.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" actor] ["[1][0]" async] ["[1][0]" atom] diff --git a/stdlib/source/documentation/lux/control/function.lux b/stdlib/source/documentation/lux/control/function.lux index 96afbe70e..a3e52da7c 100644 --- a/stdlib/source/documentation/lux/control/function.lux +++ b/stdlib/source/documentation/lux/control/function.lux @@ -9,7 +9,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" contract] ["[1][0]" memo] ["[1][0]" mixin] diff --git a/stdlib/source/documentation/lux/control/parser.lux b/stdlib/source/documentation/lux/control/parser.lux index 7f5746109..e1bfe59ee 100644 --- a/stdlib/source/documentation/lux/control/parser.lux +++ b/stdlib/source/documentation/lux/control/parser.lux @@ -9,7 +9,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" analysis] ["[1][0]" binary] ["[1][0]" cli] diff --git a/stdlib/source/documentation/lux/control/security.lux b/stdlib/source/documentation/lux/control/security.lux index 99e97c42f..e0915b80a 100644 --- a/stdlib/source/documentation/lux/control/security.lux +++ b/stdlib/source/documentation/lux/control/security.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" capability] ["[1][0]" policy]]) diff --git a/stdlib/source/documentation/lux/data.lux b/stdlib/source/documentation/lux/data.lux index 3262d245d..ab891f2fc 100644 --- a/stdlib/source/documentation/lux/data.lux +++ b/stdlib/source/documentation/lux/data.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" binary] ["[1][0]" bit] ["[1][0]" collection] diff --git a/stdlib/source/documentation/lux/data/collection.lux b/stdlib/source/documentation/lux/data/collection.lux index 70faa47ad..8d0a0fbb2 100644 --- a/stdlib/source/documentation/lux/data/collection.lux +++ b/stdlib/source/documentation/lux/data/collection.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" array] ["[1][0]" bits] ["[1][0]" dictionary] diff --git a/stdlib/source/documentation/lux/data/collection/dictionary.lux b/stdlib/source/documentation/lux/data/collection/dictionary.lux index 8368a6560..fa324c8a7 100644 --- a/stdlib/source/documentation/lux/data/collection/dictionary.lux +++ b/stdlib/source/documentation/lux/data/collection/dictionary.lux @@ -14,7 +14,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" ordered] ["[1][0]" plist]]) diff --git a/stdlib/source/documentation/lux/data/collection/queue.lux b/stdlib/source/documentation/lux/data/collection/queue.lux index ef209e2f5..cde4e7b66 100644 --- a/stdlib/source/documentation/lux/data/collection/queue.lux +++ b/stdlib/source/documentation/lux/data/collection/queue.lux @@ -14,7 +14,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" priority]]) (documentation: (/.Queue it) diff --git a/stdlib/source/documentation/lux/data/collection/set.lux b/stdlib/source/documentation/lux/data/collection/set.lux index cec303f5e..500295231 100644 --- a/stdlib/source/documentation/lux/data/collection/set.lux +++ b/stdlib/source/documentation/lux/data/collection/set.lux @@ -12,7 +12,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" multi] ["[1][0]" ordered]]) diff --git a/stdlib/source/documentation/lux/data/collection/tree.lux b/stdlib/source/documentation/lux/data/collection/tree.lux index 06acabc71..fd16730bd 100644 --- a/stdlib/source/documentation/lux/data/collection/tree.lux +++ b/stdlib/source/documentation/lux/data/collection/tree.lux @@ -3,7 +3,7 @@ [lux (.except list) ["$" documentation (.only documentation:)] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" text (.only \n) @@ -12,7 +12,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" finger] ["[1][0]" zipper]]) diff --git a/stdlib/source/documentation/lux/data/color.lux b/stdlib/source/documentation/lux/data/color.lux index aac10f86f..145c4b68a 100644 --- a/stdlib/source/documentation/lux/data/color.lux +++ b/stdlib/source/documentation/lux/data/color.lux @@ -3,7 +3,7 @@ [lux (.full) ["$" documentation (.only documentation:)] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" text (.only \n) @@ -14,7 +14,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" named]]) (documentation: /.RGB diff --git a/stdlib/source/documentation/lux/data/color/named.lux b/stdlib/source/documentation/lux/data/color/named.lux index cb0a5b0c1..631f7bed9 100644 --- a/stdlib/source/documentation/lux/data/color/named.lux +++ b/stdlib/source/documentation/lux/data/color/named.lux @@ -3,7 +3,7 @@ [lux (.full) ["$" documentation (.only documentation:)] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" text diff --git a/stdlib/source/documentation/lux/data/format.lux b/stdlib/source/documentation/lux/data/format.lux index eca14c0ab..9df498ff5 100644 --- a/stdlib/source/documentation/lux/data/format.lux +++ b/stdlib/source/documentation/lux/data/format.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" binary] ["[1][0]" json] ["[1][0]" tar] diff --git a/stdlib/source/documentation/lux/data/text.lux b/stdlib/source/documentation/lux/data/text.lux index 7bff14dfd..386cf4b90 100644 --- a/stdlib/source/documentation/lux/data/text.lux +++ b/stdlib/source/documentation/lux/data/text.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" buffer] ["[1][0]" encoding] ["[1][0]" escape] diff --git a/stdlib/source/documentation/lux/data/text/encoding.lux b/stdlib/source/documentation/lux/data/text/encoding.lux index 4e230176b..518e37507 100644 --- a/stdlib/source/documentation/lux/data/text/encoding.lux +++ b/stdlib/source/documentation/lux/data/text/encoding.lux @@ -9,7 +9,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" utf8]]) (documentation: /.Encoding diff --git a/stdlib/source/documentation/lux/data/text/unicode.lux b/stdlib/source/documentation/lux/data/text/unicode.lux index 9fece3f24..8237798c9 100644 --- a/stdlib/source/documentation/lux/data/text/unicode.lux +++ b/stdlib/source/documentation/lux/data/text/unicode.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" block] ["[1][0]" set]]) diff --git a/stdlib/source/documentation/lux/locale.lux b/stdlib/source/documentation/lux/locale.lux index 8817840ec..d559a7fe2 100644 --- a/stdlib/source/documentation/lux/locale.lux +++ b/stdlib/source/documentation/lux/locale.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" language] ["[1][0]" territory]] [\\library diff --git a/stdlib/source/documentation/lux/macro.lux b/stdlib/source/documentation/lux/macro.lux index 012536430..1e60483d6 100644 --- a/stdlib/source/documentation/lux/macro.lux +++ b/stdlib/source/documentation/lux/macro.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" code] ["[1][0]" local] ["[1][0]" syntax] diff --git a/stdlib/source/documentation/lux/macro/syntax.lux b/stdlib/source/documentation/lux/macro/syntax.lux index a8cf1f5b8..2cc4ffcb9 100644 --- a/stdlib/source/documentation/lux/macro/syntax.lux +++ b/stdlib/source/documentation/lux/macro/syntax.lux @@ -7,13 +7,13 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[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]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/documentation/lux/math.lux b/stdlib/source/documentation/lux/math.lux index 443bb2350..749ed8056 100644 --- a/stdlib/source/documentation/lux/math.lux +++ b/stdlib/source/documentation/lux/math.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" infix] ["[1][0]" modulus] ["[1][0]" modular] diff --git a/stdlib/source/documentation/lux/math/logic.lux b/stdlib/source/documentation/lux/math/logic.lux index 3f75957ef..ea6a28f65 100644 --- a/stdlib/source/documentation/lux/math/logic.lux +++ b/stdlib/source/documentation/lux/math/logic.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" monoid)]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" continuous] ["[1][0]" fuzzy]]) diff --git a/stdlib/source/documentation/lux/math/number.lux b/stdlib/source/documentation/lux/math/number.lux index 00f929420..90dce2151 100644 --- a/stdlib/source/documentation/lux/math/number.lux +++ b/stdlib/source/documentation/lux/math/number.lux @@ -9,7 +9,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" i8] ["[1][0]" i16] ["[1][0]" i32] diff --git a/stdlib/source/documentation/lux/meta.lux b/stdlib/source/documentation/lux/meta.lux index 5461d7009..16dba7db0 100644 --- a/stdlib/source/documentation/lux/meta.lux +++ b/stdlib/source/documentation/lux/meta.lux @@ -9,7 +9,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" location] ["[1][0]" symbol]]) diff --git a/stdlib/source/documentation/lux/target.lux b/stdlib/source/documentation/lux/target.lux index 838f372e5..352ec0005 100644 --- a/stdlib/source/documentation/lux/target.lux +++ b/stdlib/source/documentation/lux/target.lux @@ -9,7 +9,7 @@ ["[0]" list]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" js] ["[1][0]" jvm] ["[1][0]" lua] diff --git a/stdlib/source/documentation/lux/target/jvm.lux b/stdlib/source/documentation/lux/target/jvm.lux index 0870ad6eb..f39821c38 100644 --- a/stdlib/source/documentation/lux/target/jvm.lux +++ b/stdlib/source/documentation/lux/target/jvm.lux @@ -9,7 +9,7 @@ ["[0]" list]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" type]]) (.def: .public documentation diff --git a/stdlib/source/documentation/lux/target/jvm/type.lux b/stdlib/source/documentation/lux/target/jvm/type.lux index 66f11fafc..df5badd44 100644 --- a/stdlib/source/documentation/lux/target/jvm/type.lux +++ b/stdlib/source/documentation/lux/target/jvm/type.lux @@ -9,7 +9,7 @@ ["[0]" list]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" alias] ["[1][0]" box] ["[1][0]" category] diff --git a/stdlib/source/documentation/lux/time.lux b/stdlib/source/documentation/lux/time.lux index 22216ccee..6337f6e1b 100644 --- a/stdlib/source/documentation/lux/time.lux +++ b/stdlib/source/documentation/lux/time.lux @@ -3,7 +3,7 @@ [lux (.except and) ["$" documentation (.only documentation:)] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" text (.only \n) @@ -12,7 +12,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" date] ["[1][0]" day] ["[1][0]" duration] diff --git a/stdlib/source/documentation/lux/tool.lux b/stdlib/source/documentation/lux/tool.lux index 3f9392e0a..4476ebf9d 100644 --- a/stdlib/source/documentation/lux/tool.lux +++ b/stdlib/source/documentation/lux/tool.lux @@ -7,7 +7,7 @@ ["%" format (.only format)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / [compiler ["[1][0]" phase] [language diff --git a/stdlib/source/documentation/lux/type.lux b/stdlib/source/documentation/lux/type.lux index 47c063f93..d1aef3ff2 100644 --- a/stdlib/source/documentation/lux/type.lux +++ b/stdlib/source/documentation/lux/type.lux @@ -12,7 +12,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" primitive] ["[1][0]" check] ["[1][0]" dynamic] diff --git a/stdlib/source/documentation/lux/world.lux b/stdlib/source/documentation/lux/world.lux index 00249fb69..cf194bac5 100644 --- a/stdlib/source/documentation/lux/world.lux +++ b/stdlib/source/documentation/lux/world.lux @@ -9,14 +9,14 @@ [data [collection ["[0]" list ("[1]#[0]" monoid)]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" console] ["[1][0]" file] - ["[1][0]" input "_" + ["[1][0]" input ["[1]/[0]" keyboard]] ["[1][0]" net] - ["[1][0]" output "_" - ["[1]/[0]" video "_" + ["[1][0]" output + ["[1]/[0]" video ["[1]/[0]" resolution]]] ["[1][0]" program] ["[1][0]" shell]]) diff --git a/stdlib/source/documentation/lux/world/file.lux b/stdlib/source/documentation/lux/world/file.lux index aebeecfbd..d55565872 100644 --- a/stdlib/source/documentation/lux/world/file.lux +++ b/stdlib/source/documentation/lux/world/file.lux @@ -4,7 +4,7 @@ ["$" documentation (.only documentation:)] ["@" target] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" text (.only \n) @@ -13,7 +13,7 @@ ["[0]" template]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" watch]]) (documentation: /.Path diff --git a/stdlib/source/documentation/lux/world/net.lux b/stdlib/source/documentation/lux/world/net.lux index 26eaa5d87..38ea7dce0 100644 --- a/stdlib/source/documentation/lux/world/net.lux +++ b/stdlib/source/documentation/lux/world/net.lux @@ -8,9 +8,9 @@ ["[0]" io]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" uri] - ["[1][0]" http "_" + ["[1][0]" http ["[1]/[0]" client] ["[1]/[0]" status]]]) diff --git a/stdlib/source/library/lux.lux b/stdlib/source/library/lux.lux index ec325459b..def83aa1c 100644 --- a/stdlib/source/library/lux.lux +++ b/stdlib/source/library/lux.lux @@ -3377,7 +3377,6 @@ (type: Referrals (Variant - {#Ignore} {#Nothing} {#Referral [Symbol (List Code)]})) @@ -3395,19 +3394,39 @@ #import_alias (Maybe Text) #import_refer Refer])) -(def: (referrals_parser tokens) - (-> (List Code) (Meta [Referrals (List Code)])) +... TODO: Allow asking the compiler for the name of the definition +... currently being defined. That name can then be fed into +... 'wrong_syntax_error' for easier maintenance of the error_messages. +(def: (wrong_syntax_error it) + (-> Symbol Text) + (|> it + symbol#encoded + (text#composite "Wrong syntax for "))) + +(macro: .public (symbol tokens) + (case tokens + (pattern (list [_ {#Symbol [module name]}])) + (meta#in (list (` [(~ (text$ module)) (~ (text$ name))]))) + + _ + (failure (..wrong_syntax_error [..prelude_module "symbol"])))) + +(def: (referrals_parser aliased? tokens) + (-> Bit (List Code) (Meta [Referrals (List Code)])) (case tokens (pattern (partial_list [_ {#Form (partial_list [_ {#Symbol macro}] defs)}] tokens')) (meta#in [{#Referral [macro defs]} tokens']) - (pattern#or (pattern (partial_list [_ {#Text "_"}] tokens')) - (pattern (partial_list [_ {#Text "ignore"}] tokens'))) - (meta#in [{#Ignore} tokens']) - + (pattern (list)) + (meta#in [(if aliased? + {#Referral [(symbol ..none) (list)]} + {#Nothing}) + (list)]) + _ - (meta#in [{#Nothing} tokens]))) + (meta#in [{#Nothing} + tokens]))) (def: (openings_parser parts) (-> (List Code) (Meta [(List Openings) (List Code)])) @@ -3563,7 +3582,7 @@ {#None} (..absolute_module_name nested? relative_root module_name)) - referral+extra (referrals_parser extra) + referral+extra (referrals_parser #0 extra) .let [[referral extra] referral+extra] openings+extra (openings_parser extra) .let [[openings extra] openings+extra] @@ -3587,14 +3606,14 @@ {#None} (..absolute_module_name nested? relative_root module_name)) - referral+extra (referrals_parser extra) + referral+extra (referrals_parser #1 extra) .let [[referral extra] referral+extra] openings+extra (openings_parser extra) .let [[openings extra] openings+extra module_alias (..module_alias {#Item module_name context} alias)] sub_imports (imports_parser #1 absolute_module_name {#Item module_alias context} extra)] (in (case [referral openings] - [{#Ignore} {#End}] + [{#Nothing} {#End}] sub_imports _ @@ -3687,23 +3706,6 @@ cases)] output)) -... TODO: Allow asking the compiler for the name of the definition -... currently being defined. That name can then be fed into -... 'wrong_syntax_error' for easier maintenance of the error_messages. -(def: (wrong_syntax_error it) - (-> Symbol Text) - (|> it - symbol#encoded - (text#composite "Wrong syntax for "))) - -(macro: .public (symbol tokens) - (case tokens - (pattern (list [_ {#Symbol [module name]}])) - (meta#in (list (` [(~ (text$ module)) (~ (text$ name))]))) - - _ - (failure (..wrong_syntax_error [..prelude_module "symbol"])))) - (def: (test_referrals current_module imported_module all_defs referred_defs) (-> Text Text (List Text) (List Text) (Meta (List Any))) (monad#each meta_monad @@ -3762,16 +3764,23 @@ {.#None} (failure (..wrong_syntax_error (symbol ..except))))) -(macro: .public (full tokens) - (case (..parsed (all ..andP - ..anyP - ..anyP) - tokens) - {.#Some [current_module imported_module]} - (meta#in (list (` (..except (~ current_module) (~ imported_module))))) - - {.#None} - (failure (..wrong_syntax_error (symbol ..full))))) +(template [<simple> <complex>] + [(macro: .public (<simple> tokens) + (case (..parsed (all ..andP + ..anyP + ..anyP) + tokens) + {.#Some [current_module imported_module]} + (meta#in (list (` (<complex> (~ current_module) (~ imported_module))))) + + {.#None} + (let [[module _] (symbol .._) + [_ short] (symbol <simple>)] + (failure (..wrong_syntax_error [module short])))))] + + [full ..except] + [none ..only] + ) (def: (in_env name state) (-> Text Lux (Maybe Type)) @@ -4137,7 +4146,7 @@ (def: (referrals module_name options) (-> Text (List Code) (Meta Refer)) (do meta_monad - [referral+options (referrals_parser options) + [referral+options (referrals_parser #0 options) .let [[referral options] referral+options] openings+options (openings_parser options) .let [[openings options] openings+options] @@ -4168,9 +4177,6 @@ (failure (all text#composite _def " is not defined in module " module_name " @ " current_module))))) referred_defs)))] defs (case r_defs - {#Ignore} - (in (list)) - {#Nothing} (in (list)) @@ -4203,9 +4209,6 @@ (let [module_alias (..maybe#else module_name module_alias') localizations (is (List Code) (case r_defs - {#Ignore} - (list) - {#Nothing} (list) diff --git a/stdlib/source/library/lux/abstract/monad/indexed.lux b/stdlib/source/library/lux/abstract/monad/indexed.lux index 668499130..ad28a2649 100644 --- a/stdlib/source/library/lux/abstract/monad/indexed.lux +++ b/stdlib/source/library/lux/abstract/monad/indexed.lux @@ -2,12 +2,12 @@ [library [lux (.except global) [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data [collection ["[0]" list ("[1]#[0]" functor mix)]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]]]] ["[0]" //]) diff --git a/stdlib/source/library/lux/abstract/predicate.lux b/stdlib/source/library/lux/abstract/predicate.lux index 590741de7..2ac8933fb 100644 --- a/stdlib/source/library/lux/abstract/predicate.lux +++ b/stdlib/source/library/lux/abstract/predicate.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.except all or and) + [lux (.except all or and none) [control ["[0]" function]]]] [// diff --git a/stdlib/source/library/lux/control/concatenative.lux b/stdlib/source/library/lux/control/concatenative.lux index 87c487ae0..e53790026 100644 --- a/stdlib/source/library/lux/control/concatenative.lux +++ b/stdlib/source/library/lux/control/concatenative.lux @@ -7,7 +7,7 @@ [control ["[0]" maybe ("[1]#[0]" monad)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" mix functor)]]] diff --git a/stdlib/source/library/lux/control/concurrency/atom.lux b/stdlib/source/library/lux/control/concurrency/atom.lux index 40ce195b9..58691f52c 100644 --- a/stdlib/source/library/lux/control/concurrency/atom.lux +++ b/stdlib/source/library/lux/control/concurrency/atom.lux @@ -11,7 +11,7 @@ [data ["[0]" product] [collection - ["[0]" array "_" + ["[0]" array ["[1]" \\unsafe]]]] [type [primitive (.full)] diff --git a/stdlib/source/library/lux/control/exception.lux b/stdlib/source/library/lux/control/exception.lux index 2c310210a..34bdd22c2 100644 --- a/stdlib/source/library/lux/control/exception.lux +++ b/stdlib/source/library/lux/control/exception.lux @@ -18,7 +18,7 @@ ["[0]" code] [syntax (.only syntax:) ["|[0]|" input] - ["[0]" type "_" + ["[0]" type ["|[1]_[0]|" variable]]]] [math [number diff --git a/stdlib/source/library/lux/control/function/inline.lux b/stdlib/source/library/lux/control/function/inline.lux index 6973ed20a..f83d6418c 100644 --- a/stdlib/source/library/lux/control/function/inline.lux +++ b/stdlib/source/library/lux/control/function/inline.lux @@ -5,12 +5,12 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data [collection ["[0]" list ("[1]#[0]" monad)]]] - ["[0]" macro + ["[0]" macro (.only) ["[0]" code] [syntax (.only syntax:) ["|[0]|" export]]]]]) diff --git a/stdlib/source/library/lux/control/function/memo.lux b/stdlib/source/library/lux/control/function/memo.lux index 4a927235b..1bd9db5a6 100644 --- a/stdlib/source/library/lux/control/function/memo.lux +++ b/stdlib/source/library/lux/control/function/memo.lux @@ -3,7 +3,7 @@ (.using [library - [lux (.except open) + [lux (.except open none) ["[0]" type] [abstract [hash (.only Hash)] @@ -14,7 +14,7 @@ ["[0]" product] [collection ["[0]" dictionary (.only Dictionary)]]]]] - ["[0]" // "_" + ["[0]" // ["[1]" mixin (.only Mixin Recursive)]]) (def: .public memoization diff --git a/stdlib/source/library/lux/control/function/mutual.lux b/stdlib/source/library/lux/control/function/mutual.lux index 534b8ef9a..65b8b9a6b 100644 --- a/stdlib/source/library/lux/control/function/mutual.lux +++ b/stdlib/source/library/lux/control/function/mutual.lux @@ -17,7 +17,7 @@ ["[0]" list ("[1]#[0]" functor)] [dictionary ["[0]" plist (.only PList)]]]] - ["[0]" macro + ["[0]" macro (.only) ["[0]" local] ["[0]" code] [syntax (.only syntax:) diff --git a/stdlib/source/library/lux/control/parser/analysis.lux b/stdlib/source/library/lux/control/parser/analysis.lux index 11024afc2..d6fb20e2b 100644 --- a/stdlib/source/library/lux/control/parser/analysis.lux +++ b/stdlib/source/library/lux/control/parser/analysis.lux @@ -8,7 +8,7 @@ ["[0]" exception (.only exception:)]] [data ["[0]" bit] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)]]] diff --git a/stdlib/source/library/lux/control/parser/binary.lux b/stdlib/source/library/lux/control/parser/binary.lux index 10e010919..e566a58a5 100644 --- a/stdlib/source/library/lux/control/parser/binary.lux +++ b/stdlib/source/library/lux/control/parser/binary.lux @@ -10,7 +10,7 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["/" binary "_" + ["/" binary ["[1]" \\unsafe (.only Binary)]] [text ["%" format (.only format)] diff --git a/stdlib/source/library/lux/control/parser/environment.lux b/stdlib/source/library/lux/control/parser/environment.lux index 53c103876..86ccd13b2 100644 --- a/stdlib/source/library/lux/control/parser/environment.lux +++ b/stdlib/source/library/lux/control/parser/environment.lux @@ -6,7 +6,7 @@ ["[0]" exception (.only exception:)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)]]]]] diff --git a/stdlib/source/library/lux/control/parser/synthesis.lux b/stdlib/source/library/lux/control/parser/synthesis.lux index 39c5b4d46..47179c5d8 100644 --- a/stdlib/source/library/lux/control/parser/synthesis.lux +++ b/stdlib/source/library/lux/control/parser/synthesis.lux @@ -8,7 +8,7 @@ ["[0]" exception (.only exception:)]] [data ["[0]" bit] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [math [number diff --git a/stdlib/source/library/lux/control/pipe.lux b/stdlib/source/library/lux/control/pipe.lux index 911061cb2..4e352584c 100644 --- a/stdlib/source/library/lux/control/pipe.lux +++ b/stdlib/source/library/lux/control/pipe.lux @@ -5,7 +5,7 @@ ["[0]" monad]] [control ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" identity] diff --git a/stdlib/source/library/lux/control/region.lux b/stdlib/source/library/lux/control/region.lux index 10824e5f7..86bddcfac 100644 --- a/stdlib/source/library/lux/control/region.lux +++ b/stdlib/source/library/lux/control/region.lux @@ -8,7 +8,7 @@ [control ["[0]" try (.only Try)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" mix)]]]]] diff --git a/stdlib/source/library/lux/control/security/capability.lux b/stdlib/source/library/lux/control/security/capability.lux index 7b5dfcd37..08ccaafac 100644 --- a/stdlib/source/library/lux/control/security/capability.lux +++ b/stdlib/source/library/lux/control/security/capability.lux @@ -5,7 +5,7 @@ [monad (.only do)]] [control ["[0]" io (.only IO)] - ["<>" parser + ["<>" parser (.only) ["<c>" code]] [concurrency ["[0]" async (.only Async)]]] @@ -17,7 +17,7 @@ [type [primitive (.full)]] ["[0]" meta] - ["[0]" macro + ["[0]" macro (.only) ["[0]" code] [syntax (.only syntax:) ["|[0]|" export] diff --git a/stdlib/source/library/lux/control/thread.lux b/stdlib/source/library/lux/control/thread.lux index 7ef58a98a..ccb4f654a 100644 --- a/stdlib/source/library/lux/control/thread.lux +++ b/stdlib/source/library/lux/control/thread.lux @@ -10,7 +10,7 @@ ["[0]" io (.only IO)]] [data [collection - ["[0]" array "_" + ["[0]" array ["[1]" \\unsafe (.only Array)]]]] [type [primitive (.full)] diff --git a/stdlib/source/library/lux/data/binary.lux b/stdlib/source/library/lux/data/binary.lux index db030b692..a88729a42 100644 --- a/stdlib/source/library/lux/data/binary.lux +++ b/stdlib/source/library/lux/data/binary.lux @@ -17,7 +17,7 @@ [math [number ["n" nat]]]]] - ["[0]" / "_" + ["[0]" / ["[1]" \\unsafe]]) (type: .public Binary diff --git a/stdlib/source/library/lux/data/collection/dictionary.lux b/stdlib/source/library/lux/data/collection/dictionary.lux index 37436adc1..7f30db024 100644 --- a/stdlib/source/library/lux/data/collection/dictionary.lux +++ b/stdlib/source/library/lux/data/collection/dictionary.lux @@ -14,12 +14,12 @@ ["[0]" product] [collection ["[0]" list ("[1]#[0]" mix functor monoid)] - ["[0]" array "_" + ["[0]" array ["[1]" \\unsafe (.only Array)]]]] [macro ["^" pattern]] [math - ["[0]" number + ["[0]" number (.only) ["n" nat] ["[0]" i64]]]]]) diff --git a/stdlib/source/library/lux/data/collection/queue/priority.lux b/stdlib/source/library/lux/data/collection/queue/priority.lux index fed73a606..c63677872 100644 --- a/stdlib/source/library/lux/data/collection/queue/priority.lux +++ b/stdlib/source/library/lux/data/collection/queue/priority.lux @@ -8,7 +8,7 @@ ["[0]" maybe]] [data [collection - ["[0]" tree "_" + ["[0]" tree ["[1]" finger (.only Tree)]]]] [math [number diff --git a/stdlib/source/library/lux/data/collection/sequence.lux b/stdlib/source/library/lux/data/collection/sequence.lux index 0fe2d9472..065bb8941 100644 --- a/stdlib/source/library/lux/data/collection/sequence.lux +++ b/stdlib/source/library/lux/data/collection/sequence.lux @@ -17,13 +17,13 @@ ["[0]" maybe ("[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] [collection ["[0]" list ("[1]#[0]" mix functor monoid)] - ["[0]" array "_" + ["[0]" array ["[1]" \\unsafe (.only Array)]]]] [macro [syntax (.only syntax:)] diff --git a/stdlib/source/library/lux/data/collection/set.lux b/stdlib/source/library/lux/data/collection/set.lux index 2b3fe410b..4d9e696d9 100644 --- a/stdlib/source/library/lux/data/collection/set.lux +++ b/stdlib/source/library/lux/data/collection/set.lux @@ -14,7 +14,7 @@ [math [number ["n" nat]]]]] - ["[0]" // "_" + ["[0]" // ["[1]" dictionary (.only Dictionary)]]) (type: .public (Set a) diff --git a/stdlib/source/library/lux/data/collection/set/multi.lux b/stdlib/source/library/lux/data/collection/set/multi.lux index c268dda54..377ee54fd 100644 --- a/stdlib/source/library/lux/data/collection/set/multi.lux +++ b/stdlib/source/library/lux/data/collection/set/multi.lux @@ -15,7 +15,7 @@ ["n" nat]]] [type ["[0]" primitive (.only primitive: abstraction representation)]]]] - ["[0]" // + ["[0]" // (.only) [// ["[0]" list ("[1]#[0]" mix monoid)] ["[0]" dictionary (.only Dictionary)]]]) diff --git a/stdlib/source/library/lux/data/collection/stream.lux b/stdlib/source/library/lux/data/collection/stream.lux index 90fb05f3d..d62f1f23c 100644 --- a/stdlib/source/library/lux/data/collection/stream.lux +++ b/stdlib/source/library/lux/data/collection/stream.lux @@ -6,7 +6,7 @@ [comonad (.only CoMonad)]] [control ["//" continuation (.only Cont)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" bit] diff --git a/stdlib/source/library/lux/data/collection/tree.lux b/stdlib/source/library/lux/data/collection/tree.lux index bcbadda8e..01f6b31ab 100644 --- a/stdlib/source/library/lux/data/collection/tree.lux +++ b/stdlib/source/library/lux/data/collection/tree.lux @@ -7,7 +7,7 @@ [mix (.only Mix)] [monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data [collection diff --git a/stdlib/source/library/lux/data/format/binary.lux b/stdlib/source/library/lux/data/format/binary.lux index 17b47d2c5..860448136 100644 --- a/stdlib/source/library/lux/data/format/binary.lux +++ b/stdlib/source/library/lux/data/format/binary.lux @@ -12,7 +12,7 @@ ["<>" parser ("[1]#[0]" monad) ["</>" binary (.only Offset Size Parser)]]] [data - ["/" binary "_" + ["/" binary ["[1]" \\unsafe (.only Binary)]] ["[0]" product] [text diff --git a/stdlib/source/library/lux/data/format/css.lux b/stdlib/source/library/lux/data/format/css.lux index 6c9b1f43f..ee8b19f0c 100644 --- a/stdlib/source/library/lux/data/format/css.lux +++ b/stdlib/source/library/lux/data/format/css.lux @@ -4,7 +4,7 @@ [control ["[0]" maybe]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] ["[0]" encoding (.only Encoding)]] [collection @@ -16,7 +16,7 @@ [primitive (.except Frame pattern)]] [world [net (.only URL)]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" selector (.only Selector Combinator Specializer Generic)] ["[1][0]" value (.only Value Animation Percentage)] ["[1][0]" property (.only Property)] diff --git a/stdlib/source/library/lux/data/format/css/font.lux b/stdlib/source/library/lux/data/format/css/font.lux index eca6203fb..c3a64f16a 100644 --- a/stdlib/source/library/lux/data/format/css/font.lux +++ b/stdlib/source/library/lux/data/format/css/font.lux @@ -10,7 +10,7 @@ [syntax (.only syntax:)]] [world [net (.only URL)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" value (.only Value Font_Stretch Font_Style Font_Weight)]]) (type: .public Unicode_Range diff --git a/stdlib/source/library/lux/data/format/css/query.lux b/stdlib/source/library/lux/data/format/css/query.lux index 09cb98bf1..cadc7c716 100644 --- a/stdlib/source/library/lux/data/format/css/query.lux +++ b/stdlib/source/library/lux/data/format/css/query.lux @@ -13,7 +13,7 @@ [syntax (.only syntax:)]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" value (.only Value Length Count Resolution Ratio Orientation Scan Boolean Update Block_Overflow Inline_Overflow diff --git a/stdlib/source/library/lux/data/format/css/selector.lux b/stdlib/source/library/lux/data/format/css/selector.lux index 3a0352cac..abb951303 100644 --- a/stdlib/source/library/lux/data/format/css/selector.lux +++ b/stdlib/source/library/lux/data/format/css/selector.lux @@ -3,7 +3,7 @@ [lux (.except Label or and for same? not) ["[0]" locale (.only Locale)] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [math [number @@ -12,7 +12,7 @@ [primitive (.full)]] [macro ["[0]" template]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" id (.only ID)] ["[1][0]" class (.only Class)]]) diff --git a/stdlib/source/library/lux/data/format/css/style.lux b/stdlib/source/library/lux/data/format/css/style.lux index a83df7abd..a53935950 100644 --- a/stdlib/source/library/lux/data/format/css/style.lux +++ b/stdlib/source/library/lux/data/format/css/style.lux @@ -8,7 +8,7 @@ ["[0]" list ("[1]#[0]" mix)]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" value (.only Value)] ["[1][0]" property (.only Property)]]) diff --git a/stdlib/source/library/lux/data/format/markdown.lux b/stdlib/source/library/lux/data/format/markdown.lux index ff735a06d..0a3697a44 100644 --- a/stdlib/source/library/lux/data/format/markdown.lux +++ b/stdlib/source/library/lux/data/format/markdown.lux @@ -2,7 +2,7 @@ [library [lux (.except and) [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)]]] diff --git a/stdlib/source/library/lux/data/format/tar.lux b/stdlib/source/library/lux/data/format/tar.lux index 94316f96e..1c808ffe7 100644 --- a/stdlib/source/library/lux/data/format/tar.lux +++ b/stdlib/source/library/lux/data/format/tar.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.except Mode and) + [lux (.except Mode and none) [ffi (.only)] [abstract [monad (.only do)]] @@ -8,7 +8,7 @@ ["[0]" pipe] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary (.only Parser)]]] [data ["[0]" product] @@ -18,7 +18,7 @@ ["%" format (.only format)] [encoding ["[0]" utf8]]] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer) ("[1]#[0]" monoid)]] [collection ["[0]" list ("[1]#[0]" mix)] @@ -28,7 +28,7 @@ [macro ["^" pattern]] [math - ["[0]" number + ["[0]" number (.only) ["n" nat] ["[0]" i64]]] [time diff --git a/stdlib/source/library/lux/data/text/format.lux b/stdlib/source/library/lux/data/text/format.lux index 7997e19a0..87e258477 100644 --- a/stdlib/source/library/lux/data/text/format.lux +++ b/stdlib/source/library/lux/data/text/format.lux @@ -6,7 +6,7 @@ [functor ["[0]" contravariant]]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" bit] @@ -16,7 +16,7 @@ ["[0]" json]] [collection ["[0]" list ("[1]#[0]" monad)]]] - ["[0]" time + ["[0]" time (.only) ["[0]" instant] ["[0]" duration] ["[0]" date] diff --git a/stdlib/source/library/lux/data/text/regex.lux b/stdlib/source/library/lux/data/text/regex.lux index 4c6c91c8b..f9e57e97f 100644 --- a/stdlib/source/library/lux/data/text/regex.lux +++ b/stdlib/source/library/lux/data/text/regex.lux @@ -22,7 +22,7 @@ [math [number (.only hex) ["n" nat ("[1]#[0]" decimal)]]]]] - ["[0]" // + ["[0]" // (.only) ["%" format (.only format)]]) (def: regex_char^ diff --git a/stdlib/source/library/lux/data/text/unicode/set.lux b/stdlib/source/library/lux/data/text/unicode/set.lux index 2853746e7..967d8e06d 100644 --- a/stdlib/source/library/lux/data/text/unicode/set.lux +++ b/stdlib/source/library/lux/data/text/unicode/set.lux @@ -7,12 +7,12 @@ [collection ["[0]" list ("[1]#[0]" mix functor)] ["[0]" set ("[1]#[0]" equivalence)] - ["[0]" tree "_" + ["[0]" tree ["[1]" finger (.only Tree)]]]] [type (.only by_example) [primitive (.full)]]]] - ["[0]" / "_" - ["/[1]" // "_" + ["[0]" / + ["/[1]" // [// (.only Char)] ["[1][0]" block (.only Block)]]]) diff --git a/stdlib/source/library/lux/debug.lux b/stdlib/source/library/lux/debug.lux index b7fe4a054..3ec9155fa 100644 --- a/stdlib/source/library/lux/debug.lux +++ b/stdlib/source/library/lux/debug.lux @@ -12,11 +12,11 @@ ["[0]" function] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" type (.only Parser)] ["<[0]>" code]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only Format)]] [format [xml (.only XML)] diff --git a/stdlib/source/library/lux/documentation.lux b/stdlib/source/library/lux/documentation.lux index 71fbe297d..f39019bfd 100644 --- a/stdlib/source/library/lux/documentation.lux +++ b/stdlib/source/library/lux/documentation.lux @@ -21,7 +21,7 @@ ["[0]" stream (.only Stream)]] [format ["md" markdown (.only Markdown Block)]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["^" pattern] ["[0]" code] diff --git a/stdlib/source/library/lux/ffi.jvm.lux b/stdlib/source/library/lux/ffi.jvm.lux index 29b07fc8d..5d53095cf 100644 --- a/stdlib/source/library/lux/ffi.jvm.lux +++ b/stdlib/source/library/lux/ffi.jvm.lux @@ -25,7 +25,7 @@ ["[0]" code] ["[0]" template]] [target - ["[0]" jvm "_" + ["[0]" jvm [encoding ["[0]" name (.only External)]] ["[1]" type (.only Type Argument Typed) diff --git a/stdlib/source/library/lux/ffi/export.js.lux b/stdlib/source/library/lux/ffi/export.js.lux index 351d4eed1..e752dbf8e 100644 --- a/stdlib/source/library/lux/ffi/export.js.lux +++ b/stdlib/source/library/lux/ffi/export.js.lux @@ -7,7 +7,7 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data [text @@ -15,7 +15,7 @@ [collection ["[0]" list ("[1]#[0]" monad mix)] ["[0]" set]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math @@ -27,7 +27,7 @@ ["[0]" phase] [meta [cache - ["[0]" dependency "_" + ["[0]" dependency ["[1]" artifact]]]] [language [lux diff --git a/stdlib/source/library/lux/ffi/export.jvm.lux b/stdlib/source/library/lux/ffi/export.jvm.lux index 9ed7df9a0..17750a864 100644 --- a/stdlib/source/library/lux/ffi/export.jvm.lux +++ b/stdlib/source/library/lux/ffi/export.jvm.lux @@ -2,7 +2,7 @@ [library [lux (.except function) [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data [collection diff --git a/stdlib/source/library/lux/ffi/export.lua.lux b/stdlib/source/library/lux/ffi/export.lua.lux index 6d5ae8521..6fa43c27f 100644 --- a/stdlib/source/library/lux/ffi/export.lua.lux +++ b/stdlib/source/library/lux/ffi/export.lua.lux @@ -7,7 +7,7 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data [text @@ -15,7 +15,7 @@ [collection ["[0]" list ("[1]#[0]" monad mix)] ["[0]" set]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math @@ -27,7 +27,7 @@ ["[0]" phase] [meta [cache - ["[0]" dependency "_" + ["[0]" dependency ["[1]" artifact]]]] [language [lux diff --git a/stdlib/source/library/lux/ffi/export.py.lux b/stdlib/source/library/lux/ffi/export.py.lux index 3dface6f3..563783a3d 100644 --- a/stdlib/source/library/lux/ffi/export.py.lux +++ b/stdlib/source/library/lux/ffi/export.py.lux @@ -7,7 +7,7 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data [text @@ -15,7 +15,7 @@ [collection ["[0]" list ("[1]#[0]" monad mix)] ["[0]" set]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math @@ -27,7 +27,7 @@ ["[0]" phase] [meta [cache - ["[0]" dependency "_" + ["[0]" dependency ["[1]" artifact]]]] [language [lux diff --git a/stdlib/source/library/lux/ffi/export.rb.lux b/stdlib/source/library/lux/ffi/export.rb.lux index 275a095a5..e82fcbdb2 100644 --- a/stdlib/source/library/lux/ffi/export.rb.lux +++ b/stdlib/source/library/lux/ffi/export.rb.lux @@ -8,7 +8,7 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code] ["<[0]>" text (.only Parser)]]] [data @@ -17,7 +17,7 @@ [collection ["[0]" list ("[1]#[0]" monad mix)] ["[0]" set]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math @@ -29,13 +29,13 @@ ["[0]" phase] [meta [cache - ["[0]" dependency "_" + ["[0]" dependency ["[1]" artifact]]]] [language [lux ["[0]" generation] ["[0]" directive] - ["[0]" analysis "_" + ["[0]" analysis ["[1]" type]]]]]]]]) (def: upper! (<text>.one_of! "ABCDEFGHIJKLMNOPQRSTUVWXYZ")) diff --git a/stdlib/source/library/lux/locale.lux b/stdlib/source/library/lux/locale.lux index 2f3a6f1cf..3b543a2ce 100644 --- a/stdlib/source/library/lux/locale.lux +++ b/stdlib/source/library/lux/locale.lux @@ -7,7 +7,7 @@ [control ["[0]" maybe ("[1]#[0]" functor)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] ["[0]" encoding (.only Encoding)]]] [type diff --git a/stdlib/source/library/lux/macro.lux b/stdlib/source/library/lux/macro.lux index 47717174f..d9a68d76e 100644 --- a/stdlib/source/library/lux/macro.lux +++ b/stdlib/source/library/lux/macro.lux @@ -13,8 +13,8 @@ ["[0]" int]]]]] [/ ["[0]" code] - ["[0]" // "_" - ["[1]" meta + ["[0]" // + ["[1]" meta (.only) ["[0]" location] ["[0]" symbol ("[1]#[0]" codec)]]]]) diff --git a/stdlib/source/library/lux/macro/local.lux b/stdlib/source/library/lux/macro/local.lux index 8098bd4b3..b093e14bc 100644 --- a/stdlib/source/library/lux/macro/local.lux +++ b/stdlib/source/library/lux/macro/local.lux @@ -14,7 +14,7 @@ ["[0]" list ("[1]#[0]" functor)] [dictionary ["[0]" plist (.only PList)]]]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" code]]) (exception: .public (unknown_module [module Text]) diff --git a/stdlib/source/library/lux/macro/syntax.lux b/stdlib/source/library/lux/macro/syntax.lux index c905e6890..24c3d5f1a 100644 --- a/stdlib/source/library/lux/macro/syntax.lux +++ b/stdlib/source/library/lux/macro/syntax.lux @@ -7,7 +7,7 @@ [control ["[0]" maybe] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["</>" code (.only Parser)]]] [data ["[0]" text ("[1]#[0]" monoid)] @@ -21,7 +21,7 @@ ["[0]" frac]]]]] ["[0]" // (.only with_symbols) ["[0]" code]] - ["[0]" / "_" + ["[0]" / ["[1][0]" export]]) (def: (self_documenting binding parser) diff --git a/stdlib/source/library/lux/macro/syntax/check.lux b/stdlib/source/library/lux/macro/syntax/check.lux index 01df64b75..bdbd3fd8d 100644 --- a/stdlib/source/library/lux/macro/syntax/check.lux +++ b/stdlib/source/library/lux/macro/syntax/check.lux @@ -7,7 +7,7 @@ [monad (.only do)]] [control ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" product]] diff --git a/stdlib/source/library/lux/macro/syntax/definition.lux b/stdlib/source/library/lux/macro/syntax/definition.lux index 6754d3b27..5b75eafeb 100644 --- a/stdlib/source/library/lux/macro/syntax/definition.lux +++ b/stdlib/source/library/lux/macro/syntax/definition.lux @@ -6,21 +6,21 @@ [monad (.only do)]] [control ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" sum] ["[0]" product] ["[0]" bit] - ["[0]" text + ["[0]" text (.only) ["%" format]] [collection ["[0]" list]]] - ["[0]" macro + ["[0]" macro (.only) ["[0]" code]] - ["[0]" meta + ["[0]" meta (.only) ["[0]" location]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" check (.only Check)]]) (type: .public Definition diff --git a/stdlib/source/library/lux/macro/syntax/export.lux b/stdlib/source/library/lux/macro/syntax/export.lux index 1a837e032..91e298518 100644 --- a/stdlib/source/library/lux/macro/syntax/export.lux +++ b/stdlib/source/library/lux/macro/syntax/export.lux @@ -4,7 +4,7 @@ [abstract [monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [macro ["^" pattern]]]]) diff --git a/stdlib/source/library/lux/macro/syntax/input.lux b/stdlib/source/library/lux/macro/syntax/input.lux index 26629c652..f4589cfe0 100644 --- a/stdlib/source/library/lux/macro/syntax/input.lux +++ b/stdlib/source/library/lux/macro/syntax/input.lux @@ -4,7 +4,7 @@ [abstract [equivalence (.only Equivalence)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] diff --git a/stdlib/source/library/lux/macro/template.lux b/stdlib/source/library/lux/macro/template.lux index d19b3dc70..dc3ef5884 100644 --- a/stdlib/source/library/lux/macro/template.lux +++ b/stdlib/source/library/lux/macro/template.lux @@ -23,7 +23,7 @@ ["[0]" int ("[1]#[0]" decimal)] ["[0]" rev ("[1]#[0]" decimal)] ["[0]" frac ("[1]#[0]" decimal)]]]]] - ["[0]" // + ["[0]" // (.only) [syntax (.only syntax:)] ["[0]" code] ["[0]" local]]) diff --git a/stdlib/source/library/lux/math.lux b/stdlib/source/library/lux/math.lux index df21c1438..2427def89 100644 --- a/stdlib/source/library/lux/math.lux +++ b/stdlib/source/library/lux/math.lux @@ -9,7 +9,7 @@ [control ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data [text diff --git a/stdlib/source/library/lux/math/logic/fuzzy.lux b/stdlib/source/library/lux/math/logic/fuzzy.lux index 593849c22..fe49e10fd 100644 --- a/stdlib/source/library/lux/math/logic/fuzzy.lux +++ b/stdlib/source/library/lux/math/logic/fuzzy.lux @@ -13,7 +13,7 @@ [math [number ["/" rev]]]]] - ["[0]" // "_" + ["[0]" // ["[1]" continuous]]) (type: .public (Fuzzy a) diff --git a/stdlib/source/library/lux/math/modular.lux b/stdlib/source/library/lux/math/modular.lux index 6eed5b83e..3e0845d94 100644 --- a/stdlib/source/library/lux/math/modular.lux +++ b/stdlib/source/library/lux/math/modular.lux @@ -10,7 +10,7 @@ [control ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)] ["<[0]>" code]]] [data @@ -24,7 +24,7 @@ ["i" int ("[1]#[0]" decimal)]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // ["[1]" modulus (.only Modulus)]]) (primitive: .public (Mod m) diff --git a/stdlib/source/library/lux/math/number.lux b/stdlib/source/library/lux/math/number.lux index 37d636f58..ec523925f 100644 --- a/stdlib/source/library/lux/math/number.lux +++ b/stdlib/source/library/lux/math/number.lux @@ -9,7 +9,7 @@ ["[0]" text]] [macro ["^" pattern]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" nat] ["[1][0]" int] ["[1][0]" rev] diff --git a/stdlib/source/library/lux/math/number/complex.lux b/stdlib/source/library/lux/math/number/complex.lux index ff1def2a1..507d9b9ec 100644 --- a/stdlib/source/library/lux/math/number/complex.lux +++ b/stdlib/source/library/lux/math/number/complex.lux @@ -5,7 +5,7 @@ [equivalence (.only Equivalence)]] [control ["[0]" maybe] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data [collection diff --git a/stdlib/source/library/lux/math/number/frac.lux b/stdlib/source/library/lux/math/number/frac.lux index 0a4a3ed28..34fe47d52 100644 --- a/stdlib/source/library/lux/math/number/frac.lux +++ b/stdlib/source/library/lux/math/number/frac.lux @@ -17,7 +17,7 @@ ["[0]" text]] [macro ["^" pattern]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" i64] ["[1][0]" nat] ["[1][0]" int] diff --git a/stdlib/source/library/lux/math/number/int.lux b/stdlib/source/library/lux/math/number/int.lux index 5ef9c327f..cb4500a2e 100644 --- a/stdlib/source/library/lux/math/number/int.lux +++ b/stdlib/source/library/lux/math/number/int.lux @@ -17,7 +17,7 @@ [text (.only Char)]] [macro ["^" pattern]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" nat] ["[1][0]" i64]]) diff --git a/stdlib/source/library/lux/math/number/ratio.lux b/stdlib/source/library/lux/math/number/ratio.lux index d06d0737a..b7072395b 100644 --- a/stdlib/source/library/lux/math/number/ratio.lux +++ b/stdlib/source/library/lux/math/number/ratio.lux @@ -11,7 +11,7 @@ ["[0]" function] ["[0]" maybe] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] diff --git a/stdlib/source/library/lux/math/number/rev.lux b/stdlib/source/library/lux/math/number/rev.lux index 162a6ca0a..ae81a8869 100644 --- a/stdlib/source/library/lux/math/number/rev.lux +++ b/stdlib/source/library/lux/math/number/rev.lux @@ -15,7 +15,7 @@ [data [collection ["[0]" array (.only Array)]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" i64] ["[1][0]" nat] ["[1][0]" int]]) diff --git a/stdlib/source/library/lux/math/random.lux b/stdlib/source/library/lux/math/random.lux index f1b483685..13762f8ec 100644 --- a/stdlib/source/library/lux/math/random.lux +++ b/stdlib/source/library/lux/math/random.lux @@ -8,7 +8,7 @@ ["[0]" monad (.only Monad do)]] [data ["[0]" text (.only Char) ("[1]#[0]" monoid) - ["[0]" unicode "_" + ["[0]" unicode ["[1]" set]]] [collection ["[0]" list ("[1]#[0]" mix)] diff --git a/stdlib/source/library/lux/meta/configuration.lux b/stdlib/source/library/lux/meta/configuration.lux index ddbf0d5d4..7271f5430 100644 --- a/stdlib/source/library/lux/meta/configuration.lux +++ b/stdlib/source/library/lux/meta/configuration.lux @@ -9,7 +9,7 @@ [control ["[0]" maybe ("[1]#[0]" functor)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)] ["<[0]>" code]]] [data diff --git a/stdlib/source/library/lux/meta/version.lux b/stdlib/source/library/lux/meta/version.lux index cf2b1c491..9987d55c1 100644 --- a/stdlib/source/library/lux/meta/version.lux +++ b/stdlib/source/library/lux/meta/version.lux @@ -6,7 +6,7 @@ [monad (.only do)]] [control ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" text ("[1]#[0]" equivalence)] diff --git a/stdlib/source/library/lux/program.lux b/stdlib/source/library/lux/program.lux index ea5576ca0..daa3ec325 100644 --- a/stdlib/source/library/lux/program.lux +++ b/stdlib/source/library/lux/program.lux @@ -8,7 +8,7 @@ ["[0]" io] [concurrency ["[0]" thread]] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code] ["<[0]>" cli]]] [macro (.only with_symbols) diff --git a/stdlib/source/library/lux/static.lux b/stdlib/source/library/lux/static.lux index 611cab42c..0aec3e8c2 100644 --- a/stdlib/source/library/lux/static.lux +++ b/stdlib/source/library/lux/static.lux @@ -5,7 +5,7 @@ [abstract [monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data [collection diff --git a/stdlib/source/library/lux/target/js.lux b/stdlib/source/library/lux/target/js.lux index 1df20575d..ecae74ab2 100644 --- a/stdlib/source/library/lux/target/js.lux +++ b/stdlib/source/library/lux/target/js.lux @@ -4,7 +4,7 @@ [control ["[0]" pipe]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] @@ -15,7 +15,7 @@ ["i" int] ["f" frac]]] [type - [primitive (.full)]]]]) + [primitive (.except)]]]]) (def: expression (text.enclosed ["(" ")"])) diff --git a/stdlib/source/library/lux/target/jvm/attribute.lux b/stdlib/source/library/lux/target/jvm/attribute.lux index 6894a78bc..522cb9028 100644 --- a/stdlib/source/library/lux/target/jvm/attribute.lux +++ b/stdlib/source/library/lux/target/jvm/attribute.lux @@ -17,7 +17,7 @@ [math [number ["n" nat]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" index (.only Index)] ["[1][0]" type (.only Type) ["[2][0]" signature (.only Signature)]] @@ -25,7 +25,7 @@ ["[1][0]" unsigned (.only U2 U4)]] ["[1][0]" constant (.only UTF8 Class Value) ["[2][0]" pool (.only Pool Resource) ("[1]#[0]" monad)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" constant (.only Constant)] ["[1][0]" code]]) diff --git a/stdlib/source/library/lux/target/jvm/attribute/code.lux b/stdlib/source/library/lux/target/jvm/attribute/code.lux index 7cfd6bdd6..10d2bb92d 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/code.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/code.lux @@ -13,13 +13,13 @@ [math [number ["n" nat]]]]] - ["[0]" /// "_" + ["[0]" /// [bytecode [environment ["[1][0]" limit (.only Limit)]]] [encoding ["[1][0]" unsigned (.only U2)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" exception (.only Exception)]]) (type: .public (Code Attribute) diff --git a/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux b/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux index 90e1de102..fc57caa3c 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux @@ -5,13 +5,13 @@ [equivalence (.only Equivalence)]] [data ["[0]" product] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer)]]] [math [number ["n" nat]]]]] - ["[0]" // "_" - ["//[1]" /// "_" + ["[0]" // + ["//[1]" /// [constant (.only Class)] ["[1][0]" index (.only Index)] [bytecode diff --git a/stdlib/source/library/lux/target/jvm/attribute/constant.lux b/stdlib/source/library/lux/target/jvm/attribute/constant.lux index d3a837cea..daae078a5 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/constant.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/constant.lux @@ -6,7 +6,7 @@ [data [format [binary (.only Writer)]]]]] - ["[0]" /// "_" + ["[0]" /// [constant (.only Value)] ["[1][0]" index (.only Index)] [encoding diff --git a/stdlib/source/library/lux/target/jvm/bytecode.lux b/stdlib/source/library/lux/target/jvm/bytecode.lux index f0d345ef3..1f00b97c7 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode.lux @@ -28,7 +28,7 @@ ["n" nat] ["i" int] ["[0]" i32 (.only I32)]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" address (.only Address)] ["[1][0]" jump (.only Jump Big_Jump)] ["_" instruction (.only Primitive_Array_Type Instruction Estimator) ("[1]#[0]" monoid)] @@ -36,7 +36,7 @@ [limit ["/[0]" registry (.only Register Registry)] ["/[0]" stack (.only Stack)]]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" index (.only Index)] [encoding ["[1][0]" name] diff --git a/stdlib/source/library/lux/target/jvm/bytecode/address.lux b/stdlib/source/library/lux/target/jvm/bytecode/address.lux index c20fedb78..84e93dddd 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/address.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/address.lux @@ -16,9 +16,9 @@ ["n" nat]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // [jump (.only Big_Jump)] - ["/[1]" // "_" + ["/[1]" // [encoding ["[1][0]" unsigned (.only U2)] ["[1][0]" signed (.only S4)]]]]) diff --git a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux index 85fdbea32..05772986f 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux @@ -8,12 +8,12 @@ ["[0]" try (.only Try)]] [data ["[0]" product] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer) ("[1]#[0]" monoid)]]] [math [number ["n" nat]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" stack (.only Stack)] ["[1][0]" registry (.only Registry)] [//// diff --git a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/registry.lux b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/registry.lux index 2fe49b1dd..5304c5759 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/registry.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/registry.lux @@ -15,7 +15,7 @@ ["n" nat]]] [type [primitive (.full)]]]] - ["[0]" ///// "_" + ["[0]" ///// [encoding ["[1][0]" unsigned (.only U1 U2)]] ["[1][0]" type (.only Type) diff --git a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/stack.lux b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/stack.lux index 3e89d3edd..957dc1396 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/stack.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/stack.lux @@ -13,7 +13,7 @@ [binary (.only Writer)]]] [type [primitive (.full)]]]] - ["[0]" ///// "_" + ["[0]" ///// [encoding ["[1][0]" unsigned (.only U2)]]]) diff --git a/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux b/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux index 45d866c4e..737280844 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux @@ -10,10 +10,10 @@ ["[0]" try]] [data ["[0]" product] - ["[0]" binary "_" + ["[0]" binary [/ (.only)] ["[1]" \\unsafe]] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Mutation Specification)]] [collection ["[0]" list]]] @@ -24,13 +24,13 @@ ["n" nat]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" address (.only Address)] ["[1][0]" jump (.only Jump Big_Jump)] [environment [limit [registry (.only Register)]]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" index (.only Index)] ["[1][0]" constant (.only Class Reference)] [encoding diff --git a/stdlib/source/library/lux/target/jvm/bytecode/jump.lux b/stdlib/source/library/lux/target/jvm/bytecode/jump.lux index fa9c1564b..8732aeb2b 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/jump.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/jump.lux @@ -4,9 +4,9 @@ [abstract [equivalence (.only Equivalence)]] [data - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer)]]]]] - ["[0]" /// "_" + ["[0]" /// [encoding ["[1][0]" signed (.only S2 S4)]]]) diff --git a/stdlib/source/library/lux/target/jvm/class.lux b/stdlib/source/library/lux/target/jvm/class.lux index 5562fbda8..3af3c5c7c 100644 --- a/stdlib/source/library/lux/target/jvm/class.lux +++ b/stdlib/source/library/lux/target/jvm/class.lux @@ -13,7 +13,7 @@ ["[0]F" binary (.only Writer) ("[1]#[0]" monoid)]] [collection ["[0]" sequence (.only Sequence)]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" modifier (.only Modifier modifiers:)] ["[1][0]" version (.only Version Minor Major)] ["[1][0]" magic (.only Magic)] diff --git a/stdlib/source/library/lux/target/jvm/constant.lux b/stdlib/source/library/lux/target/jvm/constant.lux index d637900ce..070be106a 100644 --- a/stdlib/source/library/lux/target/jvm/constant.lux +++ b/stdlib/source/library/lux/target/jvm/constant.lux @@ -23,9 +23,9 @@ ["[0]" frac]]] [type [primitive (.full)]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" tag] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" index (.only Index)] [type ["[1][0]" category] diff --git a/stdlib/source/library/lux/target/jvm/constant/pool.lux b/stdlib/source/library/lux/target/jvm/constant/pool.lux index 77ae255f3..41f312071 100644 --- a/stdlib/source/library/lux/target/jvm/constant/pool.lux +++ b/stdlib/source/library/lux/target/jvm/constant/pool.lux @@ -13,7 +13,7 @@ [data ["[0]" product] ["[0]" text] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer) ("specification#[0]" monoid)]] [collection ["[0]" sequence (.only Sequence) ("[1]#[0]" mix)]]] diff --git a/stdlib/source/library/lux/target/jvm/constant/tag.lux b/stdlib/source/library/lux/target/jvm/constant/tag.lux index 157532f8e..e131f5637 100644 --- a/stdlib/source/library/lux/target/jvm/constant/tag.lux +++ b/stdlib/source/library/lux/target/jvm/constant/tag.lux @@ -10,7 +10,7 @@ [binary (.only Writer)]]] [type [primitive (.full)]]]] - ["[0]" /// "_" + ["[0]" /// [encoding ["[1][0]" unsigned (.only U1) ("u1//[0]" equivalence)]]]) diff --git a/stdlib/source/library/lux/target/jvm/encoding/name.lux b/stdlib/source/library/lux/target/jvm/encoding/name.lux index ead09ae87..2903d0647 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/name.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/name.lux @@ -2,7 +2,7 @@ [library [lux (.full) [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [type [primitive (.full)]]]]) diff --git a/stdlib/source/library/lux/target/jvm/encoding/signed.lux b/stdlib/source/library/lux/target/jvm/encoding/signed.lux index 5e4e6ab8f..b2a3ea524 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/signed.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/signed.lux @@ -10,7 +10,7 @@ [data [text ["%" format (.only format)]] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer)]]] [macro ["[0]" template]] diff --git a/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux b/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux index a9796e99e..4b1cf148d 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux @@ -10,7 +10,7 @@ [data [text ["%" format (.only format)]] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer)]]] [macro ["[0]" template]] diff --git a/stdlib/source/library/lux/target/jvm/field.lux b/stdlib/source/library/lux/target/jvm/field.lux index b480dd289..ade45a2f0 100644 --- a/stdlib/source/library/lux/target/jvm/field.lux +++ b/stdlib/source/library/lux/target/jvm/field.lux @@ -10,7 +10,7 @@ ["[0]F" binary (.only Writer) ("[1]#[0]" monoid)]] [collection ["[0]" sequence (.only Sequence)]]]]] - ["[0]" // "_" + ["[0]" // ["[0]" modifier (.only Modifier modifiers:)] ["[1][0]" constant (.only UTF8) ["[1]/[0]" pool (.only Pool Resource)]] diff --git a/stdlib/source/library/lux/target/jvm/index.lux b/stdlib/source/library/lux/target/jvm/index.lux index 341d0a48a..1c4639393 100644 --- a/stdlib/source/library/lux/target/jvm/index.lux +++ b/stdlib/source/library/lux/target/jvm/index.lux @@ -8,7 +8,7 @@ [binary (.only Writer)]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // [encoding ["[1][0]" unsigned (.only U2)]]]) diff --git a/stdlib/source/library/lux/target/jvm/loader.lux b/stdlib/source/library/lux/target/jvm/loader.lux index a7870f8fa..8a9ef6df3 100644 --- a/stdlib/source/library/lux/target/jvm/loader.lux +++ b/stdlib/source/library/lux/target/jvm/loader.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["@" target] ["[0]" ffi (.only import: object do_to)] [abstract @@ -13,7 +13,7 @@ ["[0]" atom (.only Atom)]]] [data ["[0]" binary (.only Binary)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" array] diff --git a/stdlib/source/library/lux/target/jvm/magic.lux b/stdlib/source/library/lux/target/jvm/magic.lux index f47f24a6c..eb84d4ccf 100644 --- a/stdlib/source/library/lux/target/jvm/magic.lux +++ b/stdlib/source/library/lux/target/jvm/magic.lux @@ -5,7 +5,7 @@ ["[0]" try]] [math [number (.only hex)]]]] - ["[0]" // "_" + ["[0]" // [encoding ["[1][0]" unsigned (.only U4)]]]) diff --git a/stdlib/source/library/lux/target/jvm/method.lux b/stdlib/source/library/lux/target/jvm/method.lux index a5c6316e7..5fcb74c45 100644 --- a/stdlib/source/library/lux/target/jvm/method.lux +++ b/stdlib/source/library/lux/target/jvm/method.lux @@ -8,11 +8,11 @@ ["[0]" try]] [data ["[0]" product] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer) ("[1]#[0]" monoid)]] [collection ["[0]" sequence (.only Sequence)]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" modifier (.only Modifier modifiers:)] ["[1][0]" index (.only Index)] ["[1][0]" attribute (.only Attribute) diff --git a/stdlib/source/library/lux/target/jvm/modifier.lux b/stdlib/source/library/lux/target/jvm/modifier.lux index 8a33a6da9..01b4c28be 100644 --- a/stdlib/source/library/lux/target/jvm/modifier.lux +++ b/stdlib/source/library/lux/target/jvm/modifier.lux @@ -6,7 +6,7 @@ ["[0]" monoid (.only Monoid)]] [control ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data [format @@ -19,7 +19,7 @@ ["[0]" i64]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // [encoding ["[1][0]" unsigned]]]) diff --git a/stdlib/source/library/lux/target/jvm/reflection.lux b/stdlib/source/library/lux/target/jvm/reflection.lux index 5ae40f701..cdfe9e9a0 100644 --- a/stdlib/source/library/lux/target/jvm/reflection.lux +++ b/stdlib/source/library/lux/target/jvm/reflection.lux @@ -22,10 +22,10 @@ [math [number ["n" nat]]]]] - ["[0]" // "_" + ["[0]" // [encoding ["[1][0]" name (.only External)]] - ["/" type + ["/" type (.only) [category (.only Void Value Return Method Primitive Object Class Array Parameter)] ["[1][0]" lux (.only Mapping)] ["[1][0]" descriptor] diff --git a/stdlib/source/library/lux/target/jvm/type.lux b/stdlib/source/library/lux/target/jvm/type.lux index 919f972eb..0c147ce6a 100644 --- a/stdlib/source/library/lux/target/jvm/type.lux +++ b/stdlib/source/library/lux/target/jvm/type.lux @@ -7,7 +7,7 @@ [control ["[0]" maybe]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only Format)]] [collection ["[0]" list ("[1]#[0]" functor)]]] @@ -16,10 +16,10 @@ ["n" nat]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // [encoding ["[1][0]" name (.only External)]]] - ["[0]" / "_" + ["[0]" / [category (.only Void Value' Value Return' Return Method Primitive Object Class Array Var Parameter Declaration)] ["[1][0]" signature (.only Signature)] ["[1][0]" descriptor (.only Descriptor)] diff --git a/stdlib/source/library/lux/target/jvm/type/alias.lux b/stdlib/source/library/lux/target/jvm/type/alias.lux index 5fd733703..7313b1e8b 100644 --- a/stdlib/source/library/lux/target/jvm/type/alias.lux +++ b/stdlib/source/library/lux/target/jvm/type/alias.lux @@ -7,10 +7,10 @@ ["[0]" maybe] ["[0]" try] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)]]]]] @@ -20,7 +20,7 @@ ["[1][0]" signature (.only Signature)] ["[1][0]" reflection] ["[1][0]" parser] - ["/[1]" // "_" + ["/[1]" // [encoding ["[1][0]" name]]]]) diff --git a/stdlib/source/library/lux/target/jvm/type/descriptor.lux b/stdlib/source/library/lux/target/jvm/type/descriptor.lux index 42c62c7d0..3d2f98b7b 100644 --- a/stdlib/source/library/lux/target/jvm/type/descriptor.lux +++ b/stdlib/source/library/lux/target/jvm/type/descriptor.lux @@ -15,9 +15,9 @@ ["n" nat]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // [category (.only Void Value Return Method Primitive Object Class Array Var Parameter Declaration)] - ["/[1]" // "_" + ["/[1]" // [encoding ["[1][0]" name (.only Internal External)]]]]) diff --git a/stdlib/source/library/lux/target/jvm/type/lux.lux b/stdlib/source/library/lux/target/jvm/type/lux.lux index b36f30f5f..671351662 100644 --- a/stdlib/source/library/lux/target/jvm/type/lux.lux +++ b/stdlib/source/library/lux/target/jvm/type/lux.lux @@ -18,14 +18,14 @@ [type [primitive (.full)] ["[0]" check (.only Check) ("[1]#[0]" monad)]]]] - ["[0]" // + ["[0]" // (.only) [category (.only Void Value Return Method Primitive Object Class Array Var Parameter)] ["[1][0]" descriptor] ["[1][0]" signature] ["[1][0]" reflection] ["[1][0]" parser] ["[1][0]" box] - ["/[1]" // "_" + ["/[1]" // [encoding ["[1][0]" name]]]]) diff --git a/stdlib/source/library/lux/target/jvm/type/parser.lux b/stdlib/source/library/lux/target/jvm/type/parser.lux index 91be344ea..4a0aa756c 100644 --- a/stdlib/source/library/lux/target/jvm/type/parser.lux +++ b/stdlib/source/library/lux/target/jvm/type/parser.lux @@ -18,7 +18,7 @@ [category (.only Void Value Return Method Primitive Object Class Array Var Parameter Declaration)] ["[1][0]" signature] ["[1][0]" descriptor] - ["[0]" // "_" + ["[0]" // (.only) [encoding ["[1][0]" name (.only External)]]]]) diff --git a/stdlib/source/library/lux/target/jvm/type/reflection.lux b/stdlib/source/library/lux/target/jvm/type/reflection.lux index 69ace7d12..4c0cd90f6 100644 --- a/stdlib/source/library/lux/target/jvm/type/reflection.lux +++ b/stdlib/source/library/lux/target/jvm/type/reflection.lux @@ -8,7 +8,7 @@ ["%" format (.only format)]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // [category (.only Void Value Return Method Primitive Object Class Array Var Parameter Declaration)] ["[1][0]" descriptor] [// diff --git a/stdlib/source/library/lux/target/jvm/type/signature.lux b/stdlib/source/library/lux/target/jvm/type/signature.lux index 442dfc471..c9b50a733 100644 --- a/stdlib/source/library/lux/target/jvm/type/signature.lux +++ b/stdlib/source/library/lux/target/jvm/type/signature.lux @@ -13,10 +13,10 @@ ["[0]" list ("[1]#[0]" functor)]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // [category (.only Void Value Return Method Primitive Object Class Array Var Parameter Declaration Inheritance)] ["[1][0]" descriptor] - ["/[1]" // "_" + ["/[1]" // [encoding ["[1][0]" name (.only External)]]]]) diff --git a/stdlib/source/library/lux/target/jvm/version.lux b/stdlib/source/library/lux/target/jvm/version.lux index f6c6a4d9e..f6b4a52b5 100644 --- a/stdlib/source/library/lux/target/jvm/version.lux +++ b/stdlib/source/library/lux/target/jvm/version.lux @@ -3,7 +3,7 @@ [lux (.full) [control ["[0]" try]]]] - ["[0]" // "_" + ["[0]" // [encoding ["[1][0]" unsigned (.only U2)]]]) diff --git a/stdlib/source/library/lux/target/lua.lux b/stdlib/source/library/lux/target/lua.lux index 438783654..e0bed2c3c 100644 --- a/stdlib/source/library/lux/target/lua.lux +++ b/stdlib/source/library/lux/target/lua.lux @@ -11,7 +11,7 @@ [parser ["<[0]>" code]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] @@ -25,7 +25,7 @@ ["i" int] ["f" frac]]] [type - [primitive (.full)]]]]) + [primitive (.except)]]]]) ... Added the carriage return for better Windows compatibility. (def: \n+ diff --git a/stdlib/source/library/lux/target/php.lux b/stdlib/source/library/lux/target/php.lux index 735527266..7b9cec65a 100644 --- a/stdlib/source/library/lux/target/php.lux +++ b/stdlib/source/library/lux/target/php.lux @@ -11,7 +11,7 @@ [parser ["<[0]>" code]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] @@ -24,7 +24,7 @@ ["n" nat] ["f" frac]]] [type - [primitive (.full)]]]]) + [primitive (.except)]]]]) (def: input_separator ", ") (def: statement_suffix ";") diff --git a/stdlib/source/library/lux/target/python.lux b/stdlib/source/library/lux/target/python.lux index aaeb64459..91544c4b6 100644 --- a/stdlib/source/library/lux/target/python.lux +++ b/stdlib/source/library/lux/target/python.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.except Location Code not or and list if int comment exec try the is) + [lux (.except Location Code not or and list if int comment exec try the is none) ["@" target] ["[0]" ffi] [abstract @@ -12,7 +12,7 @@ [parser ["<[0]>" code]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] @@ -25,7 +25,7 @@ ["n" nat] ["f" frac]]] [type - [primitive (.full)]]]]) + [primitive (.except)]]]]) (def: input_separator ", ") diff --git a/stdlib/source/library/lux/target/ruby.lux b/stdlib/source/library/lux/target/ruby.lux index 4932ca58b..a157e513b 100644 --- a/stdlib/source/library/lux/target/ruby.lux +++ b/stdlib/source/library/lux/target/ruby.lux @@ -11,7 +11,7 @@ [parser ["<[0]>" code]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] @@ -24,7 +24,7 @@ ["n" nat] ["f" frac]]] [type - [primitive (.full)]]]]) + [primitive (.except)]]]]) (def: input_separator ", ") (def: statement_suffix ";") diff --git a/stdlib/source/library/lux/target/scheme.lux b/stdlib/source/library/lux/target/scheme.lux index 83651723a..e3e6fb09b 100644 --- a/stdlib/source/library/lux/target/scheme.lux +++ b/stdlib/source/library/lux/target/scheme.lux @@ -8,7 +8,7 @@ [control ["[0]" pipe]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor monoid)]]] @@ -19,7 +19,7 @@ ["n" nat] ["f" frac]]] [type - [primitive (.full)]]]]) + [primitive (.except)]]]]) ... Added the carriage return for better Windows compatibility. (def: \n+ diff --git a/stdlib/source/library/lux/test.lux b/stdlib/source/library/lux/test.lux index 29a23576d..e72427137 100644 --- a/stdlib/source/library/lux/test.lux +++ b/stdlib/source/library/lux/test.lux @@ -14,16 +14,16 @@ [concurrency ["[0]" atom (.only Atom)] ["[0]" async (.only Async) ("[1]#[0]" monad)]] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set (.only Set)] - ["[0]" dictionary "_" + ["[0]" dictionary ["[1]" ordered (.only Dictionary)]]]] [time ["[0]" instant] @@ -36,7 +36,7 @@ [macro [syntax (.only syntax:)] ["[0]" code]] - ["[0]" meta + ["[0]" meta (.only) ["[0]" symbol]] [world ["[0]" program] diff --git a/stdlib/source/library/lux/time.lux b/stdlib/source/library/lux/time.lux index 18f0d14db..2acf4ca1e 100644 --- a/stdlib/source/library/lux/time.lux +++ b/stdlib/source/library/lux/time.lux @@ -11,7 +11,7 @@ ["[0]" pipe] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data ["[0]" text ("[1]#[0]" monoid)]] diff --git a/stdlib/source/library/lux/time/date.lux b/stdlib/source/library/lux/time/date.lux index 018d3214c..917bf8cf8 100644 --- a/stdlib/source/library/lux/time/date.lux +++ b/stdlib/source/library/lux/time/date.lux @@ -11,7 +11,7 @@ ["[0]" maybe] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data ["[0]" text ("[1]#[0]" monoid)] @@ -24,7 +24,7 @@ ["i" int]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" year (.only Year)] ["[1][0]" month (.only Month)]]) diff --git a/stdlib/source/library/lux/time/duration.lux b/stdlib/source/library/lux/time/duration.lux index 00757de6b..115c0bfb4 100644 --- a/stdlib/source/library/lux/time/duration.lux +++ b/stdlib/source/library/lux/time/duration.lux @@ -10,7 +10,7 @@ [monad (.only do)]] [control ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data ["[0]" text ("[1]#[0]" monoid)]] @@ -20,7 +20,7 @@ ["[0]" nat ("[1]#[0]" decimal)]]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" year]]) (primitive: .public Duration diff --git a/stdlib/source/library/lux/time/instant.lux b/stdlib/source/library/lux/time/instant.lux index 7d42ab38f..79c066a5a 100644 --- a/stdlib/source/library/lux/time/instant.lux +++ b/stdlib/source/library/lux/time/instant.lux @@ -13,7 +13,7 @@ ["[0]" maybe] ["[0]" try] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data ["[0]" text ("[1]#[0]" monoid)]] diff --git a/stdlib/source/library/lux/time/year.lux b/stdlib/source/library/lux/time/year.lux index f59a1b670..fa44d6e11 100644 --- a/stdlib/source/library/lux/time/year.lux +++ b/stdlib/source/library/lux/time/year.lux @@ -9,7 +9,7 @@ [control ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data ["[0]" text ("[1]#[0]" monoid)]] diff --git a/stdlib/source/library/lux/tool/compiler.lux b/stdlib/source/library/lux/tool/compiler.lux index 89dfde4fc..9943b4689 100644 --- a/stdlib/source/library/lux/tool/compiler.lux +++ b/stdlib/source/library/lux/tool/compiler.lux @@ -4,12 +4,12 @@ [control ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary (.only Parser)]]] [data [binary (.only Binary)] ["[0]" text] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer)]]] [world ["[0]" file (.only Path)]]]] diff --git a/stdlib/source/library/lux/tool/compiler/default/init.lux b/stdlib/source/library/lux/tool/compiler/default/init.lux index 0718ea142..dd8ca9eb0 100644 --- a/stdlib/source/library/lux/tool/compiler/default/init.lux +++ b/stdlib/source/library/lux/tool/compiler/default/init.lux @@ -23,7 +23,7 @@ ["[0]" version]] [world ["[0]" file]]]] - ["[0]" // "_" + ["[0]" // ["/[1]" // (.only Instancer) ["[1][0]" phase] [language @@ -33,7 +33,7 @@ ["[1][0]" synthesis] ["[1][0]" directive (.only Requirements)] ["[1][0]" generation] - ["[1][0]" analysis + ["[1][0]" analysis (.only) [macro (.only Expander)] ["[1]/[0]" evaluation] ["[0]A" module]] diff --git a/stdlib/source/library/lux/tool/compiler/default/platform.lux b/stdlib/source/library/lux/tool/compiler/default/platform.lux index 113a47e3a..73d1ae147 100644 --- a/stdlib/source/library/lux/tool/compiler/default/platform.lux +++ b/stdlib/source/library/lux/tool/compiler/default/platform.lux @@ -27,16 +27,16 @@ ["[0]" list ("[1]#[0]" monoid functor mix)]] [format ["_" binary (.only Writer)]]] - ["[0]" meta + ["[0]" meta (.only) ["[0]" configuration (.only Configuration)]] [type (.only sharing) ["[0]" check]] [world ["[0]" file (.only Path)] ["[0]" console]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" init] - ["/[1]" // + ["/[1]" // (.only) ["[1][0]" phase (.only Phase)] [language [lux @@ -46,7 +46,7 @@ ["[1][0]" synthesis] ["[1][0]" generation (.only Buffer)] ["[1][0]" directive] - ["[1][0]" analysis + ["[1][0]" analysis (.only) [macro (.only Expander)] ["[0]A" module]] [phase @@ -54,7 +54,7 @@ [meta [import (.only Import)] ["[0]" context] - ["[0]" cache + ["[0]" cache (.only) ["[1]/[0]" archive] ["[1]/[0]" module] ["[1]/[0]" artifact]] @@ -64,10 +64,10 @@ [key (.only Key)] ["[0]" registry (.only Registry)] ["[0]" artifact] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor (.only Descriptor)] ["[0]" document (.only Document)]]] - ["[0]" io "_" + ["[0]" io ["_[1]" /] ["[1]" context] ["ioW" archive]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux.lux index 696c36a12..0c10892a8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux.lux @@ -2,14 +2,14 @@ [library [lux (.full) [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary (.only Parser)]]] [data [format ["_" binary (.only Writer)]]] [meta ["[0]" version]]]] - ["[0]" / "_" + ["[0]" / [analysis ["[0]" module]] [/// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux index 4697725d7..d79a962ca 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux @@ -30,7 +30,7 @@ [meta ["[0]" location] ["[0]" configuration (.only Configuration)]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" simple (.only Simple)] ["[1][0]" complex (.only Tuple Variant Complex)] ["[1][0]" pattern (.only Pattern)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/complex.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/complex.lux index bf8783b84..633d8868b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/complex.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/complex.lux @@ -6,7 +6,7 @@ [hash (.only Hash)]] [data ["[0]" bit ("[1]#[0]" equivalence)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only Format)]] [collection ["[0]" list ("[1]#[0]" functor)]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/coverage.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/coverage.lux index 9f808c727..55d0cdb89 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/coverage.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/coverage.lux @@ -10,7 +10,7 @@ ["[0]" exception (.only exception:)]] [data ["[0]" bit ("[1]#[0]" equivalence)] - ["[0]" text + ["[0]" text (.only) ["%" format]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -25,7 +25,7 @@ ["i" int] ["r" rev] ["f" frac]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" simple] ["[1][0]" complex] ["[1][0]" pattern (.only Pattern)]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/inference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/inference.lux index 5379144ad..e1e03ac35 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/inference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/inference.lux @@ -10,7 +10,7 @@ ["[0]" try] ["[0]" exception (.only exception:)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor monoid)]]] @@ -20,7 +20,7 @@ [math [number ["n" nat]]] - ["[0]" type + ["[0]" type (.only) ["[0]" check]]]] ["/" // (.only Analysis Operation Phase) ["[1][0]" type] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/module.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/module.lux index 758895002..46ac4596a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/module.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/module.lux @@ -16,7 +16,7 @@ ["[0]" plist]]]] ["[0]" meta]]] ["/" // (.only Operation) - ["//[1]" // "_" + ["//[1]" // [phase ["[1][0]" extension]] [/// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/pattern.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/pattern.lux index fc47e37f0..45fe43d56 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/pattern.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/pattern.lux @@ -9,7 +9,7 @@ [math [number ["n" nat]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" simple (.only Simple)] ["[1][0]" complex (.only Complex)] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/type.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/type.lux index 0ca7aa5ca..87e9eadd5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/type.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/type.lux @@ -8,7 +8,7 @@ ["[0]" function] ["[0]" try]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux b/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux index 7ff6ef901..829cbb4a4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux @@ -34,9 +34,9 @@ ["[0]" archive (.only Archive) ["[0]" registry (.only Registry)] ["[0]" unit] - ["[0]" artifact + ["[0]" artifact (.only) ["[0]" category]] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor]]]]]]) (type: .public (Buffer directive) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis.lux index 26282e903..b1cb13060 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis.lux @@ -16,17 +16,17 @@ [math [number ["n" nat]]] - ["[0]" meta + ["[0]" meta (.only) ["[0]" location]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" simple] ["[1][0]" complex] ["[1][0]" reference] ["[1][0]" case] ["[1][0]" function] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension] - ["/[1]" // "_" + ["/[1]" // ["/" analysis (.only Analysis Operation Phase) ["[1][0]" macro (.only Expander)] ["[1][0]" type]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case.lux index 33a55a594..7fd1b74a9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case.lux @@ -20,12 +20,12 @@ [macro ["^" pattern] ["[0]" code]] - ["[0]" type + ["[0]" type (.only) ["[0]" check (.only Check)]]]] - ["[0]" / "_" - ["/[1]" // "_" + ["[0]" / + ["/[1]" // ["[1][0]" complex] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension] [// ["/" analysis (.only Analysis Operation Phase) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/complex.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/complex.lux index f0a397525..56ad9fd97 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/complex.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/complex.lux @@ -23,11 +23,11 @@ ["n" nat]]] [meta ["[0]" symbol]] - ["[0]" type + ["[0]" type (.only) ["[0]" check]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" simple] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension] [// ["/" analysis (.only Analysis Operation Phase) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/function.lux index 39e099187..57dfe4a2f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/function.lux @@ -10,16 +10,16 @@ ["[0]" exception (.only exception:)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" monoid monad)]]] [math [number ["n" nat]]] - ["[0]" type + ["[0]" type (.only) ["[0]" check]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" extension] [// ["/" analysis (.only Analysis Operation Phase) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux index 9bffe44ec..7911b1ec0 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux @@ -11,8 +11,8 @@ ["%" format (.only format)]]] [macro ["^" pattern]]]] - ["[0]" // "_" - ["/[1]" // "_" + ["[0]" // + ["/[1]" // ["[1][0]" extension] [// ["/" analysis (.only Analysis Operation) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/simple.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/simple.lux index 80ac4f0ab..5a0806d79 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/simple.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/simple.lux @@ -3,7 +3,7 @@ [lux (.except nat int rev) [abstract [monad (.only do)]]]] - ["[0]" /// "_" + ["[0]" /// [// ["/" analysis (.only Analysis Operation) ["[1][0]" simple] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/directive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/directive.lux index 8f94efd19..d2a6990e4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/directive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/directive.lux @@ -12,12 +12,12 @@ ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" mix monoid)]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" extension] ["[1][0]" analysis] - ["/[1]" // "_" + ["/[1]" // ["/" directive (.only Operation Phase)] - ["[1][0]" analysis + ["[1][0]" analysis (.only) ["[0]" evaluation] ["[1]/[0]" macro (.only Expander)] ["[1]/[0]" type]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis.lux index 347666f1f..a10a55e83 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis.lux @@ -7,7 +7,7 @@ [//// [analysis (.only Bundle) [evaluation (.only Eval)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" lux]]) (def: .public (bundle eval host_specific) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/common_lisp.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/common_lisp.lux index 49bafdcd2..5d21c0b44 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/common_lisp.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/common_lisp.lux @@ -5,14 +5,14 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<c>" code (.only Parser)]]] [data [collection ["[0]" array (.only Array)] ["[0]" dictionary] ["[0]" list]]] - ["[0]" type + ["[0]" type (.only) ["[0]" check]] ["@" target ["_" common_lisp]]]] @@ -21,7 +21,7 @@ [// ["[0]" bundle] [// - ["[0]" analysis "_" + ["[0]" analysis ["[1]/[0]" type]] [// ["[0]" analysis (.only Analysis Operation Phase Handler Bundle)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/jvm.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/jvm.lux index 8d7eaff24..49ac7d0fd 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/jvm.lux @@ -11,7 +11,7 @@ ["[0]" maybe ("[1]#[0]" functor)] ["[0]" try (.only Try) ("[1]#[0]" monad)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)] ["<[0]>" text]]] [data @@ -24,7 +24,7 @@ ["[0]" array] ["[0]" dictionary (.only Dictionary)] ["[0]" sequence]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]]] [macro ["^" pattern] @@ -34,7 +34,7 @@ ["n" nat] ["[0]" i32]]] [target - ["[0]" jvm "_" + ["[0]" jvm ["[0]!" reflection] ["_" bytecode (.only Bytecode) ("[1]#[0]" monad)] ["[0]" modifier (.only Modifier) ("[1]#[0]" monoid)] @@ -43,7 +43,7 @@ ["[0]" version] ["[0]" method] ["[0]" class] - ["[0]" constant + ["[0]" constant (.only) ["[0]" pool (.only Resource)]] [encoding ["[0]" name (.only External)]] @@ -56,19 +56,19 @@ ["[0]" parser] ["[0]" alias (.only Aliasing)] ["[0]T" lux (.only Mapping)]]]] - ["[0]" type + ["[0]" type (.only) ["[0]" check (.only Check) ("[1]#[0]" monad)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" lux (.only custom)] - ["/[1]" // + ["/[1]" // (.only) ["[1][0]" bundle] - ["/[1]" // "_" + ["/[1]" // [generation [jvm ["[0]" runtime] - ["[0]" function "_" + ["[0]" function ["[1]" abstract]]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] ["[0]" directive] ["[1][0]" analysis (.only Analysis Operation Phase Handler Bundle) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux index cbb5feafb..d0ade9dd3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux @@ -7,10 +7,10 @@ ["[0]" maybe] ["[0]" try] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)] @@ -23,9 +23,9 @@ [type ["[0]" check]] ["[0]" meta]]] - ["[0]" /// + ["[0]" /// (.only) ["[1][0]" bundle] - ["/[1]" // "_" + ["/[1]" // [// ["[1][0]" analysis (.only Analysis Operation Phase Handler Bundle) [evaluation (.only Eval)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/php.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/php.lux index 947b61121..ae3de92a0 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/php.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/php.lux @@ -5,23 +5,23 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<c>" code (.only Parser)]]] [data [collection ["[0]" array (.only Array)] ["[0]" dictionary] ["[0]" list]]] - ["[0]" type + ["[0]" type (.only) ["[0]" check]] - ["@" target + ["@" target (.only) ["_" php]]]] [// ["/" lux (.only custom)] [// ["[0]" bundle] [// - ["[0]" analysis "_" + ["[0]" analysis ["[1]/[0]" type]] [// ["[0]" analysis (.only Analysis Operation Phase Handler Bundle)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/r.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/r.lux index fd84e9271..df76f1d46 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/r.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/r.lux @@ -5,14 +5,14 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<c>" code (.only Parser)]]] [data [collection ["[0]" array (.only Array)] ["[0]" dictionary] ["[0]" list]]] - ["[0]" type + ["[0]" type (.only) ["[0]" check]] ["@" target ["_" r]]]] @@ -21,7 +21,7 @@ [// ["[0]" bundle] [// - ["[0]" analysis "_" + ["[0]" analysis ["[1]/[0]" type]] [// ["[0]" analysis (.only Analysis Operation Phase Handler Bundle)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/scheme.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/scheme.lux index faf3e41ff..59cbfc5fa 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/scheme.lux @@ -5,23 +5,23 @@ [abstract ["[0]" monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<c>" code (.only Parser)]]] [data [collection ["[0]" array (.only Array)] ["[0]" dictionary] ["[0]" list]]] - ["[0]" type + ["[0]" type (.only) ["[0]" check]] - ["@" target + ["@" target (.only) ["_" scheme]]]] [// ["/" lux (.only custom)] [// ["[0]" bundle] [// - ["[0]" analysis "_" + ["[0]" analysis ["[1]/[0]" type]] [// ["[0]" analysis (.only Analysis Operation Phase Handler Bundle)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/bundle.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/bundle.lux index 30819a0ad..90b1bb433 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/bundle.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/bundle.lux @@ -4,7 +4,7 @@ [abstract [monad (.only do)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/jvm.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/jvm.lux index d8d44d73f..4bf7e260c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/jvm.lux @@ -22,7 +22,7 @@ ["[0]" dictionary] ["[0]" sequence] ["[0]" set (.only Set)]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]]] [macro ["^" pattern] @@ -40,7 +40,7 @@ ["[0]" version] ["[0]" method (.only Method)] ["[0]" class] - ["[0]" constant + ["[0]" constant (.only) ["[0]" pool (.only Resource)]] [encoding ["[0]" name (.only External)]] @@ -60,7 +60,7 @@ [archive (.only Archive) ["[0]" artifact] ["[0]" unit]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]" artifact]]]] [language @@ -76,7 +76,7 @@ [jvm ["[0]" runtime (.only Anchor Definition Extender)] ["[0]" value]]] - ["[0]" extension + ["[0]" extension (.only) ["[0]" bundle] [analysis ["[0]" jvm]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux index 4be891712..101277306 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux @@ -10,7 +10,7 @@ ["[0]" maybe ("[1]#[0]" functor)] ["[0]" try] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" binary] @@ -33,9 +33,9 @@ ["[0]" /// (.only Extender) ["[1][0]" bundle] ["[1][0]" analysis] - ["/[1]" // "_" - ["/[1]" // "_" - ["[1][0]" analysis + ["/[1]" // + ["/[1]" // + ["[1][0]" analysis (.only) [macro (.only Expander)] ["[1]/[0]" evaluation] ["[0]A" type] @@ -52,7 +52,7 @@ ["[0]" artifact] ["[0]" module] ["[0]" unit]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]/[0]" artifact]]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp.lux index 21a62f3ed..90a3354c5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/common.lux index 334e5eed8..0d99fb6ad 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/common.lux @@ -6,11 +6,11 @@ [control ["[0]" function] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary] @@ -19,17 +19,17 @@ [math [number ["f" frac]]] - ["@" target + ["@" target (.only) ["_" common_lisp (.only Expression)]]]] - ["[0]" //// "_" + ["[0]" //// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" common_lisp "_" + ["//" common_lisp ["[1][0]" runtime (.only Operation Phase Handler Bundle Generator)] ["[1][0]" case]]] [// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/host.lux index 830fa403e..2ca18fead 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/host.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data [collection @@ -15,22 +15,22 @@ ["%" format (.only format)]]] [target ["_" common_lisp (.only Var Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" common (.only custom)] - ["//[1]" /// "_" + ["//[1]" /// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" common_lisp "_" + ["//" common_lisp ["[1][0]" runtime (.only Operation Phase Handler Bundle with_vars)]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase]]]]]]) (def: .public bundle diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js.lux index ddead065a..6b8f3d325 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/common.lux index 9ed83c8ba..58b290864 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/common.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data ["[0]" product] @@ -17,16 +17,16 @@ [math [number ["f" frac]]] - ["@" target + ["@" target (.only) ["_" js (.only Literal Expression Statement)]]]] - ["[0]" //// "_" + ["[0]" //// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] - ["//" js "_" + ["//" js ["[1][0]" runtime (.only Operation Phase Phase! Handler Bundle Generator)] ["[1][0]" primitive] ["[1][0]" structure] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/host.lux index d57e0675c..d6830e765 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/host.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data [collection @@ -13,21 +13,21 @@ ["[0]" list]]] [target ["_" js (.only Var Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" common (.only custom)] - ["//[1]" /// "_" + ["//[1]" /// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] - ["//" js "_" + ["//" js ["[1][0]" runtime (.only Operation Phase Handler Bundle with_vars)]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase]]]]]]) (def: array::new diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm.lux index c0e81d4cf..40d8eca7e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/common.lux index 3ca03f225..2da6d5756 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/common.lux @@ -6,7 +6,7 @@ [control ["[0]" try] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" synthesis (.only Parser)]]] [data ["[0]" product] @@ -24,14 +24,14 @@ ["[0]" signed (.only S4)]] ["[0]" type (.only Type) [category (.only Primitive Class)]]]]]] - ["[0]" ///// "_" + ["[0]" ///// [generation [extension (.only Nullary Unary Binary Trinary Variadic nullary unary binary trinary variadic)] - ["///" jvm "_" + ["///" jvm ["[1][0]" value] ["[1][0]" runtime (.only Operation Phase Bundle Handler)] - ["[1][0]" function "_" + ["[1][0]" function ["[1]" abstract]]]] [extension ["[1]extension" /] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/host.lux index f9e498d87..eaf40a8ee 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/host.lux @@ -6,7 +6,7 @@ [control ["[0]" maybe ("[1]#[0]" functor)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text] ["<[0]>" synthesis (.only Parser)]]] [data @@ -18,7 +18,7 @@ ["[0]" dictionary (.only Dictionary)] ["[0]" set (.only Set)] ["[0]" sequence]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]]] [macro ["^" pattern] @@ -45,13 +45,13 @@ ["[0]" reflection] ["[0]" signature] ["[0]" parser]]]]]] - ["[0]" // "_" + ["[0]" // [common (.only custom)] - ["///[1]" //// "_" + ["///[1]" //// [generation [extension (.only Nullary Unary Binary Trinary Variadic nullary unary binary trinary variadic)] - ["///" jvm + ["///" jvm (.only) ["[1][0]" runtime (.only Operation Bundle Phase Handler)] ["[1][0]" reference] ["[1][0]" value] @@ -63,19 +63,19 @@ ["[1][0]" bundle] [analysis ["/" jvm]]] - ["/[1]" // "_" + ["/[1]" // [analysis (.only Environment)] ["[1][0]" synthesis (.only Synthesis Path %synthesis)] ["[1][0]" generation] [/// ["[1]" phase] - ["[1][0]" reference + ["[1][0]" reference (.only) ["[2][0]" variable (.only Variable Register)]] [meta ["[0]" archive (.only Archive) ["[0]" artifact] ["[0]" unit]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]/[0]" artifact]]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua.lux index 6ad6b79e9..ea8b16d67 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/common.lux index 1c3635dd2..3e8542641 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/common.lux @@ -6,7 +6,7 @@ [control ["[0]" function] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data ["[0]" product] @@ -20,16 +20,16 @@ [math [number ["f" frac]]] - ["@" target + ["@" target (.only) ["_" lua (.only Expression Statement)]]]] - ["[0]" //// "_" + ["[0]" //// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] - ["//" lua "_" + ["//" lua ["[1][0]" runtime (.only Operation Phase Phase! Handler Bundle Generator)] ["[1][0]" primitive] ["[1][0]" structure] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/host.lux index 400c83984..507a1cfc3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/host.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data [collection @@ -15,22 +15,22 @@ ["%" format (.only format)]]] [target ["_" lua (.only Var Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" common (.only custom)] - ["//[1]" /// "_" + ["//[1]" /// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" lua "_" + ["//" lua ["[1][0]" runtime (.only Operation Phase Handler Bundle with_vars)]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase]]]]]]) (def: array::new diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php.lux index c5b22280b..2e23f8bb1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/common.lux index 1db7694fd..859eb3977 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/common.lux @@ -6,11 +6,11 @@ [control ["[0]" function] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary] @@ -19,17 +19,17 @@ [math [number ["f" frac]]] - ["@" target + ["@" target (.only) ["_" php (.only Expression)]]]] - ["[0]" //// "_" + ["[0]" //// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" php "_" + ["//" php ["[1][0]" runtime (.only Operation Phase Handler Bundle Generator)] ["[1][0]" case]]] [// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/host.lux index a79814721..1fb2396b9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/host.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data [collection @@ -15,22 +15,22 @@ ["%" format (.only format)]]] [target ["_" php (.only Var Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" common (.only custom)] - ["//[1]" /// "_" + ["//[1]" /// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" php "_" + ["//" php ["[1][0]" runtime (.only Operation Phase Handler Bundle with_vars)]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase]]]]]]) (def: (array::new size) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python.lux index bed068fcc..51a5ad78a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux index ab4db74aa..dcfa42dfc 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux @@ -6,11 +6,11 @@ [control ["[0]" function] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<[0]>" synthesis (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary] @@ -22,15 +22,15 @@ ["f" frac]]] [target ["_" python (.only Expression Statement)]]]] - ["[0]" //// "_" + ["[0]" //// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation ["[0]" reference] [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] - ["//" python "_" + ["//" python ["[1][0]" runtime (.only Operation Phase Phase! Handler Bundle Generator)] ["[1][0]" primitive] ["[1][0]" structure] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/host.lux index d826ad124..2afc25130 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/host.lux @@ -5,31 +5,31 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format]] [collection ["[0]" dictionary] ["[0]" list]]] [target ["_" python (.only Expression SVar)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" common (.only custom)] - ["//[1]" /// "_" + ["//[1]" /// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] - ["//" python "_" + ["//" python ["[1][0]" runtime (.only Operation Phase Handler Bundle with_vars)]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase]]]]]]) (def: (array::new size) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r.lux index b92e54312..50dbfa951 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/common.lux index 78ce2c8de..db353c68e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/common.lux @@ -6,11 +6,11 @@ [control ["[0]" function] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary] @@ -19,17 +19,17 @@ [math [number ["f" frac]]] - ["@" target + ["@" target (.only) ["_" r (.only Expression)]]]] - ["[0]" //// "_" + ["[0]" //// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" r "_" + ["//" r ["[1][0]" runtime (.only Operation Phase Handler Bundle Generator)] ["[1][0]" case]]] [// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/host.lux index 91cfdf4dc..2ff3be0de 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/host.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data [collection @@ -15,22 +15,22 @@ ["%" format (.only format)]]] [target ["_" r (.only Var Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" common (.only custom)] - ["//[1]" /// "_" + ["//[1]" /// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" r "_" + ["//" r ["[1][0]" runtime (.only Operation Phase Handler Bundle with_vars)]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase]]]]]]) (def: .public bundle diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby.lux index 280eff5cf..5792fe60e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/common.lux index b9dc7fa25..1393dd439 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/common.lux @@ -6,11 +6,11 @@ [control ["[0]" function] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary] @@ -22,14 +22,14 @@ ["f" frac]]] [target ["_" ruby (.only Expression Statement)]]]] - ["[0]" //// "_" + ["[0]" //// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] - ["//" ruby "_" + ["//" ruby ["[1][0]" runtime (.only Operation Phase Phase! Handler Bundle Generator)] ["[1][0]" primitive] ["[1][0]" structure] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/host.lux index 52456b35c..2e38cd085 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/host.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data [collection @@ -15,22 +15,22 @@ ["%" format (.only format)]]] [target ["_" ruby (.only Var Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" common (.only custom)] - ["//[1]" /// "_" + ["//[1]" /// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" ruby "_" + ["//" ruby ["[1][0]" runtime (.only Operation Phase Handler Bundle with_vars)]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase]]]]]]) (def: (array::new [size]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme.lux index d98b95a0a..84ef9978a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme.lux @@ -4,7 +4,7 @@ [data [collection ["[0]" dictionary]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common] ["[1][0]" host] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/common.lux index 69c016a82..2bb302c9c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/common.lux @@ -6,7 +6,7 @@ [control ["[0]" function] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data ["[0]" product] @@ -21,15 +21,15 @@ ["f" frac]]] ["@" target ["_" scheme (.only Expression)]]]] - ["[0]" //// "_" + ["[0]" //// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" scheme "_" + ["//" scheme ["[1][0]" runtime (.only Operation Phase Handler Bundle Generator)] ["[1][0]" case]]] [// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/host.lux index 055c85e26..2b222dd31 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/host.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<s>" synthesis (.only Parser)]]] [data [collection @@ -15,22 +15,22 @@ ["%" format (.only format)]]] [target ["_" scheme (.only Var Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" common (.only custom)] - ["//[1]" /// "_" + ["//[1]" /// ["/" bundle] - ["/[1]" // "_" + ["/[1]" // ["[0]" extension] [generation [extension (.only Nullary Unary Binary Trinary nullary unary binary trinary)] ["[0]" reference] - ["//" scheme "_" + ["//" scheme ["[1][0]" runtime (.only Operation Phase Handler Bundle with_vars)]]] - ["/[1]" // "_" + ["/[1]" // ["[0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase]]]]]]) (def: (array::new size) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp.lux index d4306e274..4075384af 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp.lux @@ -5,7 +5,7 @@ [monad (.only do)]] [macro ["^" pattern]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase)] ["[1][0]" primitive] ["[1][0]" structure] @@ -13,14 +13,14 @@ ["[1][0]" case] ["[1][0]" loop] ["[1][0]" function] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension] - ["/[1]" // "_" + ["/[1]" // [analysis (.only)] ["[1][0]" synthesis] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/case.lux index 370743434..6f93eb386 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/case.lux @@ -6,7 +6,7 @@ [control ["[0]" exception (.only exception:)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix monoid)] @@ -18,19 +18,19 @@ ["n" nat]]] [target ["_" common_lisp (.only Expression Var/1)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" reference] ["[1][0]" primitive] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" - ["[1][0]" synthesis "_" + ["/[1]" // + ["[1][0]" synthesis ["[1]/[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" synthesis (.only Member Synthesis Path)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension/common.lux index 4f18ff773..ff9eedf9d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension/common.lux @@ -13,7 +13,7 @@ ["[0]" dictionary]]] [target ["_" common_lisp (.only Expression)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" runtime (.only Operation Phase Handler Bundle)] ["[1][0]" primitive] [// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/function.lux index 1f72efb5e..412bf27b7 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/function.lux @@ -13,17 +13,17 @@ ["[0]" list ("[1]#[0]" functor)]]] [target ["_" common_lisp (.only Expression Var/1)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" reference] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Variant Tuple Abstraction Application Analysis)] [synthesis (.only Synthesis)] ["[1][0]" generation (.only Context)] - ["//[1]" /// "_" + ["//[1]" /// [arity (.only Arity)] ["[1][0]" phase ("[1]#[0]" monad)] [reference diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/loop.lux index c57c3bbe5..d80a015e6 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/loop.lux @@ -14,18 +14,18 @@ ["n" nat]]] [target ["_" common_lisp (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Generator)] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // [synthesis ["[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[0]"synthesis (.only Scope Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase] [meta [archive (.only Archive)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/runtime.lux index 4a53018d9..efbf5c321 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/runtime.lux @@ -6,7 +6,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] @@ -16,7 +16,7 @@ [collection ["[0]" list ("[1]#[0]" functor monoid)] ["[0]" sequence]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math @@ -24,13 +24,13 @@ ["[0]" i64]]] ["@" target ["_" common_lisp (.only Expression Computation Literal)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Variant)] ["[1][0]" synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase] [reference [variable (.only Register)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/structure.lux index 043cb17bc..6029b754c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/structure.lux @@ -5,13 +5,13 @@ ["[0]" monad (.only do)]] [target ["_" common_lisp (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// [analysis (.only Variant Tuple)] ["[1][0]" synthesis (.only Synthesis)] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)]]]]) (def: .public (tuple expression archive elemsS+) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/extension.lux index 675b7e06b..2fb79c18a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/extension.lux @@ -13,7 +13,7 @@ ["[0]" macro (.only with_symbols) ["[0]" code] [syntax (.only syntax:)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" extension] [// [synthesis (.only Synthesis)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js.lux index a51bbcfa7..2bc2ff0cb 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js.lux @@ -9,7 +9,7 @@ ["^" pattern]] [target ["_" js]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase Phase!)] ["[1][0]" primitive] ["[1][0]" structure] @@ -17,17 +17,17 @@ ["[1][0]" case] ["[1][0]" loop] ["[1][0]" function] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension [generation [js ["[1]/[0]" common]]]] - ["/[1]" // "_" + ["/[1]" // [analysis (.only)] ["[0]" synthesis] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/case.lux index a2ebf6490..13d1ed400 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/case.lux @@ -16,20 +16,20 @@ ["n" nat]]] [target ["_" js (.only Expression Computation Var Statement)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Phase! Generator Generator!)] ["[1][0]" reference] ["[1][0]" primitive] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" - ["[1][0]" synthesis "_" + ["/[1]" // + ["[1][0]" synthesis ["[1]/[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" synthesis (.only Synthesis Path) [access ["[0]" member (.only Member)]]] - ["//[1]" /// "_" + ["//[1]" /// [reference [variable (.only Register)]] ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/function.lux index 7d7657dc2..69db5cdd4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/function.lux @@ -11,17 +11,17 @@ ["[0]" list ("[1]#[0]" functor mix)]]] [target ["_" js (.only Expression Computation Var Statement)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Phase! Generator)] ["[1][0]" reference] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Abstraction Reification Analysis)] [synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [arity (.only Arity)] ["[1][0]" phase ("[1]#[0]" monad)] [reference @@ -29,7 +29,7 @@ [meta [archive ["[0]" unit]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]" artifact]]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/loop.lux index 9cea64e28..32823cd17 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/loop.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] @@ -14,13 +14,13 @@ ["n" nat]]] [target ["_" js (.only Computation Var Expression Statement)]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Phase! Generator Generator!)] ["[1][0]" case] - ["///[1]" //// "_" + ["///[1]" //// [synthesis (.only Scope Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase] [reference [variable (.only Register)]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/primitive.lux index 62d0c3ffd..aa45d7b64 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/primitive.lux @@ -3,7 +3,7 @@ [lux (.except i64) [target ["_" js (.only Computation)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime]]) (def: .public bit diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/runtime.lux index 1b59b2bae..5605d56ee 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/runtime.lux @@ -6,7 +6,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] @@ -17,7 +17,7 @@ [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" sequence]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math @@ -25,12 +25,12 @@ ["[0]" i64]]] [target ["_" js (.only Expression Var Computation Statement)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase] [reference [variable (.only Register)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/structure.lux index b2b5e8c2d..b57b4b344 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/structure.lux @@ -5,14 +5,14 @@ ["[0]" monad (.only do)]] [target ["_" js (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// ["[1][0]" synthesis (.only Synthesis)] [analysis [complex (.only Variant Tuple)]] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase ("[1]#[0]" monad)]]]]) (def: .public (tuple generate archive elemsS+) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm.lux index 7a049a657..ff90fda64 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm.lux @@ -5,7 +5,7 @@ [monad (.only do)]] [macro ["^" pattern]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase)] ["[1][0]" primitive] ["[1][0]" structure] @@ -13,7 +13,7 @@ ["[1][0]" function] ["[1][0]" case] ["[1][0]" loop] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" extension] [// ["[0]" synthesis] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/case.lux index 6e763f267..e718b504d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/case.lux @@ -24,7 +24,7 @@ ["[0]" stack]]]] ["[0]" type (.only Type) [category (.only Method)]]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" type] ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" value] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function.lux index d7047d342..b89b43d67 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function.lux @@ -8,7 +8,7 @@ [collection ["[0]" list ("[1]#[0]" monoid functor)] ["[0]" sequence]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]]] [math [number @@ -25,7 +25,7 @@ ["[0]" type (.only Type) [category (.only Return' Value')] ["[0]" reflection]] - ["[0]" constant + ["[0]" constant (.only) [pool (.only Resource)]] [encoding ["[0]" name (.only External Internal)] @@ -34,10 +34,10 @@ [compiler [meta ["[0]" archive (.only Archive)] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]/[0]" artifact]]]]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" abstract] [field [constant @@ -51,7 +51,7 @@ ["[1][0]" implementation] ["[1][0]" reset] ["[1][0]" apply]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" reference] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable.lux index ba1d87ba1..2a0bc8cd9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable.lux @@ -14,7 +14,7 @@ [category (.only Value Class)]] [constant [pool (.only Resource)]]]]]] - ["[0]" //// "_" + ["[0]" //// ["[1][0]" type] ["[1][0]" reference] [////// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/count.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/count.lux index f1384be43..90f8426d7 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/count.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/count.lux @@ -10,7 +10,7 @@ [encoding [name (.only External)] ["[0]" signed]]]]]] - ["[0]" //// "_" + ["[0]" //// ["[1][0]" abstract]]) (def: .public field "partials") diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/foreign.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/foreign.lux index 4461c75ac..545cf8396 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/foreign.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/foreign.lux @@ -12,8 +12,8 @@ [pool (.only Resource)]] [type (.only Type) [category (.only Value Class)]]]]]] - ["[0]" // - ["///[1]" //// "_" + ["[0]" // (.only) + ["///[1]" //// ["[1][0]" reference] [//// [analysis (.only Environment)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/partial.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/partial.lux index 46d2fcff2..810ce179e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/partial.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/partial.lux @@ -17,12 +17,12 @@ [category (.only Class)]] [constant [pool (.only Resource)]]]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" count] - ["/[1]" // "_" + ["/[1]" // [constant ["[1][0]" arity]] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" reference] [////// ["[0]" arity (.only Arity)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/apply.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/apply.lux index c71809ca7..19f568571 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/apply.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/apply.lux @@ -23,11 +23,11 @@ ["[0]" signed]] ["[0]" type (.only Type) ["[0]" category (.only Class)]]]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" reset] ["[1][0]" implementation] ["[1][0]" init] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" abstract] [field [constant @@ -36,7 +36,7 @@ ["[1][0]" partial] ["[1][0]" count] ["[1][0]" foreign]]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" runtime] ["[1][0]" value] ["[1][0]" reference] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/implementation.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/implementation.lux index 318423809..53f43707d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/implementation.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/implementation.lux @@ -16,8 +16,8 @@ [pool (.only Resource)]] ["[0]" type (.only Type) ["[0]" category (.only Class)]]]]]] - ["[0]" // - ["//[1]" /// "_" + ["[0]" // (.only) + ["//[1]" /// ["[0]" runtime] ["[1][0]" type] [////// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/init.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/init.lux index 2d9efabfc..da0d00cb2 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/init.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/init.lux @@ -21,9 +21,9 @@ [pool (.only Resource)]] ["[0]" type (.only Type) ["[0]" category (.only Class Value)]]]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" implementation] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" abstract] [field [constant @@ -31,7 +31,7 @@ [variable ["[1][0]" foreign] ["[1][0]" partial]]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" type] ["[1][0]" reference] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/new.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/new.lux index 028f8e1e9..b9b1e99a8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/new.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/new.lux @@ -14,7 +14,7 @@ ["[0]" field (.only Field)] ["[0]" method (.only Method)] ["_" bytecode (.only Bytecode)] - ["[0]" constant + ["[0]" constant (.only) [pool (.only Resource)]] [type (.only Type) ["[0]" category (.only Class Value Return)]]]] @@ -22,17 +22,17 @@ [compiler [meta ["[0]" archive (.only Archive)]]]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" init] ["[1][0]" implementation] - ["/[1]" // "_" + ["/[1]" // [field [constant ["[1][0]" arity]] [variable ["[1][0]" foreign] ["[1][0]" partial]]] - ["/[1]" // "_" + ["/[1]" // [runtime (.only Operation Phase)] ["[1][0]" value] ["[1][0]" reference] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/reset.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/reset.lux index 01f965f6e..f52b7d682 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/reset.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/reset.lux @@ -12,13 +12,13 @@ [pool (.only Resource)]] ["[0]" type (.only Type) ["[0]" category (.only Class)]]]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" new] - ["/[1]" // "_" + ["/[1]" // [field [variable ["[1][0]" foreign]]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] [//// [analysis (.only Environment)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/host.lux index ae4582640..dc28346dc 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/host.lux @@ -20,7 +20,7 @@ ["[0]" array] ["[0]" dictionary (.only Dictionary)] ["[0]" sequence]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]]] [target [jvm @@ -31,9 +31,9 @@ ["[0]" method (.only Method)] ["[0]" version] ["[0]" class (.only Class)] - ["[0]" encoding "_" + ["[0]" encoding ["[1]/[0]" name]] - ["[0]" type + ["[0]" type (.only) ["[0]" descriptor]]]] [tool [compiler @@ -41,7 +41,7 @@ [io (.only lux_context)] [archive ["[0]" unit]]]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Definition)] ["[1][0]" type] ["[1][0]" value]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/loop.lux index 306d347d5..c93dfa4f2 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/loop.lux @@ -15,7 +15,7 @@ [target [jvm ["_" bytecode (.only Bytecode) ("[1]#[0]" monad)]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" value] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/primitive.lux index 56228976d..ee33cf415 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/primitive.lux @@ -17,7 +17,7 @@ ["[0]" type] [encoding ["[0]" signed]]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime]]) (def: $Boolean (type.class "java.lang.Boolean" (list))) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/program.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/program.lux index 445fd7e86..94df434f2 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/program.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/program.lux @@ -8,7 +8,7 @@ [data [collection ["[0]" sequence]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]]] [target [jvm @@ -19,7 +19,7 @@ ["[0]" class (.only Class)] [encoding ["[0]" name]] - ["[0]" type + ["[0]" type (.only) ["[0]" reflection]]]] [tool [compiler @@ -29,7 +29,7 @@ [meta [archive ["[0]" unit]]]]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" runtime (.only Definition)] ["[1][0]" function/abstract]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/reference.lux index c2e81f6c1..7bb2cb8ff 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/reference.lux @@ -12,11 +12,11 @@ ["[0]" type] [encoding ["[0]" unsigned]]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation)] ["[1][0]" value] ["[1][0]" type] - ["//[1]" /// "_" + ["//[1]" /// [// ["[0]" generation] [/// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/runtime.lux index 7d13342ef..9ff51ff95 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/runtime.lux @@ -12,7 +12,7 @@ [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" sequence]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]] [text ["%" format (.only format)]]] @@ -24,31 +24,31 @@ [meta ["[0]" version]] [target - ["[0]" jvm "_" + ["[0]" jvm ["_" bytecode (.only Label Bytecode)] ["[0]" modifier (.only Modifier) ("[1]#[0]" monoid)] ["[0]" field (.only Field)] ["[0]" method (.only Method)] ["[1]/[0]" version] ["[0]" class (.only Class)] - ["[0]" constant + ["[0]" constant (.only) [pool (.only Resource)]] [encoding ["[0]" name]] ["[0]" type (.only Type) ["[0]" category (.only Return' Value')] ["[0]" reflection]]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" type] ["[1][0]" value] - ["[1][0]" function "_" + ["[1][0]" function ["[1]" abstract] [field [constant ["[1]/[0]" arity]] [variable ["[1]/[0]" count]]]] - ["//[1]" /// "_" + ["//[1]" /// [// ["[0]" synthesis] ["[0]" generation] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/structure.lux index 888dcf6f4..43d48e1c3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/structure.lux @@ -17,11 +17,11 @@ ["[0]" type] [encoding ["[0]" signed]]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" type] ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// ["[1][0]" synthesis (.only Synthesis)] [analysis [complex (.only Variant Tuple)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua.lux index b00f31fea..d1f831e69 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua.lux @@ -9,7 +9,7 @@ ["^" pattern]] [target ["_" lua]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase)] ["[1][0]" primitive] ["[1][0]" structure] @@ -17,17 +17,17 @@ ["[1][0]" case] ["[1][0]" loop] ["[1][0]" function] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension [generation [lua ["[1]/[0]" common]]]] - ["/[1]" // "_" + ["/[1]" // [analysis (.only)] ["[0]" synthesis] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/case.lux index 8cc889b17..59d0fa42d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/case.lux @@ -4,7 +4,7 @@ [abstract ["[0]" monad (.only do)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -13,21 +13,21 @@ ["^" pattern]] [target ["_" lua (.only Expression Var Statement)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Phase! Generator Generator!)] ["[1][0]" reference] ["[1][0]" primitive] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" - ["[1][0]" synthesis "_" + ["/[1]" // + ["[1][0]" synthesis ["[1]/[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" synthesis (.only Synthesis Path) [access ["[0]" member (.only Member)]]] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/function.lux index d3baeeb31..d2907e282 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/function.lux @@ -11,23 +11,23 @@ ["[0]" list ("[1]#[0]" functor mix)]]] [target ["_" lua (.only Var Expression Label Statement)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Phase! Generator)] ["[1][0]" reference] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Abstraction Reification Analysis)] [synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [arity (.only Arity)] ["[1][0]" phase ("[1]#[0]" monad)] [meta [archive ["[0]" unit]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]" artifact]]]] [reference diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/loop.lux index e2ed07938..66b05a97e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/loop.lux @@ -15,19 +15,19 @@ ["n" nat]]] [target ["_" lua (.only Var Expression Label Statement)]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Phase! Generator Generator!)] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// ["[0]"synthesis (.only Scope Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase] [meta [archive (.only Archive)] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]" artifact]]]] [reference diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/runtime.lux index e5cef766e..4f31dd592 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/runtime.lux @@ -6,7 +6,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] @@ -17,20 +17,20 @@ [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" sequence]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math [number (.only hex) ["[0]" i64]]] - ["@" target + ["@" target (.only) ["_" lua (.only Expression Location Var Computation Literal Label Statement)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase] [reference [variable (.only Register)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/structure.lux index 60c9b8236..1b8610f2b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/structure.lux @@ -5,14 +5,14 @@ ["[0]" monad (.only do)]] [target ["_" lua (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// ["[1][0]" synthesis (.only Synthesis)] [analysis [complex (.only Variant Tuple)]] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)]]]]) (def: .public (tuple phase archive elemsS+) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php.lux index 5ac7b0949..c0093d286 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php.lux @@ -9,7 +9,7 @@ ["^" pattern]] [target ["_" php]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase Phase!)] ["[1][0]" primitive] ["[1][0]" structure] @@ -17,14 +17,14 @@ ["[1][0]" case] ["[1][0]" loop] ["[1][0]" function] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension] - ["/[1]" // "_" + ["/[1]" // [analysis (.only)] ["[1][0]" synthesis] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/case.lux index bb4dadf30..03c82f322 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/case.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -17,19 +17,19 @@ ["i" int]]] [target ["_" php (.only Expression Var Statement)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Phase! Generator Generator!)] ["[1][0]" reference] ["[1][0]" primitive] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" - ["[1][0]" synthesis "_" + ["/[1]" // + ["[1][0]" synthesis ["[1]/[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" synthesis (.only Member Synthesis Path)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension/common.lux index cff2a67db..3a797fb5a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension/common.lux @@ -14,7 +14,7 @@ ["[0]" dictionary]]] [target ["_" php (.only Expression)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" runtime (.only Operation Phase Handler Bundle)] ["[1][0]" primitive] [// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/function.lux index 0701936f8..e304677d2 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/function.lux @@ -7,23 +7,23 @@ pipe] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [target ["_" php (.only Var Global Expression Argument Label Statement)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Phase! Generator)] ["[1][0]" reference] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Variant Tuple Abstraction Application Analysis)] [synthesis (.only Synthesis)] ["[1][0]" generation (.only Context)] - ["//[1]" /// "_" + ["//[1]" /// [arity (.only Arity)] ["[1][0]" phase ("[1]#[0]" monad)] [reference diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/loop.lux index 35b1ebfc2..5fab85e16 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/loop.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -15,18 +15,18 @@ ["n" nat]]] [target ["_" php (.only Var Expression Label Statement)]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Phase! Generator Generator!)] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // [synthesis ["[0]" case]] - ["/[1]" // "_" - ["[0]"synthesis (.only Scope Synthesis)] + ["/[1]" // + ["[0]" synthesis (.only Scope Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase] [meta [archive (.only Archive)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/primitive.lux index d1b4315ca..df2ae080f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/primitive.lux @@ -6,7 +6,7 @@ ["[0]" frac]]] [target ["_" php (.only Literal Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime]]) (def: .public bit diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/runtime.lux index 424201ccb..68b9671b1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/runtime.lux @@ -6,7 +6,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] @@ -17,20 +17,20 @@ [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" sequence]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math [number (.only hex) ["[0]" i64]]] - ["@" target + ["@" target (.only) ["_" php (.only Expression Label Constant Var Computation Literal Statement)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase] [reference [variable (.only Register)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/structure.lux index e655c5753..2fe67e34a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/structure.lux @@ -8,13 +8,13 @@ ["[0]" list]]] [target ["_" php (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// [analysis (.only Variant Tuple)] ["[1][0]" synthesis (.only Synthesis)] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)]]]]) (def: .public (tuple expression archive elemsS+) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python.lux index 16a01aace..15c847f8c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python.lux @@ -9,7 +9,7 @@ ["^" pattern]] [target ["_" python]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase)] ["[1][0]" primitive] ["[1][0]" structure] @@ -17,17 +17,17 @@ ["[1][0]" function] ["[1][0]" case] ["[1][0]" loop] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension [generation [python ["[1]/[0]" common]]]] - ["/[1]" // "_" + ["/[1]" // [analysis (.only)] ["[1][0]" synthesis] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/case.lux index a6b122880..cbf957e34 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/case.lux @@ -4,7 +4,7 @@ [abstract ["[0]" monad (.only do)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -17,27 +17,27 @@ ["i" int]]] [target ["_" python (.only Expression SVar Statement)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator Phase! Generator!)] ["[1][0]" reference] ["[1][0]" primitive] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // [synthesis ["[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" generation] ["[1][0]" synthesis (.only Synthesis Path) [access ["[0]" member (.only Member)]]] - ["//[1]" /// "_" + ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] ["[1][0]" phase ("[1]#[0]" monad)] [meta [archive (.only Archive)] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]" artifact]]]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux index 91b4ffa39..ee09d8060 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux @@ -11,18 +11,18 @@ ["[0]" list ("[1]#[0]" functor mix)]]] [target ["_" python (.only SVar Expression Statement)]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Generator Phase! Generator!)] ["[1][0]" reference] ["[1][0]" case] ["[1][0]" loop] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Environment Abstraction Reification Analysis)] [synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [arity (.only Arity)] ["[1][0]" phase] [reference @@ -30,7 +30,7 @@ [meta [archive (.only Archive) ["[0]" artifact]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]" artifact]]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/loop.lux index 6745bd62d..d48bad978 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/loop.lux @@ -15,21 +15,21 @@ ["n" nat]]] [target ["_" python (.only Expression SVar Statement)]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Generator Phase! Generator!)] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // [synthesis ["[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[0]" synthesis (.only Scope Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase] [meta - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]" artifact]]]] [reference diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/primitive.lux index 9ef4f1853..c9ff8d221 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/primitive.lux @@ -3,7 +3,7 @@ [lux (.except i64) [target ["_" python (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime]]) (template [<type> <name> <implementation>] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/runtime.lux index bb003d922..135f8db40 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/runtime.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] @@ -16,23 +16,23 @@ [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" sequence]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math [number (.only hex) ["f" frac] ["[0]" i64]]] - ["[0]" meta + ["[0]" meta (.only) ["[0]" version]] - ["@" target + ["@" target (.only) ["_" python (.only Expression SVar Computation Literal Statement)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase] [reference [variable (.only Register)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/structure.lux index 9783b049e..d8e397694 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/structure.lux @@ -5,14 +5,14 @@ ["[0]" monad (.only do)]] [target ["_" python (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// [analysis [complex (.only Variant Tuple)]] ["[1][0]" synthesis (.only Synthesis)] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)]]]]) (def: .public (tuple generate archive elemsS+) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r.lux index 90e2fd294..1704c6d59 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r.lux @@ -7,7 +7,7 @@ ["^" pattern]] [target ["_" r]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase)] ["[1][0]" primitive] ["[1][0]" structure] @@ -15,14 +15,14 @@ ["[1][0]" case] ["[1][0]" loop] ["[1][0]" function] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension] - ["/[1]" // "_" + ["/[1]" // [analysis (.only)] ["[1][0]" synthesis] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/case.lux index 6cf4a6d76..60f553909 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/case.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -18,19 +18,19 @@ ["i" int]]] [target ["_" r (.only Expression SVar)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" reference] ["[1][0]" primitive] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" - ["[1][0]" synthesis "_" + ["/[1]" // + ["[1][0]" synthesis ["[1]/[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" synthesis (.only Member Synthesis Path)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/function.lux index 30fe7d462..a523fc621 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/function.lux @@ -7,23 +7,23 @@ pipe] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [target ["_" r (.only Expression SVar)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" reference] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Variant Tuple Abstraction Application Analysis)] [synthesis (.only Synthesis)] ["[1][0]" generation (.only Context)] - ["//[1]" /// "_" + ["//[1]" /// [arity (.only Arity)] ["[1][0]" phase ("[1]#[0]" monad)] [reference diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/loop.lux index 6debd7ac9..c71e536d2 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/loop.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)] @@ -15,18 +15,18 @@ ["n" nat]]] [target ["_" r]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Generator)] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // [synthesis ["[0]" case]] - ["/[1]" // "_" - ["[0]"synthesis (.only Scope Synthesis)] + ["/[1]" // + ["[0]" synthesis (.only Scope Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase] [meta [archive (.only Archive)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/primitive.lux index 655cd9516..c377bbcc0 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/primitive.lux @@ -3,7 +3,7 @@ [lux (.except i64) [target ["_" r (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime]]) (template [<name> <type> <code>] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/runtime.lux index 035d158f2..9bee4f953 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/runtime.lux @@ -6,7 +6,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] @@ -17,7 +17,7 @@ [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" sequence]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math @@ -25,15 +25,15 @@ ["n" nat] ["i" int ("[1]#[0]" interval)] ["[0]" i64]]] - ["@" target + ["@" target (.only) ["_" r (.only SVar Expression)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Variant)] ["[1][0]" synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase] [reference [variable (.only Register)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/structure.lux index 2ffa2b1b5..adda5b547 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/structure.lux @@ -8,13 +8,13 @@ ["[0]" list]]] [target ["_" r (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// [analysis (.only Variant Tuple)] ["[1][0]" synthesis (.only Synthesis)] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)]]]]) (def: .public (tuple expression archive elemsS+) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/reference.lux index 3d59e042f..0c7d531b9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/reference.lux @@ -7,9 +7,9 @@ ["%" format (.only format)]]] [meta ["[0]" version]]]] - ["[0]" //// "_" + ["[0]" //// ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[0]" phase ("[1]#[0]" monad)] ["[0]" reference (.only Reference) ["[0]" variable (.only Register Variable)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby.lux index 03f38d436..fdc41c019 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby.lux @@ -9,7 +9,7 @@ ["^" pattern]] [target ["_" ruby]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase Phase!)] ["[1][0]" primitive] ["[1][0]" structure] @@ -17,17 +17,17 @@ ["[1][0]" function] ["[1][0]" case] ["[1][0]" loop] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" - ["[1][0]" extension + ["/[1]" // + ["[1][0]" extension (.only) [generation [ruby ["[1]/[0]" common]]]] - ["/[1]" // "_" + ["/[1]" // [analysis (.only)] ["[1][0]" synthesis] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/case.lux index c4350272a..bf7a4bc42 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/case.lux @@ -6,7 +6,7 @@ [control [exception (.only exception:)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -19,21 +19,21 @@ ["i" int]]] [target ["_" ruby (.only Expression LVar Statement)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator Phase! Generator!)] ["[1][0]" reference] ["[1][0]" primitive] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // [synthesis ["[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" generation] ["[1][0]" synthesis (.only Synthesis Path) [access ["[0]" member (.only Member)]]] - ["//[1]" /// "_" + ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/function.lux index 235e3b2f1..c32ea1cc3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/function.lux @@ -11,24 +11,24 @@ ["[0]" list ("[1]#[0]" functor mix)]]] [target ["_" ruby (.only LVar GVar Expression Statement)]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Generator Phase! Generator!)] ["[1][0]" reference] ["[1][0]" case] ["[1][0]" loop] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [synthesis (.only Synthesis)] [analysis (.only Environment Abstraction Reification Analysis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [arity (.only Arity)] ["[1][0]" phase] [reference [variable (.only Register Variable)]] [meta - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]/[0]" artifact]]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/loop.lux index 406fac609..e5acb087a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/loop.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -15,18 +15,18 @@ ["n" nat]]] [target ["_" ruby (.only Expression LVar Statement)]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Generator Phase! Generator!)] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // [synthesis ["[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[0]" synthesis (.only Scope Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase] [reference ["[1][0]" variable (.only Register)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/runtime.lux index b66bf3569..bb811fc61 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/runtime.lux @@ -6,7 +6,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] @@ -17,21 +17,21 @@ [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" sequence]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math [number (.only hex) ["[0]" i64] ["[0]" int ("[1]#[0]" interval)]]] - ["@" target + ["@" target (.only) ["_" ruby (.only Expression LVar Computation Literal Statement)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase] [reference [variable (.only Register)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/structure.lux index 1bbabead5..4ebe22359 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/structure.lux @@ -5,14 +5,14 @@ ["[0]" monad (.only do)]] [target ["_" ruby (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// [analysis [complex (.only Variant Tuple)]] ["[1][0]" synthesis (.only Synthesis)] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)]]]]) (def: .public (tuple generate archive elemsS+) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme.lux index 1e8631f3c..555b11b5d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme.lux @@ -7,7 +7,7 @@ ["^" pattern]] [target ["_" scheme]]]] - ["[0]" / "_" + ["[0]" / [runtime (.only Phase)] ["[1][0]" primitive] ["[1][0]" structure] @@ -15,14 +15,14 @@ ["[1][0]" case] ["[1][0]" loop] ["[1][0]" function] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension] - ["/[1]" // "_" + ["/[1]" // [analysis (.only)] ["[1][0]" synthesis] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/case.lux index f91f1a7ef..d111d7349 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/case.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -18,19 +18,19 @@ ["i" int]]] [target ["_" scheme (.only Expression Computation Var)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" reference] ["[1][0]" primitive] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" - ["[1][0]" synthesis "_" + ["/[1]" // + ["[1][0]" synthesis ["[1]/[0]" case]] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" synthesis (.only Member Synthesis Path)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension/common.lux index f68b2fcfc..9b2c83302 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension/common.lux @@ -20,12 +20,12 @@ [syntax (.only syntax:)]] [target ["_" scheme (.only Expression Computation)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" runtime (.only Operation Phase Handler Bundle)] - ["[1]//" /// - ["[1][0]" extension + ["[1]//" /// (.only) + ["[1][0]" extension (.only) ["[0]" bundle]] - ["[1]/" // "_" + ["[1]/" // ["[1][0]" synthesis (.only Synthesis)]]]]) (syntax: (Vector [size <code>.nat diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/function.lux index a50b89d6e..baf83633b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/function.lux @@ -7,23 +7,23 @@ pipe] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)]]] [target ["_" scheme (.only Expression Computation Var)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" reference] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Variant Tuple Abstraction Application Analysis)] [synthesis (.only Synthesis)] ["[1][0]" generation (.only Context)] - ["//[1]" /// "_" + ["//[1]" /// [arity (.only Arity)] ["[1][0]" phase ("[1]#[0]" monad)] [reference diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/loop.lux index 36bcf187b..0f7a9c50a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/loop.lux @@ -5,7 +5,7 @@ ["[0]" monad (.only do)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)] @@ -15,18 +15,18 @@ ["n" nat]]] [target ["_" scheme]]]] - ["[0]" // "_" + ["[0]" // [runtime (.only Operation Phase Generator)] ["[1][0]" case] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" reference] - ["/[1]" // "_" + ["/[1]" // [synthesis ["[0]" case]] - ["/[1]" // "_" - ["[0]"synthesis (.only Scope Synthesis)] + ["/[1]" // + ["[0]" synthesis (.only Scope Synthesis)] ["[1][0]" generation] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase] [meta [archive (.only Archive)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/runtime.lux index 42467e2f3..c60d67bd1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/runtime.lux @@ -6,7 +6,7 @@ ["[0]" monad (.only do)]] [control ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] @@ -17,21 +17,21 @@ [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" sequence]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math [number (.only hex) ["[0]" i64]]] - ["@" target + ["@" target (.only) ["_" scheme (.only Expression Computation Var)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" reference] - ["//[1]" /// "_" + ["//[1]" /// [analysis (.only Variant)] ["[1][0]" synthesis (.only Synthesis)] ["[1][0]" generation] - ["//[1]" /// + ["//[1]" /// (.only) ["[1][0]" phase] [reference [variable (.only Register)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/structure.lux index b0d40f9e9..879a743a6 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/structure.lux @@ -8,13 +8,13 @@ ["[0]" list]]] [target ["_" scheme (.only Expression)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" primitive] - ["///[1]" //// "_" + ["///[1]" //// [analysis (.only Variant Tuple)] ["[1][0]" synthesis (.only Synthesis)] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)]]]]) (def: .public (tuple expression archive elemsS+) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis.lux index 06ce7df7e..2512a4eb0 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis.lux @@ -12,13 +12,13 @@ ["[0]" dictionary (.only Dictionary)]]] [macro ["^" pattern]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" function] ["[1][0]" case] ["[1][0]" variable] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" extension] - ["/[1]" // "_" + ["/[1]" // ["/" synthesis (.only Synthesis Phase) ["[1][0]" simple]] ["[1][0]" analysis (.only Analysis) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/case.lux index 1fcb21f29..7ce80ebb3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/case.lux @@ -20,19 +20,19 @@ ["n" nat] ["[0]" i64] ["[0]" frac]]]]] - ["[0]" /// "_" + ["[0]" /// [// ["[1][0]" analysis (.only Match Analysis) ["[2][0]" simple] ["[2][0]" complex] ["[2][0]" pattern (.only Pattern)]] ["/" synthesis (.only Path Synthesis Operation Phase) - ["[1][0]" access + ["[1][0]" access (.only) ["[2][0]" side] ["[2][0]" member (.only Member)]]] [/// ["[1]" phase ("[1]#[0]" monad)] - ["[1][0]" reference + ["[1][0]" reference (.only) ["[1]/[0]" variable (.only Register Variable)]] [meta [archive (.only Archive)]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/function.lux index 14dd53d35..199f708a9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/function.lux @@ -18,16 +18,16 @@ [math [number ["n" nat]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" loop (.only Transform)] - ["//[1]" /// "_" + ["//[1]" /// ["[1][0]" analysis (.only Environment Analysis) ["[1]/[0]" complex]] ["/" synthesis (.only Path Abstraction Synthesis Operation Phase)] [/// [arity (.only Arity)] ["[0]" phase ("[1]#[0]" monad)] - ["[1][0]" reference + ["[1][0]" reference (.only) ["[1]/[0]" variable (.only Register Variable)]]]]]) (exception: .public (cannot_find_foreign_variable_in_environment [foreign Register diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/loop.lux index 547ea5c27..a0e8ef55d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/loop.lux @@ -19,7 +19,7 @@ ["/" synthesis (.only Path Abstraction Synthesis)] [/// [arity (.only Arity)] - ["[0]" reference + ["[0]" reference (.only) ["[0]" variable (.only Register Variable)]]]]) (type: .public (Transform a) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/variable.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/variable.lux index 04f9e8421..6b60d9490 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/variable.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/variable.lux @@ -9,7 +9,7 @@ ["[0]" exception (.only exception:)]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format]] [collection ["[0]" dictionary (.only Dictionary)] @@ -21,13 +21,13 @@ [number ["n" nat]]]]] [//// - ["[0]" analysis + ["[0]" analysis (.only) ["[1]/[0]" complex]] ["/" synthesis (.only Path Synthesis) ["[1][0]" access]] [/// [arity (.only Arity)] - ["[0]" reference + ["[0]" reference (.only) ["[0]" variable (.only Register Variable)]]]]) (def: (prune redundant register) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux b/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux index f9b2af7d7..1363a5b80 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux @@ -36,7 +36,7 @@ [parser [text (.only Offset)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux index d7dc48762..fbc202680 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux @@ -25,7 +25,7 @@ ["n" nat] ["i" int] ["f" frac]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" simple (.only Simple)] ["[1][0]" access (.only Access) ["[2][0]" side (.only Side)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access.lux b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access.lux index 1ddac3535..be9d0e432 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access.lux @@ -8,7 +8,7 @@ ["[0]" sum] [text ["%" format (.only Format)]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" side (.only Side)] ["[1][0]" member (.only Member)]]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive.lux b/stdlib/source/library/lux/tool/compiler/meta/archive.lux index 26b28857b..423c89489 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive.lux @@ -9,12 +9,12 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] ["[0]" function] - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary (.only Parser)]]] [data [binary (.only Binary)] ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [format ["[0]" binary (.only Writer)]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux index 008e62014..8545d55a1 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux @@ -11,7 +11,7 @@ [math [number ["[0]" nat]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" category (.only Category)]]) (type: .public ID diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/module/descriptor.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/module/descriptor.lux index 18e07ee60..8cb500cc6 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/module/descriptor.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/module/descriptor.lux @@ -4,14 +4,14 @@ [abstract [equivalence (.only Equivalence)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary (.only Parser)]]] [data ["[0]" product] ["[0]" text] [collection ["[0]" set (.only Set)]] - ["[0]" format "_" + ["[0]" format ["[1]" binary (.only Writer)]]] [macro ["^" pattern]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/module/document.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/module/document.lux index 924ac967a..e6b210a44 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/module/document.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/module/document.lux @@ -6,7 +6,7 @@ [control ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) [binary (.only Parser)]]] [data [collection diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/registry.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/registry.lux index 0be7c5800..d775f6c37 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/registry.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/registry.lux @@ -7,11 +7,11 @@ ["[0]" pipe] ["[0]" maybe ("[1]#[0]" functor)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection [set (.only Set)] @@ -24,7 +24,7 @@ ["^" pattern]] [type [primitive (.full)]]]] - ["[0]" // "_" + ["[0]" // ["[0]" unit] ["[1]" artifact (.only Artifact ID) ["[2][0]" category (.only Category)]]]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux index ff37467a6..214a26699 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux @@ -4,11 +4,11 @@ [abstract [equivalence (.only Equivalence)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [format ["[0]" binary (.only Writer)]]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/unit.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/unit.lux index f57e65e78..a629a76ac 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/unit.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/unit.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except none) [abstract [equivalence (.only Equivalence)] [hash (.only Hash)]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache.lux b/stdlib/source/library/lux/tool/compiler/meta/cache.lux index 07e9a9ff1..ad801c7c5 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache.lux @@ -10,7 +10,7 @@ ["%" format (.only format)]]] [world ["[0]" file]]]] - ["[0]" // + ["[0]" // (.only) ["[0]" context (.only Context)] [// ["[0]" version]]]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/archive.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/archive.lux index c84452d15..e8ed26448 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/archive.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/archive.lux @@ -8,8 +8,8 @@ ["%" format]]] [world ["[0]" file]]]] - ["[0]" // - ["/[1]" // + ["[0]" // (.only) + ["/[1]" // (.only) [context (.only Context)] ["[0]" archive (.only Archive)]]]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/artifact.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/artifact.lux index cb9d2e30f..5107be1a4 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/artifact.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/artifact.lux @@ -12,7 +12,7 @@ ["%" format (.only format)]]] [world ["[0]" file]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" module] [// ["[0]" context (.only Context)] diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/module.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/module.lux index 8aa6cde90..db0a349ee 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/module.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/module.lux @@ -10,7 +10,7 @@ [function ["[0]" memo (.only Memo)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor mix)] @@ -19,7 +19,7 @@ [//// ["[0]" archive (.only Output Archive) [key (.only Key)] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor (.only Descriptor)] ["[0]" document (.only Document)]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/module.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/module.lux index 30b1c08a7..ddfc13c12 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/module.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/module.lux @@ -18,7 +18,7 @@ ["[0]" dictionary (.only Dictionary)]]] [world ["[0]" file]]]] - ["[0]" // + ["[0]" // (.only) [// [context (.only Context)] [archive diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/purge.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/purge.lux index 0eb998723..e5316f476 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/purge.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/purge.lux @@ -19,16 +19,16 @@ ["n" nat]]] [world ["[0]" file]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" module] - ["[0]" dependency "_" + ["[0]" dependency ["[1]" module]] - ["/[1]" // "_" + ["/[1]" // [context (.only Context)] ["/[1]" // (.only Input)] - ["[0]" archive + ["[0]" archive (.only) [registry (.only Registry)] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor (.only Descriptor)]]]]]) (type: .public Cache diff --git a/stdlib/source/library/lux/tool/compiler/meta/cli.lux b/stdlib/source/library/lux/tool/compiler/meta/cli.lux index 58a41c9ba..a3e631d17 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cli.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cli.lux @@ -6,12 +6,12 @@ [equivalence (.only Equivalence)]] [control ["[0]" pipe] - ["<>" parser + ["<>" parser (.only) ["<[0]>" cli (.only Parser)] ["<[0]>" text]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format]] [collection ["[0]" list ("[1]#[0]" functor)]]] @@ -30,7 +30,7 @@ ["[0]" descriptor]]]]]] [world [file (.only Path)]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" compiler (.only Compiler)]]) (type: .public Host_Dependency diff --git a/stdlib/source/library/lux/tool/compiler/meta/cli/compiler.lux b/stdlib/source/library/lux/tool/compiler/meta/cli/compiler.lux index ab562c5e5..bdd1e8714 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cli/compiler.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cli/compiler.lux @@ -5,11 +5,11 @@ [monad (.only do)] [equivalence (.only Equivalence)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format]] [collection ["[0]" list ("[1]#[0]" functor)]]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/export.lux b/stdlib/source/library/lux/tool/compiler/meta/export.lux index 34b45ff06..e5391b566 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/export.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/export.lux @@ -8,7 +8,7 @@ [concurrency ["[0]" async (.only Async) ("[1]#[0]" functor)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary] @@ -22,7 +22,7 @@ [compiler [meta [cli (.only Source Export)] - ["[0]" io "_" + ["[0]" io ["[1]" context]]]]] [world ["[0]" file]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/import.lux b/stdlib/source/library/lux/tool/compiler/meta/import.lux index 871038f81..5c5be37d4 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/import.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/import.lux @@ -8,11 +8,11 @@ ["[0]" exception (.only exception:)] [concurrency ["[0]" async (.only Async)]] - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary]]] [data [binary (.only Binary)] - ["[0]" text + ["[0]" text (.only) ["%" format]] [collection ["[0]" dictionary (.only Dictionary)] diff --git a/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux b/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux index e9581c2ac..e6e941497 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux @@ -8,7 +8,7 @@ ["[0]" try (.only Try)] [concurrency ["[0]" async (.only Async) ("[1]#[0]" monad)]] - ["<>" parser + ["<>" parser (.only) ["<[0]>" binary (.only Parser)]]] [data [binary (.only Binary)] @@ -27,9 +27,9 @@ ["[0]" version]] [world ["[0]" file]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" context] - ["/[1]" // + ["/[1]" // (.only) [import (.only Import)] ["[0]" context (.only Context)] ["[0]" archive (.only Output Archive) @@ -38,18 +38,18 @@ ["[0]" unit] ["[0]" artifact (.only Artifact) ["[0]" category (.only Category)]] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor (.only Descriptor)] ["[0]" document (.only Document)]]] - ["[0]" cache + ["[0]" cache (.only) ["[1]/[0]" archive] ["[1]/[0]" module] ["[1]/[0]" purge (.only Cache Purge)] - ["[0]" dependency "_" + ["[0]" dependency ["[1]" module]]] [// (.only Custom) [language - ["$" lux + ["$" lux (.only) ["[0]" analysis] ["[0]" synthesis] ["[0]" generation] diff --git a/stdlib/source/library/lux/tool/compiler/meta/io/context.lux b/stdlib/source/library/lux/tool/compiler/meta/io/context.lux index 6fdd47f2a..06c7fb4f8 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/io/context.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/io/context.lux @@ -23,7 +23,7 @@ [world ["[0]" file]]]] ["[0]" // (.only Context Code) - ["/[1]" // "_" + ["/[1]" // [import (.only Import)] ["/[1]" // (.only Input)] [archive diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager.lux b/stdlib/source/library/lux/tool/compiler/meta/packager.lux index ecb0ce5df..fccd9b8b2 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager.lux @@ -13,14 +13,14 @@ [world ["[0]" file]]]] [// - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]/[0]" module]]] ["[0]" archive (.only Archive) ["[0]" artifact] ["[0]" registry] ["[0]" unit] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor]]]]) (type: .public Packager diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux index 1da5f71b7..197d404b8 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux @@ -9,7 +9,7 @@ ["[0]" try (.only Try)]] [data ["[0]" binary (.only Binary)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" sequence] @@ -32,17 +32,17 @@ ["[0]" archive (.only Output) ["[0]" artifact] ["[0]" unit] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor (.only Module)]]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]/[0]" module] ["[1]/[0]" artifact]]] - ["[0]" io "_" + ["[0]" io ["[1]" archive]] [// [language - ["$" lux + ["$" lux (.only) [phase [generation [jvm diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux index 906ee2214..c69e2c7f7 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux @@ -9,7 +9,7 @@ [data [binary (.only Binary)] ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] [encoding ["[0]" utf8]]] @@ -31,14 +31,14 @@ [registry (.only Registry)] ["[0]" artifact] ["[0]" unit] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor] ["[0]" document (.only Document)]]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]/[0]" module (.only Order)] ["[1]/[0]" artifact]]] - ["[0]" io "_" + ["[0]" io ["[1]" archive]] [// [language diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux index 65efc285e..5c6ba160e 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux @@ -9,7 +9,7 @@ [data [binary (.only Binary)] ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] ["[0]" encoding]] [collection @@ -37,11 +37,11 @@ ["[0]" document (.only Document)]] [cache ["[0]" dependency]] - ["[0]" io "_" + ["[0]" io ["[1]" archive]] [// [language - ["$" lux + ["$" lux (.only) [generation (.only Context)]]]]]]) ... TODO: Delete ASAP diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux index 4898670a7..c360fa7e1 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux @@ -22,13 +22,13 @@ ["[0]" archive (.only Output) ["[0]" artifact] ["[0]" unit] - ["[0]" module + ["[0]" module (.only) ["[0]" descriptor]]] - ["[0]" cache "_" + ["[0]" cache [dependency ["[1]/[0]" module] ["[1]/[0]" artifact]]] - ["[0]" io "_" + ["[0]" io ["[1]" archive]] [// [language diff --git a/stdlib/source/library/lux/tool/compiler/reference.lux b/stdlib/source/library/lux/tool/compiler/reference.lux index 73d32476f..6c6b7aca1 100644 --- a/stdlib/source/library/lux/tool/compiler/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/reference.lux @@ -16,7 +16,7 @@ ["n" nat]]] [meta ["[0]" symbol]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" variable (.only Variable)]]) (type: .public Constant diff --git a/stdlib/source/library/lux/type.lux b/stdlib/source/library/lux/type.lux index 396b684a9..879334883 100644 --- a/stdlib/source/library/lux/type.lux +++ b/stdlib/source/library/lux/type.lux @@ -9,7 +9,7 @@ ["[0]" function] ["[0]" maybe] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] @@ -17,14 +17,14 @@ [collection ["[0]" array] ["[0]" list ("[1]#[0]" monad monoid mix)]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["^" pattern] ["[0]" code]] [math [number ["n" nat ("[1]#[0]" decimal)]]] - ["[0]" meta + ["[0]" meta (.only) ["[0]" location] ["[0]" symbol ("[1]#[0]" equivalence codec)]]]]) diff --git a/stdlib/source/library/lux/type/dynamic.lux b/stdlib/source/library/lux/type/dynamic.lux index 231c34de6..87356c2a6 100644 --- a/stdlib/source/library/lux/type/dynamic.lux +++ b/stdlib/source/library/lux/type/dynamic.lux @@ -12,7 +12,7 @@ ["%" format]]] [macro (.only with_symbols) ["[0]" syntax (.only syntax:)]] - ["[0]" type + ["[0]" type (.only) ["[0]" primitive (.only primitive:)]]]]) (exception: .public (wrong_type [expected Type diff --git a/stdlib/source/library/lux/type/implicit.lux b/stdlib/source/library/lux/type/implicit.lux index 6c11177ec..d624eec5a 100644 --- a/stdlib/source/library/lux/type/implicit.lux +++ b/stdlib/source/library/lux/type/implicit.lux @@ -7,7 +7,7 @@ [control ["[0]" maybe] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] @@ -16,11 +16,11 @@ [collection ["[0]" list ("[1]#[0]" monad mix)] ["[0]" dictionary (.only Dictionary)]]] - ["[0]" macro + ["[0]" macro (.only) ["[0]" code] [syntax (.only syntax:)]] [math - ["[0]" number + ["[0]" number (.only) ["n" nat]]] ["[0]" meta] ["[0]" type ("[1]#[0]" equivalence) diff --git a/stdlib/source/library/lux/type/refinement.lux b/stdlib/source/library/lux/type/refinement.lux index 53bedd0a0..f2b07ac47 100644 --- a/stdlib/source/library/lux/type/refinement.lux +++ b/stdlib/source/library/lux/type/refinement.lux @@ -6,9 +6,9 @@ [control [parser ["<[0]>" code]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)]] - ["[0]" type + ["[0]" type (.only) [primitive (.full)]]]]) (primitive: .public (Refined t %) diff --git a/stdlib/source/library/lux/type/resource.lux b/stdlib/source/library/lux/type/resource.lux index b61be1fa5..ca68b4dc2 100644 --- a/stdlib/source/library/lux/type/resource.lux +++ b/stdlib/source/library/lux/type/resource.lux @@ -8,7 +8,7 @@ [control ["[0]" maybe] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] [data [text @@ -17,7 +17,7 @@ ["[0]" set] ["[0]" sequence (.only Sequence)] ["[0]" list ("[1]#[0]" functor mix)]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)]] [math [number diff --git a/stdlib/source/library/lux/type/unit.lux b/stdlib/source/library/lux/type/unit.lux index 30d6c3d27..768d39102 100644 --- a/stdlib/source/library/lux/type/unit.lux +++ b/stdlib/source/library/lux/type/unit.lux @@ -11,7 +11,7 @@ ["<>" parser ("[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [macro ["[0]" code] diff --git a/stdlib/source/library/lux/world/db/jdbc.lux b/stdlib/source/library/lux/world/db/jdbc.lux index 156f0635b..6942f788a 100644 --- a/stdlib/source/library/lux/world/db/jdbc.lux +++ b/stdlib/source/library/lux/world/db/jdbc.lux @@ -21,7 +21,7 @@ [host (.only import:)]]] [// ["[0]" sql]] - ["[0]" / "_" + ["[0]" / ["[1][0]" input (.only Input)] ["[1][0]" output (.only Output)]]) diff --git a/stdlib/source/library/lux/world/file/watch.lux b/stdlib/source/library/lux/world/file/watch.lux index 746e80d39..4cc239e00 100644 --- a/stdlib/source/library/lux/world/file/watch.lux +++ b/stdlib/source/library/lux/world/file/watch.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.except all) + [lux (.except all none) ["@" target] ["[0]" ffi (.only import:)] [abstract @@ -16,7 +16,7 @@ ["[0]" stm (.only STM Var)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)] diff --git a/stdlib/source/library/lux/world/net/http/client.lux b/stdlib/source/library/lux/world/net/http/client.lux index 8902aee1a..121bfa15c 100644 --- a/stdlib/source/library/lux/world/net/http/client.lux +++ b/stdlib/source/library/lux/world/net/http/client.lux @@ -27,7 +27,7 @@ [number ["n" nat] ["i" int]]]]] - ["[0]" // + ["[0]" // (.only) [// (.only URL)]]) (type: .public (Client !) diff --git a/stdlib/source/library/lux/world/program.lux b/stdlib/source/library/lux/world/program.lux index 987c96dbf..bd6f2d73c 100644 --- a/stdlib/source/library/lux/world/program.lux +++ b/stdlib/source/library/lux/world/program.lux @@ -17,7 +17,7 @@ ["[0]" environment (.only Environment)]]] [data ["[0]" bit ("[1]#[0]" equivalence)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" array (.only Array)] @@ -27,7 +27,7 @@ (~~ (.for "JavaScript" (~~ (.these ["[0]" node_js])) "{old}" (~~ (.these ["node_js" //math])) (~~ (.these))))] - ["[0]" macro + ["[0]" macro (.only) ["[0]" template]] [math [number diff --git a/stdlib/source/library/lux/world/shell.lux b/stdlib/source/library/lux/world/shell.lux index 461f7059a..08d0f6f8d 100644 --- a/stdlib/source/library/lux/world/shell.lux +++ b/stdlib/source/library/lux/world/shell.lux @@ -19,7 +19,7 @@ [environment (.only Environment)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] [encoding ["[0]" utf8]]] diff --git a/stdlib/source/poly/lux/abstract/equivalence.lux b/stdlib/source/poly/lux/abstract/equivalence.lux index 49fceeecf..9951de318 100644 --- a/stdlib/source/poly/lux/abstract/equivalence.lux +++ b/stdlib/source/poly/lux/abstract/equivalence.lux @@ -5,7 +5,7 @@ [monad (.only Monad do)]] [control ["[0]" maybe] - ["<>" parser + ["<>" parser (.only) ["<[0]>" type]]] [data ["[0]" product] @@ -35,7 +35,7 @@ ["[0]" instant] ["[0]" day] ["[0]" month]] - ["[0]" type + ["[0]" type (.only) ["[0]" poly (.only poly:)] ["[0]" unit]]]] [\\library diff --git a/stdlib/source/poly/lux/abstract/functor.lux b/stdlib/source/poly/lux/abstract/functor.lux index 4f31b389b..ccff661c6 100644 --- a/stdlib/source/poly/lux/abstract/functor.lux +++ b/stdlib/source/poly/lux/abstract/functor.lux @@ -4,12 +4,12 @@ [abstract [monad (.only Monad do)]] [control - ["p" parser + ["p" parser (.only) ["<[0]>" type] ["s" code (.only Parser)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" monad monoid)]]] @@ -19,7 +19,7 @@ [math [number ["n" nat]]] - ["[0]" type + ["[0]" type (.only) ["[0]" poly (.only poly:)]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/poly/lux/data/format/json.lux b/stdlib/source/poly/lux/data/format/json.lux index cc6271a34..bb75c1403 100644 --- a/stdlib/source/poly/lux/data/format/json.lux +++ b/stdlib/source/poly/lux/data/format/json.lux @@ -7,12 +7,12 @@ ["[0]" codec]] [control ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["</>" json] ["<[0]>" type] ["<[0]>" code]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" monad)] @@ -33,7 +33,7 @@ ["[0]" date] ["[0]" day] ["[0]" month]] - ["[0]" type + ["[0]" type (.only) ["[0]" unit] ["[0]" poly (.only poly:)]]]] [\\library diff --git a/stdlib/source/program/aedifex.lux b/stdlib/source/program/aedifex.lux index a8877a8c9..e753fbed6 100644 --- a/stdlib/source/program/aedifex.lux +++ b/stdlib/source/program/aedifex.lux @@ -16,7 +16,7 @@ ["[0]" async (.only Async) ("[1]#[0]" monad)]]] [data [binary (.only Binary)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] [encoding ["[0]" utf8]]] @@ -38,16 +38,16 @@ ["[0]" file (.only Path) ["[0]" watch]] [net - ["[0]" http "_" + ["[0]" http ["[1]" client]]]]]] - ["[0]" / "_" + ["[0]" / ["[1]" profile] ["[1][0]" action (.only Action)] ["[1][0]" project (.only Project)] ["[1][0]" input] ["[1][0]" pom] ["[1][0]" cli] - ["[1][0]" dependency "_" + ["[1][0]" dependency ["[1]" resolution (.only Resolution)]] ["[1][0]" repository (.only Repository) ["[1]/[0]" remote (.only Address)] diff --git a/stdlib/source/program/aedifex/artifact/extension.lux b/stdlib/source/program/aedifex/artifact/extension.lux index 7a308a1bf..744731370 100644 --- a/stdlib/source/program/aedifex/artifact/extension.lux +++ b/stdlib/source/program/aedifex/artifact/extension.lux @@ -2,11 +2,11 @@ [library [lux (.except type) [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [macro ["[0]" template]]]] - ["[0]" // "_" + ["[0]" // ["[1]" type]]) (type: .public Extension diff --git a/stdlib/source/program/aedifex/artifact/snapshot.lux b/stdlib/source/program/aedifex/artifact/snapshot.lux index 49e689a72..b8c0f8db4 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot.lux @@ -5,14 +5,14 @@ [equivalence (.only Equivalence)] [monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" xml (.only Parser)] ["<[0]>" text]]] [data ["[0]" sum] [format ["[0]" xml (.only XML)]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" stamp (.only Stamp)]]) (type: .public Snapshot diff --git a/stdlib/source/program/aedifex/artifact/snapshot/stamp.lux b/stdlib/source/program/aedifex/artifact/snapshot/stamp.lux index 8e2a68db8..315aa037d 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot/stamp.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot/stamp.lux @@ -5,14 +5,14 @@ [equivalence (.only Equivalence)] [monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" xml (.only Parser)] ["<[0]>" text]]] [data ["[0]" product] [format ["[0]" xml (.only XML)]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" time (.only Time)] ["[1][0]" build (.only Build)]]) diff --git a/stdlib/source/program/aedifex/artifact/snapshot/time.lux b/stdlib/source/program/aedifex/artifact/snapshot/time.lux index 3fd81d69d..9f306f1d7 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot/time.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot/time.lux @@ -6,7 +6,7 @@ [monad (.only do)]] [control ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text] ["<[0]>" xml (.only Parser)]]] [data @@ -16,7 +16,7 @@ ["[0]" xml (.only XML)]]] [time ["[0]" instant (.only Instant)]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" time ["[1]/[0]" date] ["[1]/[0]" time]]]) diff --git a/stdlib/source/program/aedifex/artifact/snapshot/version.lux b/stdlib/source/program/aedifex/artifact/snapshot/version.lux index d027bf8e8..a1afbd888 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot/version.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot/version.lux @@ -5,7 +5,7 @@ [equivalence (.only Equivalence)] [monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" xml (.only Parser)] ["<[0]>" text]]] [data @@ -13,7 +13,7 @@ ["[0]" text] [format ["[0]" xml (.only XML)]]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" type (.only Type)] ["[1][0]" time (.only Time)]]) diff --git a/stdlib/source/program/aedifex/artifact/time.lux b/stdlib/source/program/aedifex/artifact/time.lux index 1afab48ba..a35084d6e 100644 --- a/stdlib/source/program/aedifex/artifact/time.lux +++ b/stdlib/source/program/aedifex/artifact/time.lux @@ -7,7 +7,7 @@ [monad (.only do)]] [control ["[0]" try (.only Try)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data ["[0]" product] @@ -15,7 +15,7 @@ ["%" format (.only Format)]]] [time ["[0]" instant (.only Instant)]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" date] ["[1][0]" time]]) diff --git a/stdlib/source/program/aedifex/artifact/time/time.lux b/stdlib/source/program/aedifex/artifact/time/time.lux index cf4bb0761..a957c6a15 100644 --- a/stdlib/source/program/aedifex/artifact/time/time.lux +++ b/stdlib/source/program/aedifex/artifact/time/time.lux @@ -5,7 +5,7 @@ [abstract [monad (.only do)]] [control - ["<>" parser + ["<>" parser (.only) ["<[0]>" text (.only Parser)]]] [data [text @@ -13,7 +13,7 @@ [math [number ["n" nat]]]]] - ["[0]" // "_" + ["[0]" // ["[1]" date]]) (type: .public Time diff --git a/stdlib/source/program/aedifex/artifact/versioning.lux b/stdlib/source/program/aedifex/artifact/versioning.lux index 66ac3c146..fd4563b10 100644 --- a/stdlib/source/program/aedifex/artifact/versioning.lux +++ b/stdlib/source/program/aedifex/artifact/versioning.lux @@ -6,12 +6,12 @@ [monad (.only do)]] [control ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" xml (.only Parser)] ["<[0]>" text]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format]] [format ["[0]" xml (.only XML)]] @@ -24,7 +24,7 @@ ["[0]" date (.only Date)] ["[0]" year] ["[0]" month]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" time] ["[1][0]" snapshot (.only Snapshot) ["[1]/[0]" version (.only Version)]]]) diff --git a/stdlib/source/program/aedifex/command.lux b/stdlib/source/program/aedifex/command.lux index a8370462d..c7fe7d1dd 100644 --- a/stdlib/source/program/aedifex/command.lux +++ b/stdlib/source/program/aedifex/command.lux @@ -1,7 +1,7 @@ (.using [library [lux (.full)]] - ["[0]" // "_" + ["[0]" // ["[1]" profile] ["[1][0]" action (.only Action)]]) diff --git a/stdlib/source/program/aedifex/command/auto.lux b/stdlib/source/program/aedifex/command/auto.lux index 5b48f53e9..d9b565a08 100644 --- a/stdlib/source/program/aedifex/command/auto.lux +++ b/stdlib/source/program/aedifex/command/auto.lux @@ -15,10 +15,10 @@ [program (.only Program)] [shell (.only Exit Shell)] [console (.only Console)] - ["[0]" file + ["[0]" file (.only) ["[0]" watch (.only Watcher)]]]]] - ["[0]" // "_" - ["/[1]" // "_" + ["[0]" // + ["/[1]" // [command (.only Command)] ["[1]" profile] ["[1][0]" action] diff --git a/stdlib/source/program/aedifex/command/build.lux b/stdlib/source/program/aedifex/command/build.lux index 6e4629a72..3e175f2d7 100644 --- a/stdlib/source/program/aedifex/command/build.lux +++ b/stdlib/source/program/aedifex/command/build.lux @@ -32,7 +32,7 @@ [meta [cli ["[0]" compiler]] - ["[0]" packager + ["[0]" packager (.only) ["[0]_[1]" ruby]]]]] [world ["[0]" program (.only Program)] @@ -41,7 +41,7 @@ ["[0]" console (.only Console)] [net ["[0]" uri]]]]] - ["[0]" /// "_" + ["[0]" /// ["[1]" profile] ["[1][0]" action] ["[1][0]" command (.only Command)] diff --git a/stdlib/source/program/aedifex/command/clean.lux b/stdlib/source/program/aedifex/command/clean.lux index 8026697e9..6b03b8cea 100644 --- a/stdlib/source/program/aedifex/command/clean.lux +++ b/stdlib/source/program/aedifex/command/clean.lux @@ -13,7 +13,7 @@ [world ["[0]" file (.only Path)] ["[0]" console (.only Console)]]]] - ["[0]" /// "_" + ["[0]" /// [command (.only Command)] ["[1]" profile] ["[1][0]" action (.only Action)]]) diff --git a/stdlib/source/program/aedifex/command/deploy.lux b/stdlib/source/program/aedifex/command/deploy.lux index 2349894f2..572672110 100644 --- a/stdlib/source/program/aedifex/command/deploy.lux +++ b/stdlib/source/program/aedifex/command/deploy.lux @@ -12,11 +12,11 @@ [shell (.only Shell)] ["[0]" file] ["[0]" console (.only Console)]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" snapshot] ["[1][0]" release] - ["/[1]" // "_" - ["/[1]" // "_" + ["/[1]" // + ["/[1]" // [command (.only Command)] [repository (.only Repository)] [artifact (.only Artifact)] diff --git a/stdlib/source/program/aedifex/command/deploy/release.lux b/stdlib/source/program/aedifex/command/deploy/release.lux index dcda6536d..04c699286 100644 --- a/stdlib/source/program/aedifex/command/deploy/release.lux +++ b/stdlib/source/program/aedifex/command/deploy/release.lux @@ -15,7 +15,7 @@ ["[0]" environment]]] [data ["[0]" binary (.only Binary)] - ["[0]" text + ["[0]" text (.only) ["%" format] [encoding ["[0]" utf8]]] @@ -32,25 +32,25 @@ ["[0]" export] ["[0]" archive] ["[0]" context] - ["[0]" packager "_" + ["[0]" packager ["[1]" jvm]]]]] [world [program (.only Program)] [console (.only Console)] ["[0]" shell (.only Shell)] ["[0]" file]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" snapshot] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" install] - ["/[1]" // "_" + ["/[1]" // [command (.only Command)] ["/" profile] ["[1][0]" action] ["[1][0]" pom] ["[1][0]" package] ["[1][0]" hash] - ["[1][0]" dependency "_" + ["[1][0]" dependency ["[1]/[0]" deployment] ["[1]/[0]" status]] ["[1][0]" repository (.only Repository) diff --git a/stdlib/source/program/aedifex/command/deploy/snapshot.lux b/stdlib/source/program/aedifex/command/deploy/snapshot.lux index 9e0f0f73c..f1c779517 100644 --- a/stdlib/source/program/aedifex/command/deploy/snapshot.lux +++ b/stdlib/source/program/aedifex/command/deploy/snapshot.lux @@ -24,13 +24,13 @@ [world [console (.only Console)] ["[0]" file]]]] - ["[0]" //// "_" + ["[0]" //// [command (.only Command)] ["/" profile] ["[1][0]" action] ["[1][0]" pom] ["[1][0]" package] - ["[1][0]" dependency "_" + ["[1][0]" dependency ["[1]/[0]" deployment] ["[1]/[0]" status]] ["[1][0]" repository (.only Repository) diff --git a/stdlib/source/program/aedifex/command/deps.lux b/stdlib/source/program/aedifex/command/deps.lux index 795187c01..f3cfc3d20 100644 --- a/stdlib/source/program/aedifex/command/deps.lux +++ b/stdlib/source/program/aedifex/command/deps.lux @@ -19,9 +19,9 @@ [program (.only Program)] ["[0]" file] ["[0]" console (.only Console)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" clean] - ["/[1]" // "_" + ["/[1]" // [command (.only Command)] [repository (.only Repository)] ["[1]" profile] diff --git a/stdlib/source/program/aedifex/command/install.lux b/stdlib/source/program/aedifex/command/install.lux index 27ed1b7c6..803bda26f 100644 --- a/stdlib/source/program/aedifex/command/install.lux +++ b/stdlib/source/program/aedifex/command/install.lux @@ -27,9 +27,9 @@ [program (.only Program)] ["[0]" file] ["[0]" console (.only Console)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" clean] - ["/[1]" // "_" + ["/[1]" // ["/" profile (.only Profile)] ["[1][0]" action (.only Action)] ["[1][0]" command (.only Command)] @@ -38,7 +38,7 @@ ["[1][0]" package] [repository (.only Repository) ["[1][0]" origin]] - ["[1][0]" dependency "_" + ["[1][0]" dependency ["[1]/[0]" deployment] ["[1]/[0]" status]] ["[1][0]" artifact (.only Artifact) diff --git a/stdlib/source/program/aedifex/command/pom.lux b/stdlib/source/program/aedifex/command/pom.lux index 32b71a4f4..865e650a1 100644 --- a/stdlib/source/program/aedifex/command/pom.lux +++ b/stdlib/source/program/aedifex/command/pom.lux @@ -17,7 +17,7 @@ [world ["[0]" file] ["[0]" console (.only Console)]]]] - ["[0]" /// "_" + ["[0]" /// [command (.only Command)] ["[1][0]" action] ["[1][0]" pom]]) diff --git a/stdlib/source/program/aedifex/command/test.lux b/stdlib/source/program/aedifex/command/test.lux index 8b3c5fae3..921a74148 100644 --- a/stdlib/source/program/aedifex/command/test.lux +++ b/stdlib/source/program/aedifex/command/test.lux @@ -20,9 +20,9 @@ ["[0]" file] ["[0]" shell (.only Exit Shell)] ["[0]" console (.only Console)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" build] - ["/[1]" // "_" + ["/[1]" // ["[1]" profile] ["[1][0]" action] ["[1][0]" command (.only Command)] diff --git a/stdlib/source/program/aedifex/command/version.lux b/stdlib/source/program/aedifex/command/version.lux index 6e3e5dd3f..488b7660a 100644 --- a/stdlib/source/program/aedifex/command/version.lux +++ b/stdlib/source/program/aedifex/command/version.lux @@ -5,7 +5,7 @@ [try (.only Try)] [concurrency ["[0]" async (.only Async)]]] - ["[0]" meta "_" + ["[0]" meta ["[1]/[0]" version]] [tool [compiler diff --git a/stdlib/source/program/aedifex/dependency.lux b/stdlib/source/program/aedifex/dependency.lux index 4a06cbede..3a8a69d81 100644 --- a/stdlib/source/program/aedifex/dependency.lux +++ b/stdlib/source/program/aedifex/dependency.lux @@ -9,7 +9,7 @@ ["[0]" product] ["[0]" text ("[1]#[0]" order) ["%" format (.only format)]]]]] - ["[0]" // "_" + ["[0]" // ["[1]" artifact (.only Artifact) ("[1]#[0]" order) [type (.only Type)]]]) diff --git a/stdlib/source/program/aedifex/dependency/deployment.lux b/stdlib/source/program/aedifex/dependency/deployment.lux index fae43920d..a904e9f6c 100644 --- a/stdlib/source/program/aedifex/dependency/deployment.lux +++ b/stdlib/source/program/aedifex/dependency/deployment.lux @@ -21,7 +21,7 @@ ["[0]" list ("[1]#[0]" monoid)]]] [time ["[0]" instant (.only Instant)]]]] - ["[0]" /// "_" + ["[0]" /// [repository (.only Repository)] ["[1][0]" hash (.only Hash)] ["[1][0]" package (.only Package)] @@ -30,10 +30,10 @@ ["[1]/[0]" type] ["[1]/[0]" extension (.only Extension)] ["[1]/[0]" versioning] - ["[1]/[0]" snapshot - ["[1]/[0]" version + ["[1]/[0]" snapshot (.only) + ["[1]/[0]" version (.only) ["[1]/[0]" value]]]] - ["[1][0]" metadata "_" + ["[1][0]" metadata ["[1]/[0]" artifact] ["[1]/[0]" snapshot (.only Metadata)]] ["[1][0]" dependency (.only Dependency) diff --git a/stdlib/source/program/aedifex/dependency/resolution.lux b/stdlib/source/program/aedifex/dependency/resolution.lux index c0645959a..f535dd186 100644 --- a/stdlib/source/program/aedifex/dependency/resolution.lux +++ b/stdlib/source/program/aedifex/dependency/resolution.lux @@ -13,13 +13,13 @@ ["[0]" maybe] ["[0]" try (.only Try) ("[1]#[0]" functor)] ["[0]" exception (.only Exception exception:)] - ["<>" parser + ["<>" parsernone ["<[0]>" xml (.only Parser)]] [concurrency ["[0]" async (.only Async)]]] [data ["[0]" binary (.only Binary)] - ["[0]" text + ["[0]" textnone ["%" format (.only format)] [encoding ["[0]" utf8]]] @@ -37,11 +37,11 @@ [console (.only Console)] [net (.only URL) ["[0]" uri] - ["[0]" http "_" + ["[0]" http ["[1]" client]]]]]] ["[0]" // (.only Dependency) ["[1][0]" status (.only Status)] - ["/[1]" // "_" + ["/[1]" // ["/" profile] ["[1][0]" hash (.only Hash SHA-1 MD5)] ["[1][0]" pom] @@ -49,7 +49,7 @@ ["[1][0]" artifact (.only Version Artifact) ["[1]/[0]" extension (.only Extension)] ["[1]/[0]" versioning] - ["[0]" snapshot + ["[0]" snapshotnone [version ["[0]" value]]]] ["[1][0]" repository (.only Repository) diff --git a/stdlib/source/program/aedifex/dependency/status.lux b/stdlib/source/program/aedifex/dependency/status.lux index 627bae8c7..1ed4b187a 100644 --- a/stdlib/source/program/aedifex/dependency/status.lux +++ b/stdlib/source/program/aedifex/dependency/status.lux @@ -7,7 +7,7 @@ [binary (.only Binary)] ["[0]" sum] ["[0]" product]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" hash (.only Hash SHA-1 MD5)]]) (type: .public Status diff --git a/stdlib/source/program/aedifex/format.lux b/stdlib/source/program/aedifex/format.lux index 25881fc2e..17faaa55c 100644 --- a/stdlib/source/program/aedifex/format.lux +++ b/stdlib/source/program/aedifex/format.lux @@ -15,7 +15,7 @@ [meta [cli [compiler (.only Compiler)]]]]]]] - ["[0]" // "_" + ["[0]" // ["/" profile] ["[1][0]" runtime (.only Runtime)] ["[1][0]" project (.only Project)] diff --git a/stdlib/source/program/aedifex/input.lux b/stdlib/source/program/aedifex/input.lux index 463c21179..c9cea74cc 100644 --- a/stdlib/source/program/aedifex/input.lux +++ b/stdlib/source/program/aedifex/input.lux @@ -25,7 +25,7 @@ ["[0]" syntax]]]]] [world ["[0]" file]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" profile (.only Name Profile)] ["[1][0]" project (.only Project)] ["[1][0]" parser]]) diff --git a/stdlib/source/program/aedifex/local.lux b/stdlib/source/program/aedifex/local.lux index fb7ae07dd..7de56dfaa 100644 --- a/stdlib/source/program/aedifex/local.lux +++ b/stdlib/source/program/aedifex/local.lux @@ -7,7 +7,7 @@ [world [net ["[0]" uri (.only URI)]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" artifact (.only Version Artifact)]]) (def: / uri.separator) diff --git a/stdlib/source/program/aedifex/metadata.lux b/stdlib/source/program/aedifex/metadata.lux index 7900ad204..e85c4dd5b 100644 --- a/stdlib/source/program/aedifex/metadata.lux +++ b/stdlib/source/program/aedifex/metadata.lux @@ -2,13 +2,13 @@ [library [lux (.full) [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [world [file (.only Path)] [net ["[0]" uri (.only URI)]]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" artifact (.only Artifact)]]) (def: remote_file diff --git a/stdlib/source/program/aedifex/metadata/artifact.lux b/stdlib/source/program/aedifex/metadata/artifact.lux index b5cffce20..6391eb70a 100644 --- a/stdlib/source/program/aedifex/metadata/artifact.lux +++ b/stdlib/source/program/aedifex/metadata/artifact.lux @@ -7,14 +7,14 @@ [control ["[0]" pipe] ["[0]" try (.only Try)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" xml (.only Parser)] ["<[0]>" text]] [concurrency ["[0]" async (.only Async)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format] [encoding ["[0]" utf8]]] @@ -33,8 +33,8 @@ [world [net ["[0]" uri (.only URI)]]]]] - ["[0]" // - ["/[1]" // "_" + ["[0]" // (.only) + ["/[1]" // [repository (.only Repository)] ["[1][0]" artifact (.only Group Name Version Artifact)]]]) diff --git a/stdlib/source/program/aedifex/metadata/snapshot.lux b/stdlib/source/program/aedifex/metadata/snapshot.lux index deb58391e..1e0879467 100644 --- a/stdlib/source/program/aedifex/metadata/snapshot.lux +++ b/stdlib/source/program/aedifex/metadata/snapshot.lux @@ -8,14 +8,14 @@ ["[0]" pipe] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" xml (.only Parser)] ["<[0]>" text]] [concurrency ["[0]" async (.only Async)]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format] [encoding ["[0]" utf8]]] @@ -34,14 +34,14 @@ [world [net ["[0]" uri (.only URI)]]]]] - ["[0]" // - ["/[1]" // "_" + ["[0]" // (.only) + ["/[1]" // [repository (.only Repository)] ["[1][0]" artifact (.only Group Name Version Artifact) ["[1]/[0]" time] ["[1]/[0]" type (.only Type)] ["[1]/[0]" versioning (.only Versioning)] - ["[1]/[0]" snapshot + ["[1]/[0]" snapshot (.only) ["[1]/[0]" version] ["[1]/[0]" stamp]]]]]) diff --git a/stdlib/source/program/aedifex/package.lux b/stdlib/source/program/aedifex/package.lux index 4929320d9..f8f140b40 100644 --- a/stdlib/source/program/aedifex/package.lux +++ b/stdlib/source/program/aedifex/package.lux @@ -18,7 +18,7 @@ ["[0]" xml (.only XML)]] [collection [set (.only Set)]]]]] - ["[0]" // "_" + ["[0]" // ["/" profile] ["[1][0]" hash] ["[1][0]" pom] diff --git a/stdlib/source/program/aedifex/parser.lux b/stdlib/source/program/aedifex/parser.lux index cc45e659e..b4014f06a 100644 --- a/stdlib/source/program/aedifex/parser.lux +++ b/stdlib/source/program/aedifex/parser.lux @@ -23,13 +23,13 @@ [descriptor (.only Module)]]]]]] [world [net (.only URL)]]]] - ["[0]" // "_" + ["[0]" // ["/" profile] ["[1][0]" runtime (.only Runtime)] ["[1][0]" project (.only Project)] ["[1][0]" dependency] ["[1][0]" format] - ["[1][0]" repository "_" + ["[1][0]" repository ["[1]" remote]] ["[1][0]" artifact (.only Artifact) ["[1]/[0]" type]]]) diff --git a/stdlib/source/program/aedifex/pom.lux b/stdlib/source/program/aedifex/pom.lux index 8736deba8..4bf36f52a 100644 --- a/stdlib/source/program/aedifex/pom.lux +++ b/stdlib/source/program/aedifex/pom.lux @@ -8,7 +8,7 @@ ["[0]" maybe ("[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" exception] - ["<>" parser + ["<>" parser (.only) ["<[0]>" xml (.only Parser)]]] [data ["[0]" text] @@ -22,7 +22,7 @@ ["[0]" symbol]] [world ["[0]" file]]]] - ["[0]" // "_" + ["[0]" // ["/" profile] ["[1][0]" dependency (.only Dependency)] [repository diff --git a/stdlib/source/program/aedifex/project.lux b/stdlib/source/program/aedifex/project.lux index 9ab033a58..80c8292ba 100644 --- a/stdlib/source/program/aedifex/project.lux +++ b/stdlib/source/program/aedifex/project.lux @@ -9,13 +9,13 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)] ["[0]" set (.only Set)] ["[0]" list ("[1]#[0]" mix)]]]]] - ["[0]" // "_" + ["[0]" // ["[1]" profile (.only Name Profile)]]) (def: .public file diff --git a/stdlib/source/program/aedifex/repository/local.lux b/stdlib/source/program/aedifex/repository/local.lux index 03ea25b7a..89faa2788 100644 --- a/stdlib/source/program/aedifex/repository/local.lux +++ b/stdlib/source/program/aedifex/repository/local.lux @@ -8,15 +8,15 @@ [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [world [program (.only Program)] ["[0]" file] [net ["[0]" uri (.only URI)]]]]] - ["[0]" // - ["/[1]" // "_" + ["[0]" // (.only) + ["/[1]" // ["[1][0]" local] ["[1][0]" metadata]]]) diff --git a/stdlib/source/program/aedifex/repository/remote.lux b/stdlib/source/program/aedifex/repository/remote.lux index 5b231fbca..7f5d84775 100644 --- a/stdlib/source/program/aedifex/repository/remote.lux +++ b/stdlib/source/program/aedifex/repository/remote.lux @@ -11,7 +11,7 @@ ["[0]" product] [text ["%" format (.only format)]]] - ["[0]" meta "_" + ["[0]" meta ["[1]/[0]" version]] [tool [compiler @@ -19,13 +19,13 @@ [world [net (.only URL) [uri (.only URI)] - ["[0]" http "_" + ["[0]" http ["[1]" client] ["[1]/[0]" status] ["@[1]" /]]]]]] - ["[0]" // + ["[0]" // (.only) ["[1][0]" identity (.only Identity)] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" artifact (.only Version Artifact) [extension (.only Extension)]]]]) diff --git a/stdlib/source/program/compositor.lux b/stdlib/source/program/compositor.lux index 101240349..bcc771965 100644 --- a/stdlib/source/program/compositor.lux +++ b/stdlib/source/program/compositor.lux @@ -15,13 +15,13 @@ [data [binary (.only Binary)] ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)]]] [time ["[0]" instant]] - ["[0]" world "_" + ["[0]" world ["[0]" file] ["[0]" console] ["[1]/[0]" program]] @@ -31,7 +31,7 @@ [default ["[0]" platform (.only Platform)]] [language - ["$" lux + ["$" lux (.only) ["[1]/[0]" program (.only Program)] ["[0]" syntax] ["[0]" generation] @@ -46,7 +46,7 @@ ["[0]" cli (.only Service)] ["[0]" import] ["[0]" export] - ["[0]" cache "_" + ["[0]" cache ["[1]" archive]] [archive (.only Archive) ["[0]" unit] diff --git a/stdlib/source/specification/aedifex/repository.lux b/stdlib/source/specification/aedifex/repository.lux index 8e9053349..1e39c009b 100644 --- a/stdlib/source/specification/aedifex/repository.lux +++ b/stdlib/source/specification/aedifex/repository.lux @@ -9,18 +9,18 @@ [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" binary + ["[0]" binary (.only) ["_[1]" \\test]]] [math ["[0]" random]]]] [\\program - ["[0]" / + ["[0]" / (.only) ["[1][0]" remote] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" artifact (.only Artifact) ["[1]/[0]" extension]]]]] [\\test - ["_[0]" // "_" + ["_[0]" // ["[1][0]" artifact]]]) (def: .public (spec valid_artifact invalid_artifact subject) diff --git a/stdlib/source/specification/compositor.lux b/stdlib/source/specification/compositor.lux index d95e522fe..51e274453 100644 --- a/stdlib/source/specification/compositor.lux +++ b/stdlib/source/specification/compositor.lux @@ -17,11 +17,11 @@ [generation (.only Bundle)]] [default [platform (.only Platform)]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" common (.only Runner Definer)] - ["[1]./" analysis "_" + ["[1]./" analysis ["[1][0]" type]] - ["[1]./" generation "_" + ["[1]./" generation ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] diff --git a/stdlib/source/specification/compositor/generation/common.lux b/stdlib/source/specification/compositor/generation/common.lux index 659971e9e..334ce7012 100644 --- a/stdlib/source/specification/compositor/generation/common.lux +++ b/stdlib/source/specification/compositor/generation/common.lux @@ -25,7 +25,7 @@ [compiler ["[0]" reference] ["[0]" synthesis]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" case] [// [common (.only Runner)]]]) diff --git a/stdlib/source/specification/compositor/generation/function.lux b/stdlib/source/specification/compositor/generation/function.lux index a255a7b1e..d1ab6e87a 100644 --- a/stdlib/source/specification/compositor/generation/function.lux +++ b/stdlib/source/specification/compositor/generation/function.lux @@ -18,7 +18,7 @@ [analysis (.only Arity)] ["[0]" reference (.only Register)] ["[0]" synthesis (.only Synthesis)]]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" case] [// [common (.only Runner)]]]) diff --git a/stdlib/source/specification/lux/abstract/codec.lux b/stdlib/source/specification/lux/abstract/codec.lux index 6fb116a8c..3c6a05a11 100644 --- a/stdlib/source/specification/lux/abstract/codec.lux +++ b/stdlib/source/specification/lux/abstract/codec.lux @@ -9,7 +9,7 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [equivalence (.only Equivalence)]]]]) diff --git a/stdlib/source/specification/lux/abstract/monoid.lux b/stdlib/source/specification/lux/abstract/monoid.lux index 9c28a1a94..0082a5c22 100644 --- a/stdlib/source/specification/lux/abstract/monoid.lux +++ b/stdlib/source/specification/lux/abstract/monoid.lux @@ -7,7 +7,7 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [equivalence (.only Equivalence)]]]]) diff --git a/stdlib/source/specification/lux/world/console.lux b/stdlib/source/specification/lux/world/console.lux index 4b7925983..e373596c4 100644 --- a/stdlib/source/specification/lux/world/console.lux +++ b/stdlib/source/specification/lux/world/console.lux @@ -10,7 +10,7 @@ [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [math ["[0]" random]]]] diff --git a/stdlib/source/specification/lux/world/shell.lux b/stdlib/source/specification/lux/world/shell.lux index 710aa86c4..1ebabbd0b 100644 --- a/stdlib/source/specification/lux/world/shell.lux +++ b/stdlib/source/specification/lux/world/shell.lux @@ -20,7 +20,7 @@ ["n" nat] ["i" int]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [file (.only Path)]]]]) diff --git a/stdlib/source/test/aedifex.lux b/stdlib/source/test/aedifex.lux index 0e35d1714..39a98a424 100644 --- a/stdlib/source/test/aedifex.lux +++ b/stdlib/source/test/aedifex.lux @@ -5,7 +5,7 @@ ["_" test (.only Test)] [control ["[0]" io]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" artifact] ["[1][0]" cli] ["[1][0]" command] diff --git a/stdlib/source/test/aedifex/artifact.lux b/stdlib/source/test/aedifex/artifact.lux index 1dcc00f38..3c6992628 100644 --- a/stdlib/source/test/aedifex/artifact.lux +++ b/stdlib/source/test/aedifex/artifact.lux @@ -17,7 +17,7 @@ ["[0]" file] [net ["[0]" uri]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" extension] ["[1][0]" snapshot] ["[1][0]" time] diff --git a/stdlib/source/test/aedifex/artifact/extension.lux b/stdlib/source/test/aedifex/artifact/extension.lux index 5ec2f0939..4314050e8 100644 --- a/stdlib/source/test/aedifex/artifact/extension.lux +++ b/stdlib/source/test/aedifex/artifact/extension.lux @@ -14,8 +14,8 @@ [number ["n" nat]]]]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" type]]]]) (def: .public test diff --git a/stdlib/source/test/aedifex/artifact/snapshot.lux b/stdlib/source/test/aedifex/artifact/snapshot.lux index adfb1efc8..592b731ce 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot.lux @@ -12,7 +12,7 @@ ["<[0]>" xml]]] [math ["[0]" random (.only Random) ("[1]#[0]" monad)]]]] - ["$[0]" / "_" + ["$[0]" / ["[1][0]" build] ["[1][0]" stamp] ["[1][0]" time] diff --git a/stdlib/source/test/aedifex/artifact/snapshot/stamp.lux b/stdlib/source/test/aedifex/artifact/snapshot/stamp.lux index 92034c73f..eb9b88684 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/stamp.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/stamp.lux @@ -16,7 +16,7 @@ ["[0]" instant]]]] [\\program ["[0]" /]] - ["$[0]" // "_" + ["$[0]" // ["[1][0]" time] ["[1][0]" build]]) diff --git a/stdlib/source/test/aedifex/artifact/snapshot/time.lux b/stdlib/source/test/aedifex/artifact/snapshot/time.lux index e56495624..7b078ff05 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/time.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/time.lux @@ -14,7 +14,7 @@ ["[0]" random (.only Random)]]]] [\\program ["[0]" /]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" time]]) (def: .public random diff --git a/stdlib/source/test/aedifex/artifact/snapshot/version.lux b/stdlib/source/test/aedifex/artifact/snapshot/version.lux index 59860fec4..e35b1e58c 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/version.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/version.lux @@ -14,9 +14,9 @@ ["[0]" random (.only Random)]]]] [\\program ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" value]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" type] ["[1][0]" time]]) diff --git a/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux b/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux index e157ff361..9a68089bb 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux @@ -20,11 +20,11 @@ ["i" int]]] [time ["[0]" instant]]]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" stamp]] [\\program - ["[0]" / - ["//[1]" /// + ["[0]" / (.only) + ["//[1]" /// (.only) ["[1][0]" stamp] ["[1][0]" time]]]]) diff --git a/stdlib/source/test/aedifex/artifact/time.lux b/stdlib/source/test/aedifex/artifact/time.lux index a74865f0c..0eec2b191 100644 --- a/stdlib/source/test/aedifex/artifact/time.lux +++ b/stdlib/source/test/aedifex/artifact/time.lux @@ -18,7 +18,7 @@ ["i" int]]]]] [\\program ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" date] ["[1][0]" time]]) diff --git a/stdlib/source/test/aedifex/artifact/versioning.lux b/stdlib/source/test/aedifex/artifact/versioning.lux index 2f345da94..1c3d4ca55 100644 --- a/stdlib/source/test/aedifex/artifact/versioning.lux +++ b/stdlib/source/test/aedifex/artifact/versioning.lux @@ -14,9 +14,9 @@ ["[0]" random (.only Random)]]]] [\\program ["[0]" /]] - ["$[0]" // "_" + ["$[0]" // ["[1][0]" time] - ["[1][0]" snapshot + ["[1][0]" snapshot (.only) ["[1]/[0]" version]]]) (def: .public random diff --git a/stdlib/source/test/aedifex/cache.lux b/stdlib/source/test/aedifex/cache.lux index ab035f0e8..13b8e27d4 100644 --- a/stdlib/source/test/aedifex/cache.lux +++ b/stdlib/source/test/aedifex/cache.lux @@ -33,8 +33,8 @@ [data ["_[0]" binary]]]]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" profile (.only Profile)] ["[1][0]" package (.only Package)] ["[1][0]" pom] @@ -42,7 +42,7 @@ ["[1]/[0]" resolution (.only Resolution)]] ["[1][0]" artifact (.only Artifact) ["[1]/[0]" type (.only Type)]] - ["[1][0]" repository "_" + ["[1][0]" repository ["[1]/[0]" origin]]]]]) (def: type diff --git a/stdlib/source/test/aedifex/cli.lux b/stdlib/source/test/aedifex/cli.lux index 45e1f7b23..804d0d527 100644 --- a/stdlib/source/test/aedifex/cli.lux +++ b/stdlib/source/test/aedifex/cli.lux @@ -18,8 +18,8 @@ [math ["[0]" random (.only Random) ("[1]#[0]" monad)]]]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" profile]]]]) (def: compilation diff --git a/stdlib/source/test/aedifex/command.lux b/stdlib/source/test/aedifex/command.lux index 728bff970..5005403cf 100644 --- a/stdlib/source/test/aedifex/command.lux +++ b/stdlib/source/test/aedifex/command.lux @@ -2,7 +2,7 @@ [library [lux (.full) ["_" test (.only Test)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" version] ["[1][0]" pom] diff --git a/stdlib/source/test/aedifex/command/auto.lux b/stdlib/source/test/aedifex/command/auto.lux index eac71601d..fd7543d16 100644 --- a/stdlib/source/test/aedifex/command/auto.lux +++ b/stdlib/source/test/aedifex/command/auto.lux @@ -14,7 +14,7 @@ ["[0]" async (.only Async)]]] [data ["[0]" binary] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] [encoding ["[0]" utf8]]] @@ -32,12 +32,12 @@ ["[0]" program (.only Program)] ["[0]" file ["[0]" watch]]]]] - ["[0]" // "_" + ["[0]" // ["$[0]" version] ["$[0]" build]] [\\program - ["[0]" / - ["//[1]" /// "_" + ["[0]" / (.only) + ["//[1]" /// [command (.only Command)] ["[1]" profile (.only Profile)] ["[1][0]" action] diff --git a/stdlib/source/test/aedifex/command/build.lux b/stdlib/source/test/aedifex/command/build.lux index 68d9aedc3..f6c220743 100644 --- a/stdlib/source/test/aedifex/command/build.lux +++ b/stdlib/source/test/aedifex/command/build.lux @@ -23,16 +23,16 @@ ["[0]" file] ["[0]" shell (.only Shell)] ["[0]" program]]]] - ["[0]" // "_" + ["[0]" // ["@[0]" version] - ["$/[1]" // "_" + ["$/[1]" // ["[1][0]" package]]] [\\program - ["[0]" / - ["//[1]" /// "_" + ["[0]" / (.only) + ["//[1]" /// ["[1]" profile (.only Profile)] ["[1][0]" action] - ["[1][0]" artifact + ["[1][0]" artifact (.only) ["[1]/[0]" type]] ["[1][0]" dependency (.only Dependency) ["[1]/[0]" resolution (.only Resolution)]]]]]) diff --git a/stdlib/source/test/aedifex/command/clean.lux b/stdlib/source/test/aedifex/command/clean.lux index e6b9019b2..c0264da9f 100644 --- a/stdlib/source/test/aedifex/command/clean.lux +++ b/stdlib/source/test/aedifex/command/clean.lux @@ -31,8 +31,8 @@ [data ["$[0]" binary]]]]]] [\\program - ["[0]" / - ["//[1]" /// "_" + ["[0]" / (.only) + ["//[1]" /// ["[1]" profile] ["[1][0]" action (.only Action)]]]]) diff --git a/stdlib/source/test/aedifex/command/deploy.lux b/stdlib/source/test/aedifex/command/deploy.lux index de4c79b7f..1c925ec2f 100644 --- a/stdlib/source/test/aedifex/command/deploy.lux +++ b/stdlib/source/test/aedifex/command/deploy.lux @@ -17,7 +17,7 @@ ["%" format (.only format)] [encoding ["[0]" utf8]]] - ["[0]" format "_" + ["[0]" format ["[1]" binary] ["[0]" tar] ["[0]" xml]] @@ -41,8 +41,8 @@ ["$[0]" profile] ["$[0]" repository]]] [\\program - ["[0]" / - ["//[1]" /// "_" + ["[0]" / (.only) + ["//[1]" /// ["[1]" profile] ["[1][0]" action] ["[1][0]" pom] diff --git a/stdlib/source/test/aedifex/command/deps.lux b/stdlib/source/test/aedifex/command/deps.lux index c423f822e..975757374 100644 --- a/stdlib/source/test/aedifex/command/deps.lux +++ b/stdlib/source/test/aedifex/command/deps.lux @@ -26,29 +26,29 @@ [world ["[0]" program] ["[0]" file]]]] - ["[0]" // "_" + ["[0]" // ["@[0]" version] - ["$/[1]" // "_" + ["$/[1]" // ["[1][0]" package] ["[1][0]" artifact] - ["[1][0]" dependency "_" + ["[1][0]" dependency ["[1]/[0]" resolution]]]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1][0]" clean] - ["/[1]" // "_" + ["/[1]" // ["[1]" profile] ["[1][0]" action] ["[1][0]" pom] ["[1][0]" package] - ["[1][0]" artifact + ["[1][0]" artifact (.only) ["[1]/[0]" type]] - ["[1][0]" dependency + ["[1][0]" dependency (.only) ["[1]/[0]" resolution] ["[1]/[0]" deployment] ["[1]/[0]" status]] - ["[1][0]" repository + ["[1][0]" repository (.only) ["[1]/[0]" origin] ["[1]/[0]" local]]]]]]) diff --git a/stdlib/source/test/aedifex/command/install.lux b/stdlib/source/test/aedifex/command/install.lux index 3bbc052eb..0d03d982c 100644 --- a/stdlib/source/test/aedifex/command/install.lux +++ b/stdlib/source/test/aedifex/command/install.lux @@ -28,16 +28,15 @@ ["$[0]" profile] ["$[0]" artifact]]] [\\program - ["[0]" / - ["/[1]" // "_" - ["/[1]" // "_" - ["[1]" profile] - ["[1][0]" action (.only Action)] - ["[1][0]" local] - ["[1][0]" artifact - ["[1]/[0]" extension]] - ["[1][0]" repository "_" - ["[1]/[0]" local]]]]]]) + ["[0]" / (.only) + ["/[1]" /// + ["[1]" profile] + ["[1][0]" action (.only Action)] + ["[1][0]" local] + ["[1][0]" artifact (.only) + ["[1]/[0]" extension]] + ["[1][0]" repository + ["[1]/[0]" local]]]]]) (def: .public (make_sources! fs sources) (-> (file.System Async) (Set file.Path) (Action (List Any))) diff --git a/stdlib/source/test/aedifex/command/pom.lux b/stdlib/source/test/aedifex/command/pom.lux index b0453fb9e..69eb2fc8c 100644 --- a/stdlib/source/test/aedifex/command/pom.lux +++ b/stdlib/source/test/aedifex/command/pom.lux @@ -24,8 +24,8 @@ [// ["@[0]" profile]]] [\\program - ["[0]" / - ["//[1]" /// "_" + ["[0]" / (.only) + ["//[1]" /// ["[1]" profile] ["[1][0]" action] ["[1][0]" pom]]]]) diff --git a/stdlib/source/test/aedifex/command/test.lux b/stdlib/source/test/aedifex/command/test.lux index 93a55d03f..f8cd1d45c 100644 --- a/stdlib/source/test/aedifex/command/test.lux +++ b/stdlib/source/test/aedifex/command/test.lux @@ -22,21 +22,21 @@ ["[0]" file] ["[0]" shell] ["[0]" program]]]] - ["[0]" // "_" + ["[0]" // ["@[0]" version] ["@[0]" build] - ["$/[1]" // "_" + ["$/[1]" // ["[1][0]" package]]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1][0]" build] - ["/[1]" // "_" + ["/[1]" // ["[1]" profile (.only Profile)] ["[1][0]" action] ["[1][0]" artifact ["[1]/[0]" type]] - ["[1][0]" dependency + ["[1][0]" dependency (.only) ["[1]/[0]" resolution]]]]]]) (def: .public test diff --git a/stdlib/source/test/aedifex/dependency/deployment.lux b/stdlib/source/test/aedifex/dependency/deployment.lux index f535c2383..ec8bf79f7 100644 --- a/stdlib/source/test/aedifex/dependency/deployment.lux +++ b/stdlib/source/test/aedifex/dependency/deployment.lux @@ -15,7 +15,7 @@ [data ["[0]" product] ["[0]" binary (.only Binary) ("[1]#[0]" equivalence)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)] @@ -28,15 +28,15 @@ [world [net (.only URL) ["[0]" uri (.only URI)] - ["[0]" http "_" + ["[0]" http ["[1]" client] ["[1]/[0]" status] ["@[1]" /]]]]]] - ["$[0]" // - ["[1]/" // "_" + ["$[0]" // (.only) + ["[1]/" // ["[1][0]" package]]] [\\program - ["[0]" / + ["[0]" / (.only) [// (.only Dependency) ["[0]" resolution] [// @@ -46,7 +46,7 @@ ["[0]" artifact (.only Artifact) ("[1]#[0]" equivalence) ["[1]/[0]" type] ["[1]/[0]" extension]] - ["[0]" repository + ["[0]" repository (.only) ["[0]" remote]]]]]]) (def: good_upload diff --git a/stdlib/source/test/aedifex/dependency/resolution.lux b/stdlib/source/test/aedifex/dependency/resolution.lux index e5bd1af47..666bd0c53 100644 --- a/stdlib/source/test/aedifex/dependency/resolution.lux +++ b/stdlib/source/test/aedifex/dependency/resolution.lux @@ -15,7 +15,7 @@ [data [binary (.only Binary)] ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] [encoding ["[0]" utf8]]] @@ -27,15 +27,15 @@ ["[0]" list]]] [math ["[0]" random (.only Random)]]]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" package] ["[1][0]" repository] ["[1][0]" artifact] [command ["[1][0]" version]]] [\\program - ["[0]" / - ["//[1]" /// "_" + ["[0]" / (.only) + ["//[1]" /// ["[1]" profile] ["[1][0]" package (.only Package)] ["[1][0]" hash] diff --git a/stdlib/source/test/aedifex/dependency/status.lux b/stdlib/source/test/aedifex/dependency/status.lux index ca0f9002d..9b5f089f1 100644 --- a/stdlib/source/test/aedifex/dependency/status.lux +++ b/stdlib/source/test/aedifex/dependency/status.lux @@ -7,15 +7,15 @@ [\\specification ["$[0]" equivalence]]] [data - ["[0]" binary "_" + ["[0]" binary ["[1]T" \\test]]] [math ["[0]" random (.only Random) ("[1]#[0]" monad)]]]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" hash]] [\\program - ["[0]" / - ["//[1]" /// "_" + ["[0]" / (.only) + ["//[1]" /// ["[1][0]" hash]]]]) (def: .public random diff --git a/stdlib/source/test/aedifex/input.lux b/stdlib/source/test/aedifex/input.lux index d917b5903..0c5b09a06 100644 --- a/stdlib/source/test/aedifex/input.lux +++ b/stdlib/source/test/aedifex/input.lux @@ -22,8 +22,8 @@ [// ["$[0]" profile]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" profile (.only Profile)] ["[1][0]" project] ["[1][0]" action] diff --git a/stdlib/source/test/aedifex/local.lux b/stdlib/source/test/aedifex/local.lux index bc8016743..dfb17ebad 100644 --- a/stdlib/source/test/aedifex/local.lux +++ b/stdlib/source/test/aedifex/local.lux @@ -11,8 +11,8 @@ [// ["@[0]" artifact]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1][0]" artifact]]]]) (def: .public test diff --git a/stdlib/source/test/aedifex/metadata.lux b/stdlib/source/test/aedifex/metadata.lux index bcdfee998..7bdf5b983 100644 --- a/stdlib/source/test/aedifex/metadata.lux +++ b/stdlib/source/test/aedifex/metadata.lux @@ -8,7 +8,7 @@ ["[0]" text ("[1]#[0]" equivalence)]] [math ["[0]" random]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" artifact] ["[1][0]" snapshot] [// diff --git a/stdlib/source/test/aedifex/metadata/artifact.lux b/stdlib/source/test/aedifex/metadata/artifact.lux index e78d7b977..dc1189ffd 100644 --- a/stdlib/source/test/aedifex/metadata/artifact.lux +++ b/stdlib/source/test/aedifex/metadata/artifact.lux @@ -24,7 +24,7 @@ ["[0]" random (.only Random)] [number ["n" nat]]] - ["[0]" time + ["[0]" time (.only) ["[0]" date] ["[0]" year] ["[0]" month] @@ -34,11 +34,11 @@ ["[0]" file] ["[0]" program]]]] [\\program - ["[0]" / - ["/[1]" // - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // (.only) + ["/[1]" // ["[1][0]" artifact] - ["[1][0]" repository "_" + ["[1][0]" repository ["[1]/[0]" local]]]]]]) (def: .public random diff --git a/stdlib/source/test/aedifex/metadata/snapshot.lux b/stdlib/source/test/aedifex/metadata/snapshot.lux index 34afe63bd..35ebfe382 100644 --- a/stdlib/source/test/aedifex/metadata/snapshot.lux +++ b/stdlib/source/test/aedifex/metadata/snapshot.lux @@ -24,7 +24,7 @@ ["[0]" random (.only Random) ("[1]#[0]" monad)] [number ["n" nat]]] - ["[0]" time + ["[0]" time (.only) ["[0]" date] ["[0]" year] ["[0]" month] @@ -33,20 +33,20 @@ [world ["[0]" file] ["[0]" program]]]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" artifact ["[1]/[0]" type] ["[1]/[0]" time] - ["[1]/[0]" snapshot "_" + ["[1]/[0]" snapshot ["[1]/[0]" version]]]] [\\program - ["[0]" / - ["/[1]" // - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // (.only) + ["/[1]" // [artifact [versioning (.only Versioning)] ["[1][0]" snapshot]] - ["[1][0]" repository "_" + ["[1][0]" repository ["[1]/[0]" local]]]]]]) (def: random_instant diff --git a/stdlib/source/test/aedifex/package.lux b/stdlib/source/test/aedifex/package.lux index 6819da2ac..ee8e252dc 100644 --- a/stdlib/source/test/aedifex/package.lux +++ b/stdlib/source/test/aedifex/package.lux @@ -10,7 +10,7 @@ ["[0]" try]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) [encoding ["[0]" utf8]]] [format @@ -30,8 +30,8 @@ [data ["$[0]" binary]]]]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" profile] ["[1][0]" hash ("[1]#[0]" equivalence)] ["[1][0]" pom] diff --git a/stdlib/source/test/aedifex/parser.lux b/stdlib/source/test/aedifex/parser.lux index e1c6dfa08..3fa66502c 100644 --- a/stdlib/source/test/aedifex/parser.lux +++ b/stdlib/source/test/aedifex/parser.lux @@ -25,8 +25,8 @@ [// ["@[0]" profile]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" profile] ["[1][0]" project (.only Project)] ["[1][0]" artifact (.only Artifact)] diff --git a/stdlib/source/test/aedifex/pom.lux b/stdlib/source/test/aedifex/pom.lux index 1c2dee136..cf91380b9 100644 --- a/stdlib/source/test/aedifex/pom.lux +++ b/stdlib/source/test/aedifex/pom.lux @@ -7,7 +7,7 @@ [control ["[0]" try] ["[0]" exception] - ["<>" parser + ["<>" parser (.only) ["<[0]>" xml]]] [data ["[0]" text ("[1]#[0]" equivalence)] @@ -18,8 +18,8 @@ [// ["@[0]" profile]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" profile]]]]) (def: .public test diff --git a/stdlib/source/test/aedifex/profile.lux b/stdlib/source/test/aedifex/profile.lux index 29f2e3633..94900921a 100644 --- a/stdlib/source/test/aedifex/profile.lux +++ b/stdlib/source/test/aedifex/profile.lux @@ -25,14 +25,14 @@ [compiler [meta [cli - ["[0]" compiler + ["[0]" compiler (.only) ["$[1]" \\test]]]]]]]] [// ["@[0]" artifact] ["@[0]" dependency]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1][0]" runtime] ["[1][0]" dependency (.only Dependency)] ["[1][0]" format] diff --git a/stdlib/source/test/aedifex/project.lux b/stdlib/source/test/aedifex/project.lux index dda9723f1..bc4cef70a 100644 --- a/stdlib/source/test/aedifex/project.lux +++ b/stdlib/source/test/aedifex/project.lux @@ -20,8 +20,8 @@ [// ["@[0]" profile]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" profile]]]]) (def: profile diff --git a/stdlib/source/test/aedifex/repository.lux b/stdlib/source/test/aedifex/repository.lux index e2dc13f1d..f3a287575 100644 --- a/stdlib/source/test/aedifex/repository.lux +++ b/stdlib/source/test/aedifex/repository.lux @@ -13,7 +13,7 @@ [data ["[0]" product] ["[0]" binary (.only Binary)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)]]] @@ -22,7 +22,7 @@ [world [net ["[0]" uri (.only URI)]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" identity] ["[1][0]" origin] ["[1][0]" local] @@ -32,9 +32,9 @@ [\\specification ["$[0]" /]] [\\program - ["[0]" / + ["[0]" / (.only) ["[0]" remote] - ["/[1]" // "_" + ["/[1]" // ["[1][0]" artifact (.only Version Artifact) ["[1]/[0]" extension (.only Extension)]]]]]) diff --git a/stdlib/source/test/aedifex/repository/remote.lux b/stdlib/source/test/aedifex/repository/remote.lux index ac472ca0e..ce6164248 100644 --- a/stdlib/source/test/aedifex/repository/remote.lux +++ b/stdlib/source/test/aedifex/repository/remote.lux @@ -22,13 +22,13 @@ ["[0]" random (.only Random)]] [world [net (.only URL) - ["[0]" http "_" + ["[0]" http ["[1]" client] ["[1]/[0]" status] ["@[1]" /]]]]]] [\\program - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1][0]" identity]]]]) (def: (url_body url) diff --git a/stdlib/source/test/lux.lux b/stdlib/source/test/lux.lux index cfa023145..17c2cb04c 100644 --- a/stdlib/source/test/lux.lux +++ b/stdlib/source/test/lux.lux @@ -42,7 +42,7 @@ ["[0]" meta ("[1]#[0]" monad) ["[0]" location ("[1]#[0]" equivalence)]]]] ... TODO: Must have 100% coverage on tests. - ["[0]" / "_" + ["[0]" / ["[1][0]" abstract] ["[1][0]" control] ["[1][0]" data] @@ -54,7 +54,6 @@ ["[1][0]" meta] ["[1][0]" program] ["[1][0]" static] - ["[1][0]" target] ["[1][0]" test] ["[1][0]" time] ["[1][0]" tool] @@ -62,7 +61,7 @@ ["[1][0]" world] ["[1][0]" ffi] ["[1][0]" extension] - ["[1][0]" target "_" + ["[1][0]" target (.only) (~~ (.for "{old}" (~~ (.these ["[1]/[0]" jvm])) "JVM" (~~ (.these ["[1]/[0]" jvm])) "JavaScript" (~~ (.these ["[1]/[0]" js])) @@ -487,7 +486,7 @@ ("lux def module" [[<module/0> <alias>]]) [(<referral> <module/0> (.except <definition>))]] - [(.using [<alias> <module/0>' "_"]) + [(.using [<alias> <module/0>']) ("lux def module" []) []] @@ -503,13 +502,13 @@ [(<referral> <module/0>) (<referral> <m0/1>)]] - [(.using ["[0]" <module/0>' "_" + [(.using ["[0]" <module/0>' ["[1]" <module/1>']]) ("lux def module" [[<m0/1> <module/0>]]) [(<referral> <m0/1>)]] - [(.using ["[0]" <module/0>' "_" - ["[1]" <module/1>' "_" + [(.using ["[0]" <module/0>' + ["[1]" <module/1>' ["[2]" <module/2>']]]) ("lux def module" [[<m0/1/2> <module/0>]]) [(<referral> <m0/1/2>)]] diff --git a/stdlib/source/test/lux/abstract.lux b/stdlib/source/test/lux/abstract.lux index 426a49cb6..a51e2a2d8 100644 --- a/stdlib/source/test/lux/abstract.lux +++ b/stdlib/source/test/lux/abstract.lux @@ -2,19 +2,19 @@ [library [lux (.full) ["_" test (.only Test)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" apply] ["[1][0]" codec] - ["[1][0]" comonad + ["[1][0]" comonad (.only) ["[1]/[0]" cofree]] ["[1][0]" enum] ["[1][0]" equivalence] ["[1][0]" hash] ["[1][0]" mix] - ["[1][0]" functor + ["[1][0]" functor (.only) ["[1]/[0]" contravariant]] ["[1][0]" interval] - ["[1][0]" monad + ["[1][0]" monad (.only) ["[1]/[0]" free]] ["[1][0]" monoid] ["[1][0]" order] diff --git a/stdlib/source/test/lux/abstract/monoid.lux b/stdlib/source/test/lux/abstract/monoid.lux index 997a6af4d..76af6f07a 100644 --- a/stdlib/source/test/lux/abstract/monoid.lux +++ b/stdlib/source/test/lux/abstract/monoid.lux @@ -10,7 +10,7 @@ ["[0]" nat] ["[0]" int]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [equivalence (.only Equivalence)]]]]) diff --git a/stdlib/source/test/lux/abstract/order.lux b/stdlib/source/test/lux/abstract/order.lux index 640dc0e8c..9c527ccb3 100644 --- a/stdlib/source/test/lux/abstract/order.lux +++ b/stdlib/source/test/lux/abstract/order.lux @@ -14,7 +14,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [equivalence (.only Equivalence)]]]]) diff --git a/stdlib/source/test/lux/control.lux b/stdlib/source/test/lux/control.lux index 4fe6486f0..3fff75e05 100644 --- a/stdlib/source/test/lux/control.lux +++ b/stdlib/source/test/lux/control.lux @@ -2,9 +2,9 @@ [library [lux (.except function) ["_" test (.only Test)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" concatenative] - ["[1][0]" concurrency "_" + ["[1][0]" concurrency ["[1]/[0]" actor] ["[1]/[0]" atom] ["[1]/[0]" frp] diff --git a/stdlib/source/test/lux/control/concurrency/async.lux b/stdlib/source/test/lux/control/concurrency/async.lux index 09bff8f88..c6c30199a 100644 --- a/stdlib/source/test/lux/control/concurrency/async.lux +++ b/stdlib/source/test/lux/control/concurrency/async.lux @@ -21,7 +21,7 @@ ["i" int] ["[0]" i64]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["[0]" atom (.only Atom)]]]]) diff --git a/stdlib/source/test/lux/control/concurrency/frp.lux b/stdlib/source/test/lux/control/concurrency/frp.lux index 56497adc2..d58d83231 100644 --- a/stdlib/source/test/lux/control/concurrency/frp.lux +++ b/stdlib/source/test/lux/control/concurrency/frp.lux @@ -23,7 +23,7 @@ [type ["[0]" variance]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["[0]" async (.only Async) ("[1]#[0]" monad)] ["[0]" atom (.only Atom atom)]]]]) diff --git a/stdlib/source/test/lux/control/concurrency/stm.lux b/stdlib/source/test/lux/control/concurrency/stm.lux index f9a433146..cfb33f21d 100644 --- a/stdlib/source/test/lux/control/concurrency/stm.lux +++ b/stdlib/source/test/lux/control/concurrency/stm.lux @@ -19,7 +19,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["[0]" atom (.only Atom atom)] ["[0]" async] diff --git a/stdlib/source/test/lux/control/concurrency/thread.lux b/stdlib/source/test/lux/control/concurrency/thread.lux index 12d5143f8..050972a1e 100644 --- a/stdlib/source/test/lux/control/concurrency/thread.lux +++ b/stdlib/source/test/lux/control/concurrency/thread.lux @@ -15,7 +15,7 @@ ["n" nat] ["i" int]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["[0]" atom (.only Atom)] ["[0]" async]]]]) diff --git a/stdlib/source/test/lux/control/function.lux b/stdlib/source/test/lux/control/function.lux index 1d8e9c086..9b321bb15 100644 --- a/stdlib/source/test/lux/control/function.lux +++ b/stdlib/source/test/lux/control/function.lux @@ -13,7 +13,7 @@ ["n" nat]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" contract] ["[1][0]" memo] ["[1][0]" mixin] diff --git a/stdlib/source/test/lux/control/function/memo.lux b/stdlib/source/test/lux/control/function/memo.lux index ed0195bcb..67cdb6c3c 100644 --- a/stdlib/source/test/lux/control/function/memo.lux +++ b/stdlib/source/test/lux/control/function/memo.lux @@ -23,8 +23,8 @@ ["[0]" instant] ["[0]" duration (.only Duration)]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" mixin]]]]) (def: (fibonacci again input) diff --git a/stdlib/source/test/lux/control/parser.lux b/stdlib/source/test/lux/control/parser.lux index 3fb9b074b..8c3cd9047 100644 --- a/stdlib/source/test/lux/control/parser.lux +++ b/stdlib/source/test/lux/control/parser.lux @@ -27,7 +27,7 @@ ["[0]" code]]]] [\\library ["[0]" / (.only Parser)]] - ["[0]" / "_" + ["[0]" / ["[1][0]" analysis] ["[1][0]" binary] ["[1][0]" cli] diff --git a/stdlib/source/test/lux/control/parser/binary.lux b/stdlib/source/test/lux/control/parser/binary.lux index 78218cdd4..006eff5ed 100644 --- a/stdlib/source/test/lux/control/parser/binary.lux +++ b/stdlib/source/test/lux/control/parser/binary.lux @@ -21,7 +21,7 @@ ["%" format (.only format)] [encoding ["[0]" utf8]]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]] [collection ["[0]" list] diff --git a/stdlib/source/test/lux/control/parser/environment.lux b/stdlib/source/test/lux/control/parser/environment.lux index 959a2603b..a74f51ccd 100644 --- a/stdlib/source/test/lux/control/parser/environment.lux +++ b/stdlib/source/test/lux/control/parser/environment.lux @@ -16,7 +16,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" // ("[1]#[0]" monad)]]]) (def: .public test diff --git a/stdlib/source/test/lux/control/parser/text.lux b/stdlib/source/test/lux/control/parser/text.lux index 41d92a3be..a9ae968ec 100644 --- a/stdlib/source/test/lux/control/parser/text.lux +++ b/stdlib/source/test/lux/control/parser/text.lux @@ -12,7 +12,7 @@ [data ["[0]" text ("[1]#[0]" equivalence) ["%" format (.only format)] - ["[0]" unicode "_" + ["[0]" unicode ["[1]" set] ["[1]/[0]" block]]] [collection @@ -28,8 +28,8 @@ ["^" pattern] ["[0]" code]]]] [\\library - ["[0]" / - ["<>" // + ["[0]" / (.only) + ["<>" // (.only) ["<c>" code]]]]) (template: (!expect <pattern> <value>) diff --git a/stdlib/source/test/lux/control/parser/tree.lux b/stdlib/source/test/lux/control/parser/tree.lux index 6ec6dc06f..8253af8bc 100644 --- a/stdlib/source/test/lux/control/parser/tree.lux +++ b/stdlib/source/test/lux/control/parser/tree.lux @@ -9,7 +9,7 @@ ["[0]" exception]] [data [collection - ["[0]" tree + ["[0]" tree (.only) ["[0]" zipper]]]] [macro ["^" pattern]] @@ -18,7 +18,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (template: (!expect <pattern> <value>) diff --git a/stdlib/source/test/lux/control/parser/type.lux b/stdlib/source/test/lux/control/parser/type.lux index 0ccc6a706..d4909695a 100644 --- a/stdlib/source/test/lux/control/parser/type.lux +++ b/stdlib/source/test/lux/control/parser/type.lux @@ -22,7 +22,7 @@ [meta ["[0]" symbol ("[1]#[0]" equivalence)]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (template: (!expect <pattern> <value>) diff --git a/stdlib/source/test/lux/control/parser/xml.lux b/stdlib/source/test/lux/control/parser/xml.lux index 9a5b17db8..8d29bdfeb 100644 --- a/stdlib/source/test/lux/control/parser/xml.lux +++ b/stdlib/source/test/lux/control/parser/xml.lux @@ -25,7 +25,7 @@ [meta ["[0]" symbol ("[1]#[0]" equivalence)]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" // ("[1]#[0]" monad)]]]) (template: (!expect <pattern> <value>) diff --git a/stdlib/source/test/lux/control/remember.lux b/stdlib/source/test/lux/control/remember.lux index 758a8e1f3..4a10b2934 100644 --- a/stdlib/source/test/lux/control/remember.lux +++ b/stdlib/source/test/lux/control/remember.lux @@ -13,7 +13,7 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [math [number (.only hex)] @@ -22,7 +22,7 @@ ["[0]" date (.only Date)] ["[0]" instant] ["[0]" duration]] - ["[0]" macro + ["[0]" macro (.only) ["[0]" code] ["[0]" syntax (.only syntax:)]]]] [\\library diff --git a/stdlib/source/test/lux/data.lux b/stdlib/source/test/lux/data.lux index e4b284bbe..b24847add 100644 --- a/stdlib/source/test/lux/data.lux +++ b/stdlib/source/test/lux/data.lux @@ -6,16 +6,16 @@ [monad (.only do)]] [math ["[0]" random]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" binary] ["[1][0]" bit] - ["[1][0]" color + ["[1][0]" color (.only) ["[1]/[0]" named]] ["[1][0]" identity] ["[1][0]" product] ["[1][0]" sum] ["[1][0]" text] - ["[1][0]" format "_" + ["[1][0]" format ["[1]/[0]" binary] ["[1]/[0]" json] ["[1]/[0]" tar] diff --git a/stdlib/source/test/lux/data/binary.lux b/stdlib/source/test/lux/data/binary.lux index ef32b9210..51a0599d8 100644 --- a/stdlib/source/test/lux/data/binary.lux +++ b/stdlib/source/test/lux/data/binary.lux @@ -23,7 +23,7 @@ ["n" nat] ["[0]" i64]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["!" \\unsafe]]]) (def: (succeed result) diff --git a/stdlib/source/test/lux/data/collection.lux b/stdlib/source/test/lux/data/collection.lux index f413c5d63..1ad77e1d3 100644 --- a/stdlib/source/test/lux/data/collection.lux +++ b/stdlib/source/test/lux/data/collection.lux @@ -2,22 +2,22 @@ [library [lux (.full) ["_" test (.only Test)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" array] ["[1][0]" bits] ["[1][0]" list] ["[1][0]" sequence] ["[1][0]" stream] ["[1][0]" stack] - ["[1][0]" dictionary + ["[1][0]" dictionary (.only) ["[1]/[0]" ordered] ["[1]/[0]" plist]] - ["[1][0]" queue + ["[1][0]" queue (.only) ["[1]/[0]" priority]] - ["[1][0]" set + ["[1][0]" set (.only) ["[1]/[0]" multi] ["[1]/[0]" ordered]] - ["[1][0]" tree + ["[1][0]" tree (.only) ["[1]/[0]" finger] ["[1]/[0]" zipper]]]) diff --git a/stdlib/source/test/lux/data/collection/stream.lux b/stdlib/source/test/lux/data/collection/stream.lux index e21be7f10..327ed0a1c 100644 --- a/stdlib/source/test/lux/data/collection/stream.lux +++ b/stdlib/source/test/lux/data/collection/stream.lux @@ -10,7 +10,7 @@ ["$[0]" functor] ["$[0]" comonad]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" functor)]]] diff --git a/stdlib/source/test/lux/data/color/named.lux b/stdlib/source/test/lux/data/color/named.lux index 9e95d4155..7f35264cd 100644 --- a/stdlib/source/test/lux/data/color/named.lux +++ b/stdlib/source/test/lux/data/color/named.lux @@ -15,7 +15,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (with_expansions [<colors> (these [letter/a diff --git a/stdlib/source/test/lux/data/format/json.lux b/stdlib/source/test/lux/data/format/json.lux index 0cb47de9f..13ade92c7 100644 --- a/stdlib/source/test/lux/data/format/json.lux +++ b/stdlib/source/test/lux/data/format/json.lux @@ -13,7 +13,7 @@ [data ["[0]" product] ["[0]" bit] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" sequence] @@ -25,7 +25,7 @@ [number ["n" nat] ["[0]" frac]]] - ["[0]" macro + ["[0]" macro (.only) ["[0]" syntax (.only syntax:)] ["[0]" code]]]] [\\library diff --git a/stdlib/source/test/lux/data/format/tar.lux b/stdlib/source/test/lux/data/format/tar.lux index fbc51ac82..6e35a347b 100644 --- a/stdlib/source/test/lux/data/format/tar.lux +++ b/stdlib/source/test/lux/data/format/tar.lux @@ -8,7 +8,7 @@ ["[0]" maybe] ["[0]" try] ["[0]" exception] - ["<>" parser + ["<>" parser (.only) ["<b>" binary]]] [data ["[0]" product] @@ -17,13 +17,13 @@ ["%" format (.only format)] [encoding ["[0]" utf8]] - ["[0]" unicode "_" + ["[0]" unicode ["[1]" set] ["[1]/[0]" block]]] [collection ["[0]" sequence] ["[0]" list ("[1]#[0]" mix)]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]]] [time ["[0]" instant (.only Instant)] diff --git a/stdlib/source/test/lux/data/text.lux b/stdlib/source/test/lux/data/text.lux index 8c2de7623..2a3a3f919 100644 --- a/stdlib/source/test/lux/data/text.lux +++ b/stdlib/source/test/lux/data/text.lux @@ -20,13 +20,13 @@ ["[0]" random] [number ["n" nat]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" buffer] ["[1][0]" encoding] ["[1][0]" format] ["[1][0]" regex] ["[1][0]" escape] - ["[1][0]" unicode "_" + ["[1][0]" unicode ["[1]" set]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/data/text/encoding.lux b/stdlib/source/test/lux/data/text/encoding.lux index cfeb536c4..227b1363f 100644 --- a/stdlib/source/test/lux/data/text/encoding.lux +++ b/stdlib/source/test/lux/data/text/encoding.lux @@ -22,7 +22,7 @@ ["n" nat]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" utf8]]) (with_expansions [<encodings> (these [all/a diff --git a/stdlib/source/test/lux/data/text/escape.lux b/stdlib/source/test/lux/data/text/escape.lux index a633bcf48..c3e08062d 100644 --- a/stdlib/source/test/lux/data/text/escape.lux +++ b/stdlib/source/test/lux/data/text/escape.lux @@ -26,9 +26,9 @@ [number (.only hex) ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// - ["[0]" unicode "_" + ["[0]" unicode ["[1]" set]]]]]) (def: (range max min) diff --git a/stdlib/source/test/lux/data/text/format.lux b/stdlib/source/test/lux/data/text/format.lux index 16efbdc30..8a0b6e22d 100644 --- a/stdlib/source/test/lux/data/text/format.lux +++ b/stdlib/source/test/lux/data/text/format.lux @@ -18,7 +18,7 @@ ["[0]" json]] [collection ["[0]" list ("[1]#[0]" functor)]]] - ["[0]" time + ["[0]" time (.only) ["[0]" day] ["[0]" month] ["[0]" instant] @@ -40,7 +40,7 @@ ["[0]" location] ["[0]" symbol]] ["[0]" type]]] - ["$[0]" /// "_" + ["$[0]" /// [format ["[1][0]" xml] ["[1][0]" json]] diff --git a/stdlib/source/test/lux/data/text/regex.lux b/stdlib/source/test/lux/data/text/regex.lux index 068831ce4..e37fb04a6 100644 --- a/stdlib/source/test/lux/data/text/regex.lux +++ b/stdlib/source/test/lux/data/text/regex.lux @@ -13,7 +13,7 @@ [data ["[0]" text ("[1]#[0]" equivalence) ["%" format (.only format)]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math diff --git a/stdlib/source/test/lux/data/text/unicode/set.lux b/stdlib/source/test/lux/data/text/unicode/set.lux index 07eff4181..dcdb34d34 100644 --- a/stdlib/source/test/lux/data/text/unicode/set.lux +++ b/stdlib/source/test/lux/data/text/unicode/set.lux @@ -15,11 +15,11 @@ ["[0]" random (.only Random)] [number ["n" nat]]]]] - ["[0]" / "_" - ["/[1]" // "_" + ["[0]" / + ["/[1]" // ["[1][0]" block]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["[0]" block]]]]) diff --git a/stdlib/source/test/lux/debug.lux b/stdlib/source/test/lux/debug.lux index ebebc24e6..30aba1af9 100644 --- a/stdlib/source/test/lux/debug.lux +++ b/stdlib/source/test/lux/debug.lux @@ -18,7 +18,7 @@ [format [json (.only JSON)] [xml (.only XML)]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math @@ -33,7 +33,7 @@ [day (.only Day)]]]] [\\library ["[0]" /]] - ["$[0]" // "_" + ["$[0]" // ["[1][0]" type] [data [format diff --git a/stdlib/source/test/lux/documentation.lux b/stdlib/source/test/lux/documentation.lux index 847db7a02..5c25f6368 100644 --- a/stdlib/source/test/lux/documentation.lux +++ b/stdlib/source/test/lux/documentation.lux @@ -13,7 +13,7 @@ ["%" format]] [format ["md" markdown]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" template] ["[0]" code]]]] diff --git a/stdlib/source/test/lux/extension.lux b/stdlib/source/test/lux/extension.lux index 069483d09..34b33a60c 100644 --- a/stdlib/source/test/lux/extension.lux +++ b/stdlib/source/test/lux/extension.lux @@ -2,14 +2,14 @@ [library [lux (.full) ["[0]" debug] - ["@" target + ["@" target (.only) ["[0]" js] ["[0]" python] ["[0]" lua] ["[0]" ruby] ["[0]" php] ["[0]" scheme] - ["[0]" jvm "_" + ["[0]" jvm (~~ (.for "JVM" (~~ (.these ["[1]" bytecode] ["[0]" class] ["[0]" version] @@ -20,7 +20,7 @@ ["[0]" monad (.only do)]] [control ["[0]" try ("[1]#[0]" functor)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code] ["<[0]>" analysis] ["<[0]>" synthesis]]] @@ -51,11 +51,11 @@ ["[0]" synthesis] ["[0]" generation] ["[0]" directive] - ["[0]" analysis + ["[0]" analysis (.only) ["[0]" type]] [phase [generation - (~~ (.for "JVM" (~~ (.these ["[0]" jvm "_" + (~~ (.for "JVM" (~~ (.these ["[0]" jvm ["[1]/[0]" runtime]])) (~~ (.these))))]]]]]] ["_" test (.only Test)]]] diff --git a/stdlib/source/test/lux/ffi.js.lux b/stdlib/source/test/lux/ffi.js.lux index 6b33ab0c1..db89ac62b 100644 --- a/stdlib/source/test/lux/ffi.js.lux +++ b/stdlib/source/test/lux/ffi.js.lux @@ -16,7 +16,7 @@ ["[0]" frac]]]]] [\\library ["[0]" /]] - ["$[0]" / "_" + ["$[0]" / ["[1][0]" export]]) (/.import: Uint8Array diff --git a/stdlib/source/test/lux/ffi.jvm.lux b/stdlib/source/test/lux/ffi.jvm.lux index 14cf56a54..793a4fcf2 100644 --- a/stdlib/source/test/lux/ffi.jvm.lux +++ b/stdlib/source/test/lux/ffi.jvm.lux @@ -20,7 +20,7 @@ ["%" format (.only format)]] [collection ["[0]" array (.only Array)]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code] ["[0]" template]] @@ -32,11 +32,11 @@ ["i" int ("[1]#[0]" equivalence)] ["f" frac ("[1]#[0]" equivalence)]]] [target - ["[0]" jvm "_" + ["[0]" jvm ["[1]" type ("[1]#[0]" equivalence)]]]]] [\\library ["[0]" /]] - ["$[0]" / "_" + ["$[0]" / ["[1][0]" export]]) (/.import: java/lang/Boolean diff --git a/stdlib/source/test/lux/ffi.lua.lux b/stdlib/source/test/lux/ffi.lua.lux index 4f96bfb27..9b58115b7 100644 --- a/stdlib/source/test/lux/ffi.lua.lux +++ b/stdlib/source/test/lux/ffi.lua.lux @@ -10,7 +10,7 @@ ["[0]" random]]]] [\\library ["[0]" /]] - ["$[0]" / "_" + ["$[0]" / ["[1][0]" export]]) (/.import: (os/getenv [/.String] "io" "?" /.String)) diff --git a/stdlib/source/test/lux/ffi.py.lux b/stdlib/source/test/lux/ffi.py.lux index 2920af523..030db7d70 100644 --- a/stdlib/source/test/lux/ffi.py.lux +++ b/stdlib/source/test/lux/ffi.py.lux @@ -10,7 +10,7 @@ ["i" int]]]]] [\\library ["[0]" /]] - ["$[0]" / "_" + ["$[0]" / ["[1][0]" export]]) (/.import: os diff --git a/stdlib/source/test/lux/ffi.rb.lux b/stdlib/source/test/lux/ffi.rb.lux index 11cc009cf..e902fdbac 100644 --- a/stdlib/source/test/lux/ffi.rb.lux +++ b/stdlib/source/test/lux/ffi.rb.lux @@ -8,7 +8,7 @@ ["[0]" random]]]] [\\library ["[0]" /]] - ["$[0]" / "_" + ["$[0]" / ["[1][0]" export]]) (/.import: File diff --git a/stdlib/source/test/lux/ffi/export.js.lux b/stdlib/source/test/lux/ffi/export.js.lux index 2e3a99a78..0bb40db7e 100644 --- a/stdlib/source/test/lux/ffi/export.js.lux +++ b/stdlib/source/test/lux/ffi/export.js.lux @@ -7,7 +7,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (with_expansions [<nat> (static.random_nat)] diff --git a/stdlib/source/test/lux/ffi/export.jvm.lux b/stdlib/source/test/lux/ffi/export.jvm.lux index 4cf439109..ca8270a46 100644 --- a/stdlib/source/test/lux/ffi/export.jvm.lux +++ b/stdlib/source/test/lux/ffi/export.jvm.lux @@ -21,7 +21,7 @@ ["[0]" int ("[1]#[0]" equivalence)] ["[0]" frac ("[1]#[0]" equivalence)]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (def: expected_boolean (//.as_boolean (static.random_bit))) diff --git a/stdlib/source/test/lux/ffi/export.lua.lux b/stdlib/source/test/lux/ffi/export.lua.lux index 45ce89903..94caf19fb 100644 --- a/stdlib/source/test/lux/ffi/export.lua.lux +++ b/stdlib/source/test/lux/ffi/export.lua.lux @@ -7,7 +7,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (with_expansions [<nat> (static.random_nat)] diff --git a/stdlib/source/test/lux/ffi/export.py.lux b/stdlib/source/test/lux/ffi/export.py.lux index 2e3a99a78..0bb40db7e 100644 --- a/stdlib/source/test/lux/ffi/export.py.lux +++ b/stdlib/source/test/lux/ffi/export.py.lux @@ -7,7 +7,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (with_expansions [<nat> (static.random_nat)] diff --git a/stdlib/source/test/lux/ffi/export.rb.lux b/stdlib/source/test/lux/ffi/export.rb.lux index 5a0be82c1..3e1729edd 100644 --- a/stdlib/source/test/lux/ffi/export.rb.lux +++ b/stdlib/source/test/lux/ffi/export.rb.lux @@ -7,7 +7,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (with_expansions [<nat> (static.random_nat)] diff --git a/stdlib/source/test/lux/locale.lux b/stdlib/source/test/lux/locale.lux index e46cdcac0..cf659e163 100644 --- a/stdlib/source/test/lux/locale.lux +++ b/stdlib/source/test/lux/locale.lux @@ -14,11 +14,11 @@ ["[0]" encoding (.only Encoding)]] [collection ["[0]" list]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" language] ["[1][0]" territory]] [\\library - ["[0]" / + ["[0]" / (.only) ["[0]" language (.only Language)] ["[0]" territory (.only Territory)]]]) diff --git a/stdlib/source/test/lux/macro.lux b/stdlib/source/test/lux/macro.lux index 384f0b831..5f1b39ff2 100644 --- a/stdlib/source/test/lux/macro.lux +++ b/stdlib/source/test/lux/macro.lux @@ -11,7 +11,7 @@ ["<[0]>" code]]] [data ["[0]" bit ("[1]#[0]" equivalence)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list]]] @@ -21,15 +21,15 @@ ["[0]" random (.only Random) ("[1]#[0]" functor)] [number ["n" nat]]] - ["[0]" meta + ["[0]" meta (.only) ["[0]" location] ["[0]" symbol]]]] [\\library - ["[0]" / + ["[0]" / (.only) [syntax (.only syntax:)] ["[0]" code ("[1]#[0]" equivalence)] ["[0]" template]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" code] ["[1][0]" local] ["[1][0]" syntax] 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 diff --git a/stdlib/source/test/lux/math.lux b/stdlib/source/test/lux/math.lux index 33f79592b..3164ce3ff 100644 --- a/stdlib/source/test/lux/math.lux +++ b/stdlib/source/test/lux/math.lux @@ -19,12 +19,12 @@ ["[0]" complex (.only Complex)]]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" infix] ["[1][0]" modulus] ["[1][0]" modular] ["[1][0]" number] - ["[1][0]" logic "_" + ["[1][0]" logic ["[1]/[0]" continuous] ["[1]/[0]" fuzzy]]]) diff --git a/stdlib/source/test/lux/math/logic/fuzzy.lux b/stdlib/source/test/lux/math/logic/fuzzy.lux index 22ac0156a..b1f4686a5 100644 --- a/stdlib/source/test/lux/math/logic/fuzzy.lux +++ b/stdlib/source/test/lux/math/logic/fuzzy.lux @@ -20,7 +20,7 @@ ["r" rev]]]]] [\\library ["[0]" / (.only Fuzzy) - ["/[1]" // "_" + ["/[1]" // ["[1]" continuous]]]]) (def: trivial diff --git a/stdlib/source/test/lux/math/modular.lux b/stdlib/source/test/lux/math/modular.lux index 0ebfe2ee2..51e189e71 100644 --- a/stdlib/source/test/lux/math/modular.lux +++ b/stdlib/source/test/lux/math/modular.lux @@ -21,11 +21,11 @@ ["[0]" random (.only Random)] [number ["i" int]]]]] - ["$[0]" // "_" + ["$[0]" // ["[1]" modulus]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1]" modulus]]]]) (def: .public (random modulus) diff --git a/stdlib/source/test/lux/math/number.lux b/stdlib/source/test/lux/math/number.lux index 0466f5049..62e385597 100644 --- a/stdlib/source/test/lux/math/number.lux +++ b/stdlib/source/test/lux/math/number.lux @@ -7,12 +7,12 @@ [data ["[0]" text]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["n" nat] ["i" int] ["r" rev] ["f" frac]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" i8] ["[1][0]" i16] ["[1][0]" i32] diff --git a/stdlib/source/test/lux/math/number/complex.lux b/stdlib/source/test/lux/math/number/complex.lux index 87371ec78..fe6aad7d8 100644 --- a/stdlib/source/test/lux/math/number/complex.lux +++ b/stdlib/source/test/lux/math/number/complex.lux @@ -12,7 +12,7 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["n" nat] ["f" frac] diff --git a/stdlib/source/test/lux/math/number/frac.lux b/stdlib/source/test/lux/math/number/frac.lux index f0c25394f..a200056ad 100644 --- a/stdlib/source/test/lux/math/number/frac.lux +++ b/stdlib/source/test/lux/math/number/frac.lux @@ -19,7 +19,7 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// (.full) ["n" nat] ["i" int] diff --git a/stdlib/source/test/lux/math/number/i16.lux b/stdlib/source/test/lux/math/number/i16.lux index 6a9fbc7cd..60009e256 100644 --- a/stdlib/source/test/lux/math/number/i16.lux +++ b/stdlib/source/test/lux/math/number/i16.lux @@ -9,8 +9,8 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["i" int] ["[1][0]" i64]]]]) diff --git a/stdlib/source/test/lux/math/number/i32.lux b/stdlib/source/test/lux/math/number/i32.lux index d2eb27dfd..02f6a365c 100644 --- a/stdlib/source/test/lux/math/number/i32.lux +++ b/stdlib/source/test/lux/math/number/i32.lux @@ -9,8 +9,8 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["i" int] ["[1][0]" i64]]]]) diff --git a/stdlib/source/test/lux/math/number/i8.lux b/stdlib/source/test/lux/math/number/i8.lux index a481de011..1ab7401b1 100644 --- a/stdlib/source/test/lux/math/number/i8.lux +++ b/stdlib/source/test/lux/math/number/i8.lux @@ -9,8 +9,8 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["i" int] ["[1][0]" i64]]]]) diff --git a/stdlib/source/test/lux/math/number/int.lux b/stdlib/source/test/lux/math/number/int.lux index fc5242986..542a1ff48 100644 --- a/stdlib/source/test/lux/math/number/int.lux +++ b/stdlib/source/test/lux/math/number/int.lux @@ -17,7 +17,7 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["n" nat] ["f" frac] diff --git a/stdlib/source/test/lux/math/number/nat.lux b/stdlib/source/test/lux/math/number/nat.lux index 76819860f..f5020a06b 100644 --- a/stdlib/source/test/lux/math/number/nat.lux +++ b/stdlib/source/test/lux/math/number/nat.lux @@ -17,7 +17,7 @@ [math ["[0]" random]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["f" frac]]]]) diff --git a/stdlib/source/test/lux/math/number/ratio.lux b/stdlib/source/test/lux/math/number/ratio.lux index 5f6725932..9e808e35e 100644 --- a/stdlib/source/test/lux/math/number/ratio.lux +++ b/stdlib/source/test/lux/math/number/ratio.lux @@ -16,7 +16,7 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["n" nat ("[1]#[0]" equivalence)]]]]) diff --git a/stdlib/source/test/lux/math/number/rev.lux b/stdlib/source/test/lux/math/number/rev.lux index 4036f6fd2..6fa030995 100644 --- a/stdlib/source/test/lux/math/number/rev.lux +++ b/stdlib/source/test/lux/math/number/rev.lux @@ -17,7 +17,7 @@ [math ["[0]" random]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// (.only hex) ["n" nat] ["f" frac] diff --git a/stdlib/source/test/lux/meta.lux b/stdlib/source/test/lux/meta.lux index dfb47ac4b..f55583a1f 100644 --- a/stdlib/source/test/lux/meta.lux +++ b/stdlib/source/test/lux/meta.lux @@ -32,7 +32,7 @@ ["[0]" symbol ("[1]#[0]" equivalence)]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" location] ["[1][0]" symbol] ["[1][0]" configuration] diff --git a/stdlib/source/test/lux/meta/configuration.lux b/stdlib/source/test/lux/meta/configuration.lux index b5fe77369..de8a402be 100644 --- a/stdlib/source/test/lux/meta/configuration.lux +++ b/stdlib/source/test/lux/meta/configuration.lux @@ -11,14 +11,14 @@ [control ["[0]" try ("[1]#[0]" functor)] ["[0]" exception] - ["<>" parser + ["<>" parser (.only) ["<[0]>" text] ["<[0]>" code]]] [data ["[0]" text] [collection ["[0]" list]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math diff --git a/stdlib/source/test/lux/meta/location.lux b/stdlib/source/test/lux/meta/location.lux index f607643b7..1891deb66 100644 --- a/stdlib/source/test/lux/meta/location.lux +++ b/stdlib/source/test/lux/meta/location.lux @@ -12,7 +12,7 @@ ["[0]" random (.only Random)]]]] [\\library ["[0]" /]] - ["$[0]" /// "_" + ["$[0]" /// [macro ["[1][0]" code]]]) diff --git a/stdlib/source/test/lux/meta/version.lux b/stdlib/source/test/lux/meta/version.lux index 939205c38..4ccdf6163 100644 --- a/stdlib/source/test/lux/meta/version.lux +++ b/stdlib/source/test/lux/meta/version.lux @@ -13,7 +13,7 @@ ["<[0]>" code]]] [data ["[0]" text]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math diff --git a/stdlib/source/test/lux/program.lux b/stdlib/source/test/lux/program.lux index 2f5e9882e..854ef3a4b 100644 --- a/stdlib/source/test/lux/program.lux +++ b/stdlib/source/test/lux/program.lux @@ -7,7 +7,7 @@ [control ["[0]" io] ["[0]" try] - ["<>" parser + ["<>" parser (.only) ["<[0]>" code] ["<[0]>" cli]]] [data diff --git a/stdlib/source/test/lux/target/jvm.lux b/stdlib/source/test/lux/target/jvm.lux index c970bbab0..0dddacfb5 100644 --- a/stdlib/source/test/lux/target/jvm.lux +++ b/stdlib/source/test/lux/target/jvm.lux @@ -16,7 +16,7 @@ ["[0]" bit ("[1]#[0]" equivalence)] ["[0]" text ("[1]#[0]" equivalence) ["%" format (.only format)]] - ["[0]" format "_" + ["[0]" format ["[1]" binary]] [collection ["[0]" array] @@ -34,16 +34,16 @@ ["[0]" i64]]] ["_" test (.only Test)]]] [\\library - ["[0]" / "_" + ["[0]" / ["[1][0]" loader (.only Library)] ["[1][0]" version] ["[1][0]" modifier ("[1]#[0]" monoid)] ["[1][0]" field] ["[1][0]" method (.only Method)] ["[1][0]" class] - ["[1][0]" attribute + ["[1][0]" attribute (.only) ["[1]/[0]" code]] - ["[1][0]" constant + ["[1][0]" constant (.only) ["[1]/[0]" pool (.only Resource)]] [encoding ["[1][0]" name] diff --git a/stdlib/source/test/lux/target/ruby.lux b/stdlib/source/test/lux/target/ruby.lux index a789477c1..8745dcbac 100644 --- a/stdlib/source/test/lux/target/ruby.lux +++ b/stdlib/source/test/lux/target/ruby.lux @@ -30,7 +30,7 @@ [tool [compiler [meta - ["[0]" packager "_" + ["[0]" packager ["[1]" ruby]]]]] [world ["[0]" file]]]] diff --git a/stdlib/source/test/lux/time.lux b/stdlib/source/test/lux/time.lux index be3a878e8..9bd65e58f 100644 --- a/stdlib/source/test/lux/time.lux +++ b/stdlib/source/test/lux/time.lux @@ -16,13 +16,13 @@ [parser ["<[0]>" text]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]]] [math ["[0]" random] [number ["n" nat]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" date] ["[1][0]" day] ["[1][0]" duration] @@ -30,7 +30,7 @@ ["[1][0]" month] ["[1][0]" year]] [\\library - ["[0]" / + ["[0]" / (.only) ["[0]" duration]]]) (def: for_implementation diff --git a/stdlib/source/test/lux/time/month.lux b/stdlib/source/test/lux/time/month.lux index ff3144e24..4515e8685 100644 --- a/stdlib/source/test/lux/time/month.lux +++ b/stdlib/source/test/lux/time/month.lux @@ -23,7 +23,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["[0]" duration]]]]) diff --git a/stdlib/source/test/lux/time/year.lux b/stdlib/source/test/lux/time/year.lux index 5f3c342f6..43284c86e 100644 --- a/stdlib/source/test/lux/time/year.lux +++ b/stdlib/source/test/lux/time/year.lux @@ -21,8 +21,8 @@ ["n" nat] ["i" int]]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) ["[1][0]" duration] ["[1][0]" instant] ["[1][0]" date]]]]) diff --git a/stdlib/source/test/lux/tool.lux b/stdlib/source/test/lux/tool.lux index 7d0924fcc..f6bbb7a57 100644 --- a/stdlib/source/test/lux/tool.lux +++ b/stdlib/source/test/lux/tool.lux @@ -2,7 +2,7 @@ [library [lux (.full) ["_" test (.only Test)]]] - ["[0]" / "_" + ["[0]" / [compiler ["[1][0]" arity] ["[1][0]" version] @@ -12,15 +12,15 @@ [lux ... ["[1][0]" syntax] ["[1][0]" analysis] - ["[1][0]" synthesis "_" + ["[1][0]" synthesis ["[1]/[0]" simple] ["[1]/[0]" access]] - ["[1][0]" phase "_" + ["[1][0]" phase ["[1]/[0]" extension] ["[1]/[0]" analysis] ... ["[1]/[0]" synthesis] ]]] - ["[1][0]" meta "_" + ["[1][0]" meta ["[1]/[0]" archive] ["[1]/[0]" cli] ["[1]/[0]" export] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis.lux index 93a281799..171efdafd 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis.lux @@ -25,9 +25,9 @@ [number ["f" frac]]] [meta - ["[0]" configuration "_" + ["[0]" configuration ["$[1]" \\test]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" complex] ["[1][0]" inference] ["[1][0]" macro] @@ -38,16 +38,16 @@ ["[1][0]" type] ["[1][0]" coverage] [//// - ["[1][0]" reference + ["[1][0]" reference (.only) ["[2][0]" variable]] [/// [meta ["[1][0]" symbol] - ["[0]" location "_" + ["[0]" location ["[2][1]" /] ["[1]" \\library ("[1]#[0]" equivalence)]]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [phase ["[0]" extension]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/coverage.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/coverage.lux index 786ddcd35..2928edb6e 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/coverage.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/coverage.lux @@ -30,8 +30,8 @@ ["r" rev] ["f" frac]]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1][0]" simple] ["[1][0]" complex] ["[1][0]" pattern (.only Pattern)]]]]) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/inference.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/inference.lux index 898981049..122b1c563 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/inference.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/inference.lux @@ -21,15 +21,15 @@ [number ["n" nat]]] [meta - ["[0]" symbol "_" + ["[0]" symbol ["$[1]" \\test]] - ["[0]" configuration "_" + ["[0]" configuration ["$[1]" \\test]]] ["[0]" type ("[1]#[0]" equivalence) ["[0]" check (.only Check)]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) [evaluation (.only Eval)] ["[1][0]" macro] ["[1][0]" type] @@ -38,8 +38,8 @@ [// [phase ["[2][0]" analysis] - ["[2][0]" extension - ["[1]/[0]" analysis "_" + ["[2][0]" extension (.only) + ["[1]/[0]" analysis ["[1]" lux]]]] [/// ["[2][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/macro.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/macro.lux index 9fdf034cb..ca14e546b 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/macro.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/macro.lux @@ -22,16 +22,16 @@ ["[0]" random (.only Random) ("[1]#[0]" monad)] [number ["n" nat]]] - ["[0]" meta - ["[0]" configuration "_" + ["[0]" meta (.only) + ["[0]" configuration ["$[1]" \\test]]]]] - ["$" /////// "_" + ["$" /////// [macro ["[1][0]" code]] [meta ["[1][0]" symbol]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (def: random_state diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/module.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/module.lux index 3f3d66645..18d788d64 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/module.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/module.lux @@ -18,12 +18,12 @@ ["[0]" random (.only Random)] [number ["n" nat]]] - ["[0]" meta - ["[0]" configuration "_" + ["[0]" meta (.only) + ["[0]" configuration ["$[1]" \\test]]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) [// [phase ["[2][0]" extension]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/pattern.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/pattern.lux index 35b685b27..5fc37351c 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/pattern.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/pattern.lux @@ -15,7 +15,7 @@ ["f" frac]]]]] [\\library ["[0]" /]] - ["[0]" // "_" + ["[0]" // ["[1][0]" simple] ["[1][0]" complex]]) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/scope.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/scope.lux index 452ccb5a9..1a98fc073 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/scope.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/scope.lux @@ -17,11 +17,11 @@ ["[0]" random (.only Random)] [number ["n" nat]]] - ["[0]" type "_" + ["[0]" type ["$[1]" \\test]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) [// [phase ["[1][0]" extension]] @@ -29,7 +29,7 @@ ["[1][0]" phase ("[1]#[0]" monad)] [reference ["[1][0]" variable (.only Register Variable)]]]]]]] - ["$[0]" // "_" + ["$[0]" // ["[1][0]" type]]) (template [<name> <tag>] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/type.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/type.lux index a7f98b655..8446656b2 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/type.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/type.lux @@ -12,13 +12,13 @@ [math ["[0]" random (.only Random)]] [meta - ["[0]" configuration "_" + ["[0]" configuration ["$[1]" \\test]]] ["[0]" type ("[1]#[0]" equivalence) ["[0]" check]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) ["[2][0]" module] [// [phase diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis.lux index 5a30f2b3a..4ca9f58d7 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis.lux @@ -21,10 +21,10 @@ ["[0]" type ("[1]#[0]" equivalence) ["[0]" check]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// - ["[0]" extension - ["[1]/[0]" analysis "_" + ["[0]" extension (.only) + ["[1]/[0]" analysis ["[1]" lux]]] [// ["/[1]" analysis (.only Analysis Operation) @@ -33,13 +33,13 @@ ["[1][0]" scope] ["[1][0]" module] ["[1][0]" pattern] - ["[1][0]" type + ["[1][0]" type (.only) ["$[1]" \\test]]] [/// ["[0]" phase ("[1]#[0]" monad)] [meta ["[0]" archive]]]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" simple] ["[1][0]" complex] ["[1][0]" reference] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/case.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/case.lux index 7bedac9ad..9aa68ea9f 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/case.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/case.lux @@ -9,7 +9,7 @@ ["[0]" exception]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format]]] [macro ["[0]" code]] @@ -18,22 +18,22 @@ ["[0]" type ("[1]#[0]" equivalence) ["[0]" check]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) [// - ["[1][0]" extension - ["[1]/[0]" analysis "_" + ["[1][0]" extension (.only) + ["[1]/[0]" analysis ["[1]" lux]]] [// - ["[1][0]" analysis + ["[1][0]" analysis (.only) [evaluation (.only Eval)] ["[2][0]" macro] ["[2][0]" scope] ["[2][0]" module] ["[2][0]" coverage] - ["[2][0]" type + ["[2][0]" type (.only) ["$[1]" \\test]] - ["[2][0]" inference "_" + ["[2][0]" inference ["$[1]" \\test]]] [/// ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/complex.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/complex.lux index 95d7528d3..9c9ddd153 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/complex.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/complex.lux @@ -12,7 +12,7 @@ [data ["[0]" product] ["[0]" bit ("[1]#[0]" equivalence)] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list ("[1]#[0]" monad monoid)] @@ -26,18 +26,18 @@ ["n" nat] ["f" frac]]] [meta - ["[0]" symbol + ["[0]" symbol (.only) ["$[1]" \\test]] - ["[0]" configuration "_" + ["[0]" configuration ["$[1]" \\test]]] ["[0]" type ("[1]#[0]" equivalence) ["[0]" check]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) [// - ["[1][0]" extension - ["[1]/[0]" analysis "_" + ["[1][0]" extension (.only) + ["[1]/[0]" analysis ["[1]" lux]]] [// ["[1][0]" analysis (.only Analysis) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux index ad1461f1f..98563f2e6 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux @@ -10,7 +10,7 @@ ["[0]" exception]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format]] [collection ["[0]" list]]] @@ -21,26 +21,26 @@ [number ["n" nat]]] [meta - ["[0]" symbol "_" + ["[0]" symbol ["$[1]" \\test]]] ["[0]" type ("[1]#[0]" equivalence) ["$[1]" \\test] ["[0]" check]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) [// - ["[1][0]" extension - ["[1]/[0]" analysis "_" + ["[1][0]" extension (.only) + ["[1]/[0]" analysis ["[1]" lux]]] [// ["[1][0]" analysis (.only Analysis) [evaluation (.only Eval)] ["[2][0]" macro] ["[2][0]" module] - ["[2][0]" type + ["[2][0]" type (.only) ["$[1]" \\test]] - ["[2][0]" inference "_" + ["[2][0]" inference ["$[1]" \\test]]] [/// ["[1][0]" phase ("[1]#[0]" monad)] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/reference.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/reference.lux index 8cc91640b..171ed5f63 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/reference.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/reference.lux @@ -16,15 +16,15 @@ ["[0]" type ("[1]#[0]" equivalence) ["$[1]" \\test]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // [// ["[1][0]" extension] [// - ["[1][0]" analysis + ["[1][0]" analysis (.only) ["[2][0]" scope] ["[2][0]" module] - ["[2][0]" type + ["[2][0]" type (.only) ["$[1]" \\test]]] [/// ["[1][0]" phase ("[1]#[0]" monad)]]]]]]]) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/simple.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/simple.lux index 7e4b0eb24..b1e0be312 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/simple.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/simple.lux @@ -13,10 +13,10 @@ [math ["[0]" random]] [meta - ["[0]" configuration "_" + ["[0]" configuration ["$[1]" \\test]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [/// ["[1][0]" extension] [// diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension.lux index 853142226..493c29c2e 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension.lux @@ -24,7 +24,7 @@ ["n" nat] ["i" int]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [///// ["[0]" phase] [meta diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux index 776c5ad60..7159422cc 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux @@ -23,8 +23,8 @@ [analysis ["_[0]" primitive]]] [\\ - ["[0]" / - ["///[1]" //// "_" + ["[0]" / (.only) + ["///[1]" //// [analysis ["[1][0]" scope] ["[1][0]" type]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis.lux index 694bd71dc..a9fe9d076 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis.lux @@ -1,7 +1,7 @@ (.using [lux (.full) ["_" test (.only Test)]] - ["[0]" / "_" + ["[0]" / ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" case] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/case.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/case.lux index ca480307f..dff1134e8 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/case.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/case.lux @@ -9,7 +9,7 @@ ["[0]" try ("[1]#[0]" functor)]] [data ["[0]" sum] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [number ["n" nat] @@ -21,19 +21,19 @@ ["[0]" set]]] [math ["[0]" random (.only Random)]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" primitive]] [\\ - ["[0]" / - ["/[1]" // - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // (.only) + ["/[1]" // [extension ["[1][0]" bundle]] - ["/[1]" // + ["/[1]" // (.only) ["[0]" analysis (.only Branch Match Analysis)] ["[0]" synthesis (.only Path Synthesis)] [/// - ["[1][0]" reference + ["[1][0]" reference (.only) [variable (.only Register)]] ["[0]" phase] [meta diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/function.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/function.lux index 659aa6663..73ed82d88 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/function.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/function.lux @@ -7,7 +7,7 @@ ["[0]" try]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [number ["n" nat]] @@ -19,20 +19,20 @@ ["^" pattern]] [math ["[0]" random (.only Random)]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" primitive]] [\\ - ["[0]" / - ["/[1]" // - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // (.only) + ["/[1]" // [extension ["[1][0]" bundle]] - ["/[1]" // + ["/[1]" // (.only) ["[0]" analysis (.only Analysis)] ["[0]" synthesis (.only Synthesis)] [/// [arity (.only Arity)] - ["[0]" reference + ["[0]" reference (.only) ["[0]" variable (.only Variable)]] ["[0]" phase] [meta diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/primitive.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/primitive.lux index 7bcf38399..fca41d4c5 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/primitive.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/primitive.lux @@ -15,12 +15,12 @@ [meta ["[0]" symbol]]] [\\ - ["[0]" / "_" - ["/[1]" // - ["/[1]" // "_" + ["[0]" / + ["/[1]" // (.only) + ["/[1]" // [extension ["[1][0]" bundle]] - ["/[1]" // + ["/[1]" // (.only) ["[1][0]" analysis (.only Analysis)] ["[1][0]" synthesis (.only Synthesis)] [/// diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/structure.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/structure.lux index 402847fa0..b98e8d9e0 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/structure.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/structure.lux @@ -18,15 +18,15 @@ ["[0]" list]]] [meta ["[0]" symbol]]] - ["[0]" // "_" + ["[0]" // ["[1][0]" primitive]] [\\ - ["[0]" / "_" - ["/[1]" // - ["/[1]" // "_" + ["[0]" / + ["/[1]" // (.only) + ["/[1]" // [extension ["[1][0]" bundle]] - ["/[1]" // + ["/[1]" // (.only) ["[1][0]" analysis (.only Analysis)] ["[1][0]" synthesis (.only Synthesis)] [/// diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access.lux b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access.lux index cc25a9433..175bac435 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access.lux @@ -2,7 +2,7 @@ [library [lux (.full) ["_" test (.only Test)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" side] ["[1][0]" member]]) diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive.lux b/stdlib/source/test/lux/tool/compiler/meta/archive.lux index 5bfa782dd..8fe27f4db 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive.lux @@ -9,7 +9,7 @@ ["[0]" exception]] [data ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)]] [collection ["[0]" list] @@ -18,19 +18,16 @@ [math ["[0]" random (.only Random)] [number - ["n" nat]]] - [meta - ["[0]" symbol "_" - ["$[1]" \\test]]]]] + ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["[1][0]" key] ["[1][0]" registry] ["[1][0]" signature] - ["[1][0]" module + ["[1][0]" module (.only) ["[2][0]" document] ["[2][0]" descriptor]]]] - ["$[0]" / "_" + ["$[0]" / ["[1][0]" signature] ["[1][0]" key] ["[1][0]" artifact] diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/artifact.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/artifact.lux index 543c776d1..070c08a84 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/artifact.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/artifact.lux @@ -7,7 +7,7 @@ ["$[0]" equivalence]]] [math ["[0]" random (.only Random)]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" category]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/key.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/key.lux index 72819e8eb..4ef34fc1a 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/key.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/key.lux @@ -8,7 +8,7 @@ ["[0]" random]]]] [\\library ["[0]" /]] - ["[0]" // "_" + ["[0]" // ["[1][0]" signature]]) (def: .public test diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/module.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/module.lux index 6d83fe00a..c78d29221 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/module.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/module.lux @@ -9,13 +9,13 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["[0]" document] [// ["[0]" key] - ["[0]" signature "_" + ["[0]" signature ["$[1]" \\test]]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" document] ["[1][0]" descriptor]]) diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/module/document.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/module/document.lux index e30b4ebde..e6e4ce9f4 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/module/document.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/module/document.lux @@ -18,11 +18,11 @@ [number ["[0]" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [/// ["[1][0]" signature ("[1]#[0]" equivalence)] ["[1][0]" key]]]] - ["[0]" /// "_" + ["[0]" /// ["[1][0]" signature]]) (def: .public test diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/registry.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/registry.lux index 79a21e5a5..91fdad769 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/registry.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/registry.lux @@ -23,10 +23,10 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["[0]" unit] - ["[0]" artifact + ["[0]" artifact (.only) ["[0]" category]]]]]) (template: (tagged? <tag> <it>) diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/signature.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/signature.lux index be475616b..00965de69 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/signature.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/signature.lux @@ -19,7 +19,7 @@ ["[0]" random (.only Random)]]]] [\\library ["[0]" /]] - ["[0]" //// "_" + ["[0]" //// ["[1][0]" version]]) (def: .public random diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache.lux b/stdlib/source/test/lux/tool/compiler/meta/cache.lux index 43ff57a06..87ffcb922 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache.lux @@ -14,12 +14,12 @@ ["[0]" file]]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" archive] ["[1][0]" module] ["[1][0]" artifact] ["[1][0]" purge] - ["$/[1]" // "_" + ["$/[1]" // ["[1][0]" context]]]) (def: .public test diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache/archive.lux b/stdlib/source/test/lux/tool/compiler/meta/cache/archive.lux index d0be6166f..953eb2ca0 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache/archive.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache/archive.lux @@ -19,19 +19,19 @@ [world ["[0]" file]]]] [\\library - ["[0]" / - ["/[1]" // - ["/[1]" // - ["[0]" archive + ["[0]" / (.only) + ["/[1]" // (.only) + ["/[1]" // (.only) + ["[0]" archive (.only) ["[0]" signature] ["[0]" key] ["[0]" registry] - ["[0]" module + ["[0]" module (.only) ["[0]" document]]]]]]] - ["$" // "_" + ["$" // [// ["[1][0]" context] - ["[1][0]" archive + ["[1][0]" archive (.only) ["[2][0]" signature]]]]) (def: .public test diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache/artifact.lux b/stdlib/source/test/lux/tool/compiler/meta/cache/artifact.lux index 1c466f941..078fbb897 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache/artifact.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache/artifact.lux @@ -18,10 +18,10 @@ [world ["[0]" file]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1][0]" module]]]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" context]]) (def: .public test diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache/module.lux b/stdlib/source/test/lux/tool/compiler/meta/cache/module.lux index 09736b4b9..dce7a527c 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache/module.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache/module.lux @@ -15,7 +15,7 @@ ["[0]" file]]]] [\\library ["[0]" /]] - ["$[0]" /// "_" + ["$[0]" /// ["[1][0]" context]]) (`` (implementation: (bad it) diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache/purge.lux b/stdlib/source/test/lux/tool/compiler/meta/cache/purge.lux index b3738d363..6a805eafc 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache/purge.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache/purge.lux @@ -10,7 +10,7 @@ [concurrency ["[0]" async]]] [data - ["[0]" text + ["[0]" text (.only) ["%" format]] ["[0]" binary ["$[1]" \\test]] @@ -25,19 +25,19 @@ [world ["[0]" file]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // ["[1][0]" module] - ["[0]" dependency "_" + ["[0]" dependency ["[1]" module]] - ["/[1]" // "_" - ["[0]" context + ["/[1]" // + ["[0]" context (.only) ["$[1]" \\test]] - ["[0]" archive + ["[0]" archive (.only) ["[0]" registry] - ["[0]" module + ["[0]" module (.only) ["$[1]" \\test] - ["[0]" descriptor + ["[0]" descriptor (.only) ["$[1]" \\test]]]] ["/[1]" //]]]]]) diff --git a/stdlib/source/test/lux/tool/compiler/meta/cli.lux b/stdlib/source/test/lux/tool/compiler/meta/cli.lux index 89ec44c51..a6b7bd78f 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cli.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cli.lux @@ -7,7 +7,7 @@ [control ["[0]" pipe] ["[0]" try ("[1]#[0]" functor)] - ["<>" parser + ["<>" parser (.only) ["<[0]>" cli]]] [data ["[0]" product] @@ -19,14 +19,12 @@ [number ["n" nat]]] [meta - ["[0]" symbol "_" - ["$[1]" \\test]] ["[0]" configuration ("[1]#[0]" equivalence) ["$[1]" \\test]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["[1][0]" compiler (.only Compiler)]]] - ["$[0]" / "_" + ["$[0]" / ["[1][0]" compiler]]) (def: .public test diff --git a/stdlib/source/test/lux/tool/compiler/meta/cli/compiler.lux b/stdlib/source/test/lux/tool/compiler/meta/cli/compiler.lux index 5571ed10c..5ae4a3b69 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cli/compiler.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cli/compiler.lux @@ -15,7 +15,7 @@ [number ["n" nat]]] [meta - ["[0]" symbol "_" + ["[0]" symbol ["$[1]" \\test]]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/tool/compiler/meta/export.lux b/stdlib/source/test/lux/tool/compiler/meta/export.lux index dbc78af58..50430ef8a 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/export.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/export.lux @@ -30,9 +30,9 @@ [world ["[0]" file]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// - ["[0]" io "_" + ["[0]" io ["[1]" context]]]]]) (def: .public test diff --git a/stdlib/source/test/lux/tool/compiler/meta/import.lux b/stdlib/source/test/lux/tool/compiler/meta/import.lux index 95366e32e..d18169641 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/import.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/import.lux @@ -16,7 +16,7 @@ ["[0]" product] ["[0]" binary (.only Binary) ("[1]#[0]" equivalence)] ["[0]" bit ("[1]#[0]" equivalence)] - ["[0]" format "_" + ["[0]" format ["[0]" tar (.only Tar)] ["[1]" binary]] ["[0]" text ("[1]#[0]" equivalence) @@ -33,10 +33,10 @@ [world ["[0]" file]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// ["[0]" export] - ["[0]" io "_" + ["[0]" io ["[1]" context]]]]]) (def: .public test diff --git a/stdlib/source/test/lux/tool/compiler/phase.lux b/stdlib/source/test/lux/tool/compiler/phase.lux index 7acf50e5b..10c7cc88f 100644 --- a/stdlib/source/test/lux/tool/compiler/phase.lux +++ b/stdlib/source/test/lux/tool/compiler/phase.lux @@ -20,7 +20,7 @@ ["n" nat] ["i" int]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [meta ["[0]" archive]]]]]) diff --git a/stdlib/source/test/lux/tool/compiler/reference.lux b/stdlib/source/test/lux/tool/compiler/reference.lux index ae10eba30..eb464ccf1 100644 --- a/stdlib/source/test/lux/tool/compiler/reference.lux +++ b/stdlib/source/test/lux/tool/compiler/reference.lux @@ -17,9 +17,9 @@ [meta ["[0]" symbol ("[1]#[0]" equivalence)]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["[0]" variable (.only Register)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" variable]]) (def: constant diff --git a/stdlib/source/test/lux/type.lux b/stdlib/source/test/lux/type.lux index e10ea267f..0c6d1e6fa 100644 --- a/stdlib/source/test/lux/type.lux +++ b/stdlib/source/test/lux/type.lux @@ -24,7 +24,7 @@ ["n" nat]]]]] [\\library ["[0]" / ("[1]#[0]" equivalence)]] - ["[0]" / "_" + ["[0]" / ["[1][0]" primitive] ["[1][0]" check] ["[1][0]" dynamic] diff --git a/stdlib/source/test/lux/type/dynamic.lux b/stdlib/source/test/lux/type/dynamic.lux index ee3d7583f..3b9179d37 100644 --- a/stdlib/source/test/lux/type/dynamic.lux +++ b/stdlib/source/test/lux/type/dynamic.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] diff --git a/stdlib/source/test/lux/type/implicit.lux b/stdlib/source/test/lux/type/implicit.lux index c2a299715..4eb575a18 100644 --- a/stdlib/source/test/lux/type/implicit.lux +++ b/stdlib/source/test/lux/type/implicit.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [equivalence (.only)] diff --git a/stdlib/source/test/lux/type/poly.lux b/stdlib/source/test/lux/type/poly.lux index 1f91b2eef..10c3bbbf6 100644 --- a/stdlib/source/test/lux/type/poly.lux +++ b/stdlib/source/test/lux/type/poly.lux @@ -1,10 +1,10 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)]]] [\\library ["[0]" /]] - ["[0]" / "_" + ["[0]" / ["[1][0]" equivalence] ["[1][0]" functor] ["[1][0]" json]]) diff --git a/stdlib/source/test/lux/type/poly/functor.lux b/stdlib/source/test/lux/type/poly/functor.lux index e602c6398..35daa7eff 100644 --- a/stdlib/source/test/lux/type/poly/functor.lux +++ b/stdlib/source/test/lux/type/poly/functor.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["@" target] [abstract [monad (.only do)] diff --git a/stdlib/source/test/lux/type/poly/json.lux b/stdlib/source/test/lux/type/poly/json.lux index 7e749a96e..9ecd3684c 100644 --- a/stdlib/source/test/lux/type/poly/json.lux +++ b/stdlib/source/test/lux/type/poly/json.lux @@ -5,7 +5,7 @@ ["@" target] ["[0]" debug] [abstract - [codec (.full)] + [codec (.except)] [monad (.only do)] ["[0]" equivalence (.only Equivalence) ["poly/[1]" \\poly]] diff --git a/stdlib/source/test/lux/type/primitive.lux b/stdlib/source/test/lux/type/primitive.lux index 922d4c094..bb6defdda 100644 --- a/stdlib/source/test/lux/type/primitive.lux +++ b/stdlib/source/test/lux/type/primitive.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] ["[0]" meta] [abstract @@ -12,11 +12,11 @@ ["<[0]>" code]]] [data ["[0]" text ("[1]#[0]" equivalence)]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code] ["[0]" template]] - ["[0]" math + ["[0]" math (.only) ["[0]" random] [number ["n" nat]]]]] diff --git a/stdlib/source/test/lux/type/quotient.lux b/stdlib/source/test/lux/type/quotient.lux index 1e2e2586e..a0f2fa444 100644 --- a/stdlib/source/test/lux/type/quotient.lux +++ b/stdlib/source/test/lux/type/quotient.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract ["[0]" monad (.only do)] diff --git a/stdlib/source/test/lux/type/refinement.lux b/stdlib/source/test/lux/type/refinement.lux index 3b62d786a..fbf318736 100644 --- a/stdlib/source/test/lux/type/refinement.lux +++ b/stdlib/source/test/lux/type/refinement.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [predicate (.only Predicate)] diff --git a/stdlib/source/test/lux/type/resource.lux b/stdlib/source/test/lux/type/resource.lux index c04c15202..f49981fdd 100644 --- a/stdlib/source/test/lux/type/resource.lux +++ b/stdlib/source/test/lux/type/resource.lux @@ -1,10 +1,10 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] ["[0]" meta] [abstract - ["[0]" monad + ["[0]" monad (.only) [indexed (.only do)]]] [control ["[0]" io (.only IO)] @@ -18,7 +18,7 @@ ["[0]" identity (.only Identity)] ["[0]" text ("[1]#[0]" equivalence) ["%" format (.only format)]]] - ["[0]" macro + ["[0]" macro (.only) [syntax (.only syntax:)] ["[0]" code]] [math diff --git a/stdlib/source/test/lux/type/unit.lux b/stdlib/source/test/lux/type/unit.lux index 9ea3cc3bf..19b2bc9c2 100644 --- a/stdlib/source/test/lux/type/unit.lux +++ b/stdlib/source/test/lux/type/unit.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] ["[0]" debug] ["[0]" meta] diff --git a/stdlib/source/test/lux/type/variance.lux b/stdlib/source/test/lux/type/variance.lux index d73853e99..c9e65123e 100644 --- a/stdlib/source/test/lux/type/variance.lux +++ b/stdlib/source/test/lux/type/variance.lux @@ -1,14 +1,14 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / - ["/[1]" // "_" + ["[0]" / (.only) + ["/[1]" // (.only) ["[1][0]" check]]]]) (type: Super diff --git a/stdlib/source/test/lux/world.lux b/stdlib/source/test/lux/world.lux index 6dee850f2..bebd06ea8 100644 --- a/stdlib/source/test/lux/world.lux +++ b/stdlib/source/test/lux/world.lux @@ -1,19 +1,19 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" file] ["[1][0]" shell] ["[1][0]" console] ["[1][0]" program] - ["[1][0]" input "_" + ["[1][0]" input ["[1]/[0]" keyboard]] - ["[1][0]" output "_" - ["[1]/[0]" video "_" + ["[1][0]" output + ["[1]/[0]" video ["[1]/[0]" resolution]]] - ["[1][0]" net "_" - ["[1]/[0]" http "_" + ["[1][0]" net + ["[1]/[0]" http ["[1]/[0]" client] ["[1]/[0]" status]]]]) diff --git a/stdlib/source/test/lux/world/console.lux b/stdlib/source/test/lux/world/console.lux index c82991687..9cfe5dbc5 100644 --- a/stdlib/source/test/lux/world/console.lux +++ b/stdlib/source/test/lux/world/console.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] diff --git a/stdlib/source/test/lux/world/file.lux b/stdlib/source/test/lux/world/file.lux index 9954bc4d4..53c2c7ce9 100644 --- a/stdlib/source/test/lux/world/file.lux +++ b/stdlib/source/test/lux/world/file.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract ["[0]" monad (.only do)]] @@ -23,7 +23,7 @@ ["[0]" random]] [time ["[0]" instant (.only Instant)]]]] - ["[0]" / "_" + ["[0]" / ["[1][0]" watch]] [\\library ["[0]" /]] diff --git a/stdlib/source/test/lux/world/file/watch.lux b/stdlib/source/test/lux/world/file/watch.lux index b87d5186e..af69350e0 100644 --- a/stdlib/source/test/lux/world/file/watch.lux +++ b/stdlib/source/test/lux/world/file/watch.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [predicate (.only Predicate)] @@ -19,7 +19,7 @@ [math ["[0]" random (.only Random) ("[1]#[0]" monad)]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]] [//// [data diff --git a/stdlib/source/test/lux/world/input/keyboard.lux b/stdlib/source/test/lux/world/input/keyboard.lux index 8ae8e68ed..f13e615a0 100644 --- a/stdlib/source/test/lux/world/input/keyboard.lux +++ b/stdlib/source/test/lux/world/input/keyboard.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] diff --git a/stdlib/source/test/lux/world/net/http/client.lux b/stdlib/source/test/lux/world/net/http/client.lux index 00ef6f8ec..21cbaa354 100644 --- a/stdlib/source/test/lux/world/net/http/client.lux +++ b/stdlib/source/test/lux/world/net/http/client.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [monad (.only Monad do)]] @@ -14,7 +14,7 @@ [data ["[0]" binary] ["[0]" product] - ["[0]" text + ["[0]" text (.only) ["%" format (.only format)] [encoding ["[0]" utf8]]] @@ -25,8 +25,8 @@ [number ["[0]" nat]]]]] [\\library - ["[0]" / - ["/[1]" // + ["[0]" / (.only) + ["/[1]" // (.only) ["[1][0]" status]]]]) (def: (verification ! expected response) diff --git a/stdlib/source/test/lux/world/net/http/status.lux b/stdlib/source/test/lux/world/net/http/status.lux index 4e7c3cef2..fe1a74690 100644 --- a/stdlib/source/test/lux/world/net/http/status.lux +++ b/stdlib/source/test/lux/world/net/http/status.lux @@ -12,7 +12,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) ["/[1]" //]]]) (with_expansions [<categories> (these [informational diff --git a/stdlib/source/test/lux/world/output/video/resolution.lux b/stdlib/source/test/lux/world/output/video/resolution.lux index cdd2797a0..347162ff5 100644 --- a/stdlib/source/test/lux/world/output/video/resolution.lux +++ b/stdlib/source/test/lux/world/output/video/resolution.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)] diff --git a/stdlib/source/test/lux/world/program.lux b/stdlib/source/test/lux/world/program.lux index 6501a1074..3d7119229 100644 --- a/stdlib/source/test/lux/world/program.lux +++ b/stdlib/source/test/lux/world/program.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] @@ -22,7 +22,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [file (.only Path)]]]] [\\specification diff --git a/stdlib/source/test/lux/world/shell.lux b/stdlib/source/test/lux/world/shell.lux index 59c0eccb6..c9960e037 100644 --- a/stdlib/source/test/lux/world/shell.lux +++ b/stdlib/source/test/lux/world/shell.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] @@ -22,7 +22,7 @@ ["n" nat] ["i" int]]]]] [\\library - ["[0]" / + ["[0]" / (.only) [// [file (.only Path)]]]] [\\specification diff --git a/stdlib/source/unsafe/lux/data/binary.lux b/stdlib/source/unsafe/lux/data/binary.lux index 08af20a1d..e14eb54b0 100644 --- a/stdlib/source/unsafe/lux/data/binary.lux +++ b/stdlib/source/unsafe/lux/data/binary.lux @@ -1,6 +1,6 @@ (.using [library - [lux (.full) + [lux (.except) ["@" target] ["[0]" ffi] [control @@ -8,7 +8,7 @@ [inline (.only inline:)]]] [data [collection - ["[0]" array "_" + ["[0]" array ["[1]" \\unsafe]]]] [math [number (.only hex) |