From 376c3e472fbb1e2656f8c61b26e0276570609aa1 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 13 Sep 2021 00:29:57 -0400 Subject: Updated only/except import syntax to take into account record => variant syntax change. --- stdlib/source/library/lux.lux | 12 ++-- stdlib/source/library/lux/abstract/algebra.lux | 2 +- stdlib/source/library/lux/abstract/apply.lux | 4 +- stdlib/source/library/lux/abstract/codec.lux | 4 +- stdlib/source/library/lux/abstract/comonad.lux | 2 +- .../source/library/lux/abstract/comonad/cofree.lux | 4 +- stdlib/source/library/lux/abstract/enum.lux | 2 +- stdlib/source/library/lux/abstract/functor.lux | 2 +- stdlib/source/library/lux/abstract/hash.lux | 2 +- stdlib/source/library/lux/abstract/interval.lux | 4 +- stdlib/source/library/lux/abstract/mix.lux | 2 +- stdlib/source/library/lux/abstract/monad.lux | 2 +- stdlib/source/library/lux/abstract/monad/free.lux | 6 +- .../source/library/lux/abstract/monad/indexed.lux | 4 +- stdlib/source/library/lux/abstract/monoid.lux | 2 +- stdlib/source/library/lux/abstract/order.lux | 2 +- stdlib/source/library/lux/abstract/predicate.lux | 4 +- .../source/library/lux/control/concatenative.lux | 10 +-- .../library/lux/control/concurrency/actor.lux | 28 ++++---- .../library/lux/control/concurrency/async.lux | 16 ++--- .../library/lux/control/concurrency/atom.lux | 4 +- .../source/library/lux/control/concurrency/frp.lux | 22 +++--- .../library/lux/control/concurrency/semaphore.lux | 18 ++--- .../source/library/lux/control/concurrency/stm.lux | 14 ++-- .../library/lux/control/concurrency/thread.lux | 8 +-- stdlib/source/library/lux/control/continuation.lux | 10 +-- stdlib/source/library/lux/control/exception.lux | 8 +-- stdlib/source/library/lux/control/function.lux | 2 +- .../library/lux/control/function/contract.lux | 8 +-- .../source/library/lux/control/function/memo.lux | 10 +-- .../source/library/lux/control/function/mixin.lux | 6 +- .../source/library/lux/control/function/mutual.lux | 18 ++--- stdlib/source/library/lux/control/io.lux | 10 +-- stdlib/source/library/lux/control/lazy.lux | 12 ++-- stdlib/source/library/lux/control/maybe.lux | 14 ++-- stdlib/source/library/lux/control/parser.lux | 12 ++-- .../source/library/lux/control/parser/analysis.lux | 18 ++--- .../source/library/lux/control/parser/binary.lux | 20 +++--- stdlib/source/library/lux/control/parser/cli.lux | 6 +- stdlib/source/library/lux/control/parser/code.lux | 6 +- .../library/lux/control/parser/environment.lux | 8 +-- stdlib/source/library/lux/control/parser/json.lux | 10 +-- .../library/lux/control/parser/synthesis.lux | 20 +++--- stdlib/source/library/lux/control/parser/text.lux | 10 +-- stdlib/source/library/lux/control/parser/tree.lux | 10 +-- stdlib/source/library/lux/control/parser/type.lux | 12 ++-- stdlib/source/library/lux/control/parser/xml.lux | 10 +-- stdlib/source/library/lux/control/pipe.lux | 8 +-- stdlib/source/library/lux/control/reader.lux | 8 +-- stdlib/source/library/lux/control/region.lux | 12 ++-- stdlib/source/library/lux/control/remember.lux | 12 ++-- .../library/lux/control/security/capability.lux | 10 +-- .../source/library/lux/control/security/policy.lux | 6 +- stdlib/source/library/lux/control/state.lux | 8 +-- stdlib/source/library/lux/control/thread.lux | 10 +-- stdlib/source/library/lux/control/try.lux | 8 +-- stdlib/source/library/lux/control/writer.lux | 8 +-- stdlib/source/library/lux/data/binary.lux | 16 ++--- stdlib/source/library/lux/data/bit.lux | 8 +-- .../source/library/lux/data/collection/array.lux | 12 ++-- stdlib/source/library/lux/data/collection/bits.lux | 6 +- .../library/lux/data/collection/dictionary.lux | 12 ++-- .../lux/data/collection/dictionary/ordered.lux | 4 +- .../lux/data/collection/dictionary/plist.lux | 2 +- stdlib/source/library/lux/data/collection/list.lux | 16 ++--- .../source/library/lux/data/collection/queue.lux | 6 +- .../library/lux/data/collection/queue/priority.lux | 10 +-- stdlib/source/library/lux/data/collection/row.lux | 26 +++---- .../library/lux/data/collection/sequence.lux | 12 ++-- stdlib/source/library/lux/data/collection/set.lux | 12 ++-- .../library/lux/data/collection/set/multi.lux | 10 +-- .../library/lux/data/collection/set/ordered.lux | 6 +- .../source/library/lux/data/collection/stack.lux | 4 +- stdlib/source/library/lux/data/collection/tree.lux | 12 ++-- .../library/lux/data/collection/tree/finger.lux | 6 +- .../library/lux/data/collection/tree/zipper.lux | 12 ++-- stdlib/source/library/lux/data/color.lux | 6 +- stdlib/source/library/lux/data/color/named.lux | 4 +- stdlib/source/library/lux/data/format/binary.lux | 22 +++--- stdlib/source/library/lux/data/format/css.lux | 18 ++--- stdlib/source/library/lux/data/format/css/font.lux | 6 +- .../library/lux/data/format/css/property.lux | 84 +++++++++++----------- .../source/library/lux/data/format/css/query.lux | 18 ++--- .../library/lux/data/format/css/selector.lux | 6 +- .../source/library/lux/data/format/css/style.lux | 6 +- .../source/library/lux/data/format/css/value.lux | 10 +-- stdlib/source/library/lux/data/format/html.lux | 10 +-- stdlib/source/library/lux/data/format/json.lux | 20 +++--- stdlib/source/library/lux/data/format/markdown.lux | 6 +- stdlib/source/library/lux/data/format/tar.lux | 24 +++---- stdlib/source/library/lux/data/format/xml.lux | 14 ++-- stdlib/source/library/lux/data/identity.lux | 8 +-- stdlib/source/library/lux/data/name.lux | 8 +-- stdlib/source/library/lux/data/product.lux | 4 +- stdlib/source/library/lux/data/store.lux | 2 +- stdlib/source/library/lux/data/sum.lux | 4 +- stdlib/source/library/lux/data/text.lux | 14 ++-- stdlib/source/library/lux/data/text/buffer.lux | 6 +- .../source/library/lux/data/text/encoding/utf8.lux | 6 +- stdlib/source/library/lux/data/text/escape.lux | 14 ++-- stdlib/source/library/lux/data/text/format.lux | 8 +-- stdlib/source/library/lux/data/text/regex.lux | 12 ++-- .../source/library/lux/data/text/unicode/block.lux | 12 ++-- .../source/library/lux/data/text/unicode/set.lux | 10 +-- stdlib/source/library/lux/data/trace.lux | 4 +- stdlib/source/library/lux/debug.lux | 34 ++++----- stdlib/source/library/lux/documentation.lux | 20 +++--- stdlib/source/library/lux/extension.lux | 6 +- stdlib/source/library/lux/ffi.js.lux | 8 +-- stdlib/source/library/lux/ffi.jvm.lux | 24 +++---- stdlib/source/library/lux/ffi.lua.lux | 8 +-- stdlib/source/library/lux/ffi.old.lux | 16 ++--- stdlib/source/library/lux/ffi.php.lux | 10 +-- stdlib/source/library/lux/ffi.py.lux | 8 +-- stdlib/source/library/lux/ffi.rb.lux | 10 +-- stdlib/source/library/lux/ffi.scm.lux | 12 ++-- stdlib/source/library/lux/locale.lux | 12 ++-- stdlib/source/library/lux/locale/language.lux | 4 +- stdlib/source/library/lux/locale/territory.lux | 4 +- stdlib/source/library/lux/macro.lux | 2 +- stdlib/source/library/lux/macro/code.lux | 4 +- stdlib/source/library/lux/macro/local.lux | 8 +-- stdlib/source/library/lux/macro/syntax.lux | 6 +- stdlib/source/library/lux/macro/syntax/check.lux | 8 +-- .../library/lux/macro/syntax/declaration.lux | 4 +- .../source/library/lux/macro/syntax/definition.lux | 12 ++-- stdlib/source/library/lux/macro/syntax/export.lux | 4 +- stdlib/source/library/lux/macro/syntax/input.lux | 4 +- .../library/lux/macro/syntax/type/variable.lux | 4 +- stdlib/source/library/lux/macro/template.lux | 14 ++-- stdlib/source/library/lux/math/infix.lux | 6 +- .../source/library/lux/math/logic/continuous.lux | 4 +- stdlib/source/library/lux/math/logic/fuzzy.lux | 4 +- stdlib/source/library/lux/math/modular.lux | 20 +++--- stdlib/source/library/lux/math/modulus.lux | 8 +-- stdlib/source/library/lux/math/number.lux | 4 +- stdlib/source/library/lux/math/number/complex.lux | 10 +-- stdlib/source/library/lux/math/number/frac.lux | 18 ++--- stdlib/source/library/lux/math/number/i16.lux | 8 +-- stdlib/source/library/lux/math/number/i32.lux | 8 +-- stdlib/source/library/lux/math/number/i64.lux | 8 +-- stdlib/source/library/lux/math/number/i8.lux | 8 +-- stdlib/source/library/lux/math/number/int.lux | 20 +++--- stdlib/source/library/lux/math/number/nat.lux | 16 ++--- stdlib/source/library/lux/math/number/ratio.lux | 16 ++--- stdlib/source/library/lux/math/number/rev.lux | 16 ++--- stdlib/source/library/lux/math/random.lux | 42 +++++------ stdlib/source/library/lux/meta.lux | 10 +-- stdlib/source/library/lux/meta/location.lux | 2 +- stdlib/source/library/lux/program.lux | 6 +- stdlib/source/library/lux/static.lux | 10 +-- stdlib/source/library/lux/target/common_lisp.lux | 6 +- stdlib/source/library/lux/target/js.lux | 6 +- stdlib/source/library/lux/target/jvm.lux | 8 +-- stdlib/source/library/lux/target/jvm/attribute.lux | 20 +++--- .../library/lux/target/jvm/attribute/code.lux | 16 ++--- .../lux/target/jvm/attribute/code/exception.lux | 12 ++-- .../library/lux/target/jvm/attribute/constant.lux | 10 +-- stdlib/source/library/lux/target/jvm/bytecode.lux | 52 +++++++------- .../library/lux/target/jvm/bytecode/address.lux | 16 ++--- .../lux/target/jvm/bytecode/environment.lux | 22 +++--- .../lux/target/jvm/bytecode/environment/limit.lux | 18 ++--- .../jvm/bytecode/environment/limit/registry.lux | 14 ++-- .../jvm/bytecode/environment/limit/stack.lux | 10 +-- .../lux/target/jvm/bytecode/instruction.lux | 24 +++---- .../library/lux/target/jvm/bytecode/jump.lux | 6 +- stdlib/source/library/lux/target/jvm/class.lux | 32 ++++----- stdlib/source/library/lux/target/jvm/constant.lux | 16 ++--- .../library/lux/target/jvm/constant/pool.lux | 22 +++--- .../source/library/lux/target/jvm/constant/tag.lux | 6 +- .../library/lux/target/jvm/encoding/name.lux | 2 +- .../library/lux/target/jvm/encoding/signed.lux | 14 ++-- .../library/lux/target/jvm/encoding/unsigned.lux | 14 ++-- stdlib/source/library/lux/target/jvm/field.lux | 26 +++---- stdlib/source/library/lux/target/jvm/index.lux | 6 +- stdlib/source/library/lux/target/jvm/loader.lux | 18 ++--- stdlib/source/library/lux/target/jvm/magic.lux | 4 +- stdlib/source/library/lux/target/jvm/method.lux | 28 ++++---- stdlib/source/library/lux/target/jvm/modifier.lux | 12 ++-- .../library/lux/target/jvm/modifier/inner.lux | 4 +- .../source/library/lux/target/jvm/reflection.lux | 18 ++--- stdlib/source/library/lux/target/jvm/type.lux | 18 ++--- .../source/library/lux/target/jvm/type/alias.lux | 18 ++--- stdlib/source/library/lux/target/jvm/type/box.lux | 4 +- .../library/lux/target/jvm/type/descriptor.lux | 10 +-- stdlib/source/library/lux/target/jvm/type/lux.lux | 16 ++--- .../source/library/lux/target/jvm/type/parser.lux | 14 ++-- .../library/lux/target/jvm/type/reflection.lux | 10 +-- .../library/lux/target/jvm/type/signature.lux | 12 ++-- stdlib/source/library/lux/target/jvm/version.lux | 2 +- stdlib/source/library/lux/target/lua.lux | 12 ++-- stdlib/source/library/lux/target/php.lux | 12 ++-- stdlib/source/library/lux/target/python.lux | 12 ++-- stdlib/source/library/lux/target/r.lux | 8 +-- stdlib/source/library/lux/target/ruby.lux | 12 ++-- stdlib/source/library/lux/target/scheme.lux | 10 +-- stdlib/source/library/lux/test.lux | 26 +++---- stdlib/source/library/lux/time.lux | 20 +++--- stdlib/source/library/lux/time/date.lux | 22 +++--- stdlib/source/library/lux/time/day.lux | 16 ++--- stdlib/source/library/lux/time/duration.lux | 14 ++-- stdlib/source/library/lux/time/instant.lux | 28 ++++---- stdlib/source/library/lux/time/month.lux | 14 ++-- stdlib/source/library/lux/time/year.lux | 14 ++-- stdlib/source/library/lux/tool/compiler.lux | 20 +++--- .../library/lux/tool/compiler/default/init.lux | 30 ++++---- .../library/lux/tool/compiler/default/platform.lux | 54 +++++++------- .../library/lux/tool/compiler/language/lux.lux | 6 +- .../lux/tool/compiler/language/lux/analysis.lux | 22 +++--- .../compiler/language/lux/analysis/evaluation.lux | 14 ++-- .../tool/compiler/language/lux/analysis/macro.lux | 8 +-- .../lux/tool/compiler/language/lux/directive.lux | 6 +- .../lux/tool/compiler/language/lux/generation.lux | 20 +++--- .../tool/compiler/language/lux/phase/analysis.lux | 12 ++-- .../compiler/language/lux/phase/analysis/case.lux | 12 ++-- .../language/lux/phase/analysis/case/coverage.lux | 14 ++-- .../language/lux/phase/analysis/function.lux | 12 ++-- .../language/lux/phase/analysis/inference.lux | 10 +-- .../language/lux/phase/analysis/module.lux | 8 +-- .../language/lux/phase/analysis/primitive.lux | 4 +- .../language/lux/phase/analysis/reference.lux | 6 +- .../compiler/language/lux/phase/analysis/scope.lux | 8 +-- .../language/lux/phase/analysis/structure.lux | 12 ++-- .../compiler/language/lux/phase/analysis/type.lux | 6 +- .../tool/compiler/language/lux/phase/directive.lux | 16 ++--- .../tool/compiler/language/lux/phase/extension.lux | 18 ++--- .../language/lux/phase/extension/analysis.lux | 4 +- .../lux/phase/extension/analysis/common_lisp.lux | 10 +-- .../language/lux/phase/extension/analysis/js.lux | 10 +-- .../language/lux/phase/extension/analysis/jvm.lux | 36 +++++----- .../language/lux/phase/extension/analysis/lua.lux | 10 +-- .../language/lux/phase/extension/analysis/lux.lux | 16 ++--- .../language/lux/phase/extension/analysis/php.lux | 10 +-- .../lux/phase/extension/analysis/python.lux | 10 +-- .../language/lux/phase/extension/analysis/r.lux | 10 +-- .../language/lux/phase/extension/analysis/ruby.lux | 10 +-- .../lux/phase/extension/analysis/scheme.lux | 10 +-- .../language/lux/phase/extension/bundle.lux | 8 +-- .../language/lux/phase/extension/directive/jvm.lux | 30 ++++---- .../language/lux/phase/extension/directive/lux.lux | 26 +++---- .../lux/phase/extension/generation/common_lisp.lux | 2 +- .../extension/generation/common_lisp/common.lux | 16 ++--- .../extension/generation/common_lisp/host.lux | 18 ++--- .../language/lux/phase/extension/generation/js.lux | 2 +- .../lux/phase/extension/generation/js/common.lux | 16 ++--- .../lux/phase/extension/generation/js/host.lux | 16 ++--- .../lux/phase/extension/generation/jvm.lux | 2 +- .../lux/phase/extension/generation/jvm/common.lux | 26 +++---- .../lux/phase/extension/generation/jvm/host.lux | 42 +++++------ .../lux/phase/extension/generation/lua.lux | 2 +- .../lux/phase/extension/generation/lua/common.lux | 16 ++--- .../lux/phase/extension/generation/lua/host.lux | 18 ++--- .../lux/phase/extension/generation/php.lux | 2 +- .../lux/phase/extension/generation/php/common.lux | 16 ++--- .../lux/phase/extension/generation/php/host.lux | 18 ++--- .../lux/phase/extension/generation/python.lux | 2 +- .../phase/extension/generation/python/common.lux | 18 ++--- .../lux/phase/extension/generation/python/host.lux | 16 ++--- .../language/lux/phase/extension/generation/r.lux | 2 +- .../lux/phase/extension/generation/r/common.lux | 16 ++--- .../lux/phase/extension/generation/r/host.lux | 18 ++--- .../lux/phase/extension/generation/ruby.lux | 2 +- .../lux/phase/extension/generation/ruby/common.lux | 16 ++--- .../lux/phase/extension/generation/ruby/host.lux | 18 ++--- .../lux/phase/extension/generation/scheme.lux | 2 +- .../phase/extension/generation/scheme/common.lux | 16 ++--- .../lux/phase/extension/generation/scheme/host.lux | 18 ++--- .../language/lux/phase/extension/synthesis.lux | 2 +- .../language/lux/phase/generation/common_lisp.lux | 10 +-- .../lux/phase/generation/common_lisp/case.lux | 18 ++--- .../lux/phase/generation/common_lisp/extension.lux | 2 +- .../generation/common_lisp/extension/common.lux | 10 +-- .../lux/phase/generation/common_lisp/function.lux | 20 +++--- .../lux/phase/generation/common_lisp/loop.lux | 16 ++--- .../lux/phase/generation/common_lisp/primitive.lux | 4 +- .../lux/phase/generation/common_lisp/reference.lux | 4 +- .../lux/phase/generation/common_lisp/runtime.lux | 22 +++--- .../lux/phase/generation/common_lisp/structure.lux | 10 +-- .../language/lux/phase/generation/extension.lux | 8 +-- .../compiler/language/lux/phase/generation/js.lux | 12 ++-- .../language/lux/phase/generation/js/case.lux | 14 ++-- .../language/lux/phase/generation/js/function.lux | 20 +++--- .../language/lux/phase/generation/js/loop.lux | 14 ++-- .../language/lux/phase/generation/js/primitive.lux | 4 +- .../language/lux/phase/generation/js/reference.lux | 4 +- .../language/lux/phase/generation/js/runtime.lux | 20 +++--- .../language/lux/phase/generation/js/structure.lux | 12 ++-- .../compiler/language/lux/phase/generation/jvm.lux | 4 +- .../language/lux/phase/generation/jvm/case.lux | 16 ++--- .../language/lux/phase/generation/jvm/debug.lux | 12 ++-- .../language/lux/phase/generation/jvm/function.lux | 34 ++++----- .../lux/phase/generation/jvm/function/abstract.lux | 6 +- .../generation/jvm/function/field/constant.lux | 12 ++-- .../jvm/function/field/constant/arity.lux | 8 +-- .../generation/jvm/function/field/variable.lux | 16 ++--- .../jvm/function/field/variable/count.lux | 6 +- .../jvm/function/field/variable/foreign.lux | 18 ++--- .../jvm/function/field/variable/partial.lux | 16 ++--- .../lux/phase/generation/jvm/function/method.lux | 4 +- .../phase/generation/jvm/function/method/apply.lux | 22 +++--- .../jvm/function/method/implementation.lux | 12 ++-- .../phase/generation/jvm/function/method/init.lux | 20 +++--- .../phase/generation/jvm/function/method/new.lux | 26 +++---- .../phase/generation/jvm/function/method/reset.lux | 18 ++--- .../language/lux/phase/generation/jvm/host.lux | 34 ++++----- .../language/lux/phase/generation/jvm/loop.lux | 10 +-- .../lux/phase/generation/jvm/primitive.lux | 8 +-- .../language/lux/phase/generation/jvm/program.lux | 14 ++-- .../lux/phase/generation/jvm/reference.lux | 12 ++-- .../language/lux/phase/generation/jvm/runtime.lux | 32 ++++----- .../lux/phase/generation/jvm/structure.lux | 10 +-- .../language/lux/phase/generation/jvm/value.lux | 8 +-- .../compiler/language/lux/phase/generation/lua.lux | 12 ++-- .../language/lux/phase/generation/lua/case.lux | 16 ++--- .../language/lux/phase/generation/lua/function.lux | 20 +++--- .../language/lux/phase/generation/lua/loop.lux | 16 ++--- .../lux/phase/generation/lua/primitive.lux | 4 +- .../lux/phase/generation/lua/reference.lux | 4 +- .../language/lux/phase/generation/lua/runtime.lux | 20 +++--- .../lux/phase/generation/lua/structure.lux | 12 ++-- .../compiler/language/lux/phase/generation/php.lux | 12 ++-- .../language/lux/phase/generation/php/case.lux | 16 ++--- .../lux/phase/generation/php/extension.lux | 2 +- .../lux/phase/generation/php/extension/common.lux | 10 +-- .../language/lux/phase/generation/php/function.lux | 20 +++--- .../language/lux/phase/generation/php/loop.lux | 18 ++--- .../lux/phase/generation/php/primitive.lux | 6 +- .../lux/phase/generation/php/reference.lux | 4 +- .../language/lux/phase/generation/php/runtime.lux | 20 +++--- .../lux/phase/generation/php/structure.lux | 10 +-- .../language/lux/phase/generation/python.lux | 12 ++-- .../language/lux/phase/generation/python/case.lux | 16 ++--- .../lux/phase/generation/python/function.lux | 22 +++--- .../language/lux/phase/generation/python/loop.lux | 14 ++-- .../lux/phase/generation/python/primitive.lux | 4 +- .../lux/phase/generation/python/reference.lux | 4 +- .../lux/phase/generation/python/runtime.lux | 20 +++--- .../lux/phase/generation/python/structure.lux | 12 ++-- .../compiler/language/lux/phase/generation/r.lux | 10 +-- .../language/lux/phase/generation/r/case.lux | 16 ++--- .../language/lux/phase/generation/r/function.lux | 20 +++--- .../language/lux/phase/generation/r/loop.lux | 16 ++--- .../language/lux/phase/generation/r/primitive.lux | 4 +- .../lux/phase/generation/r/procedure/common.lux | 12 ++-- .../lux/phase/generation/r/procedure/host.lux | 6 +- .../language/lux/phase/generation/r/reference.lux | 4 +- .../language/lux/phase/generation/r/runtime.lux | 22 +++--- .../language/lux/phase/generation/r/structure.lux | 10 +-- .../language/lux/phase/generation/reference.lux | 12 ++-- .../language/lux/phase/generation/ruby.lux | 12 ++-- .../language/lux/phase/generation/ruby/case.lux | 18 ++--- .../lux/phase/generation/ruby/function.lux | 22 +++--- .../language/lux/phase/generation/ruby/loop.lux | 14 ++-- .../lux/phase/generation/ruby/primitive.lux | 4 +- .../lux/phase/generation/ruby/reference.lux | 4 +- .../language/lux/phase/generation/ruby/runtime.lux | 18 ++--- .../lux/phase/generation/ruby/structure.lux | 12 ++-- .../language/lux/phase/generation/scheme.lux | 10 +-- .../language/lux/phase/generation/scheme/case.lux | 16 ++--- .../lux/phase/generation/scheme/extension.lux | 2 +- .../phase/generation/scheme/extension/common.lux | 18 ++--- .../lux/phase/generation/scheme/function.lux | 20 +++--- .../language/lux/phase/generation/scheme/loop.lux | 16 ++--- .../lux/phase/generation/scheme/primitive.lux | 4 +- .../lux/phase/generation/scheme/reference.lux | 4 +- .../lux/phase/generation/scheme/runtime.lux | 22 +++--- .../lux/phase/generation/scheme/structure.lux | 10 +-- .../tool/compiler/language/lux/phase/synthesis.lux | 16 ++--- .../compiler/language/lux/phase/synthesis/case.lux | 16 ++--- .../language/lux/phase/synthesis/function.lux | 18 ++--- .../compiler/language/lux/phase/synthesis/loop.lux | 10 +-- .../language/lux/phase/synthesis/variable.lux | 14 ++-- .../lux/tool/compiler/language/lux/program.lux | 16 ++--- .../lux/tool/compiler/language/lux/syntax.lux | 8 +-- .../lux/tool/compiler/language/lux/synthesis.lux | 26 +++---- .../lux/tool/compiler/language/lux/version.lux | 2 +- stdlib/source/library/lux/tool/compiler/meta.lux | 2 +- .../library/lux/tool/compiler/meta/archive.lux | 32 ++++----- .../lux/tool/compiler/meta/archive/artifact.lux | 16 ++--- .../lux/tool/compiler/meta/archive/descriptor.lux | 12 ++-- .../lux/tool/compiler/meta/archive/document.lux | 22 +++--- .../library/lux/tool/compiler/meta/archive/key.lux | 2 +- .../lux/tool/compiler/meta/archive/signature.lux | 10 +-- .../lux/tool/compiler/meta/cache/dependency.lux | 22 +++--- .../source/library/lux/tool/compiler/meta/io.lux | 4 +- .../library/lux/tool/compiler/meta/io/archive.lux | 42 +++++------ .../library/lux/tool/compiler/meta/io/context.lux | 26 +++---- .../library/lux/tool/compiler/meta/packager.lux | 10 +-- .../lux/tool/compiler/meta/packager/jvm.lux | 26 +++---- .../lux/tool/compiler/meta/packager/scheme.lux | 28 ++++---- .../lux/tool/compiler/meta/packager/script.lux | 18 ++--- stdlib/source/library/lux/tool/compiler/phase.lux | 12 ++-- .../source/library/lux/tool/compiler/reference.lux | 12 ++-- .../lux/tool/compiler/reference/variable.lux | 8 +-- stdlib/source/library/lux/tool/interpreter.lux | 20 +++--- stdlib/source/library/lux/tool/mediator.lux | 12 ++-- stdlib/source/library/lux/type.lux | 12 ++-- stdlib/source/library/lux/type/abstract.lux | 8 +-- stdlib/source/library/lux/type/check.lux | 12 ++-- stdlib/source/library/lux/type/dynamic.lux | 8 +-- stdlib/source/library/lux/type/implicit.lux | 12 ++-- stdlib/source/library/lux/type/poly.lux | 10 +-- stdlib/source/library/lux/type/quotient.lux | 8 +-- stdlib/source/library/lux/type/refinement.lux | 6 +- stdlib/source/library/lux/type/resource.lux | 14 ++-- stdlib/source/library/lux/type/unit.lux | 16 ++--- stdlib/source/library/lux/world/console.lux | 16 ++--- stdlib/source/library/lux/world/db/jdbc.lux | 26 +++---- stdlib/source/library/lux/world/db/jdbc/input.lux | 16 ++--- stdlib/source/library/lux/world/db/jdbc/output.lux | 18 ++--- stdlib/source/library/lux/world/db/sql.lux | 6 +- stdlib/source/library/lux/world/file.lux | 24 +++---- stdlib/source/library/lux/world/file/watch.lux | 24 +++---- stdlib/source/library/lux/world/net.lux | 2 +- stdlib/source/library/lux/world/net/http.lux | 12 ++-- .../source/library/lux/world/net/http/client.lux | 16 ++--- .../source/library/lux/world/net/http/cookie.lux | 14 ++-- .../source/library/lux/world/net/http/header.lux | 12 ++-- stdlib/source/library/lux/world/net/http/mime.lux | 4 +- stdlib/source/library/lux/world/net/http/query.lux | 10 +-- .../source/library/lux/world/net/http/request.lux | 14 ++-- .../source/library/lux/world/net/http/response.lux | 14 ++-- stdlib/source/library/lux/world/net/http/route.lux | 6 +- .../source/library/lux/world/net/http/status.lux | 2 +- .../source/library/lux/world/net/http/version.lux | 2 +- .../library/lux/world/output/video/resolution.lux | 4 +- stdlib/source/library/lux/world/program.lux | 24 +++---- .../library/lux/world/service/authentication.lux | 4 +- stdlib/source/library/lux/world/service/crud.lux | 6 +- .../source/library/lux/world/service/inventory.lux | 4 +- .../source/library/lux/world/service/journal.lux | 10 +-- stdlib/source/library/lux/world/service/mail.lux | 6 +- stdlib/source/library/lux/world/shell.lux | 26 +++---- 433 files changed, 2698 insertions(+), 2698 deletions(-) (limited to 'stdlib/source/library') diff --git a/stdlib/source/library/lux.lux b/stdlib/source/library/lux.lux index 8f8032699..7c97c8a7f 100644 --- a/stdlib/source/library/lux.lux +++ b/stdlib/source/library/lux.lux @@ -3254,14 +3254,14 @@ (def: (referrals_parser tokens) (-> (List Code) (Meta [Referrals (List Code)])) (case tokens - (^or (^ (list& [_ {#Variant (list [_ {#Text "+"}] [_ {#Tuple defs}])}] tokens')) - (^ (list& [_ {#Variant (list [_ {#Text "only"}] [_ {#Tuple defs}])}] tokens'))) + (^or (^ (list& [_ {#Variant (list& [_ {#Text "+"}] defs)}] tokens')) + (^ (list& [_ {#Variant (list& [_ {#Text "only"}] defs)}] tokens'))) (do meta_monad [defs' (..referral_references defs)] (in [{#Only defs'} tokens'])) - (^or (^ (list& [_ {#Variant (list [_ {#Text "-"}] [_ {#Tuple defs}])}] tokens')) - (^ (list& [_ {#Variant (list [_ {#Text "exclude"}] [_ {#Tuple defs}])}] tokens'))) + (^or (^ (list& [_ {#Variant (list& [_ {#Text "-"}] defs)}] tokens')) + (^ (list& [_ {#Variant (list& [_ {#Text "exclude"}] defs)}] tokens'))) (do meta_monad [defs' (..referral_references defs)] (in [{#Exclude defs'} tokens'])) @@ -4014,10 +4014,10 @@ (list (' "*")) {#Only defs} - (list (variant$ (list (' "+") (tuple$ (list#each local_identifier$ defs))))) + (list (variant$ (list& (' "+") (list#each local_identifier$ defs)))) {#Exclude defs} - (list (variant$ (list (' "-") (tuple$ (list#each local_identifier$ defs))))) + (list (variant$ (list& (' "-") (list#each local_identifier$ defs)))) {#Ignore} (list) diff --git a/stdlib/source/library/lux/abstract/algebra.lux b/stdlib/source/library/lux/abstract/algebra.lux index 63ce1f2f8..67f0ba70b 100644 --- a/stdlib/source/library/lux/abstract/algebra.lux +++ b/stdlib/source/library/lux/abstract/algebra.lux @@ -2,7 +2,7 @@ [library [lux "*" [control - [functor {"+" [Fix]}]]]]) + [functor {"+" Fix}]]]]) (type: .public (Algebra f a) (-> (f a) a)) diff --git a/stdlib/source/library/lux/abstract/apply.lux b/stdlib/source/library/lux/abstract/apply.lux index 80234f653..783d76236 100644 --- a/stdlib/source/library/lux/abstract/apply.lux +++ b/stdlib/source/library/lux/abstract/apply.lux @@ -3,8 +3,8 @@ [lux "*" ["@" target]]] [// - [monad {"+" [Monad]}] - ["[0]" functor {"+" [Functor]}]]) + [monad {"+" Monad}] + ["[0]" functor {"+" Functor}]]) (type: .public (Apply f) (Interface diff --git a/stdlib/source/library/lux/abstract/codec.lux b/stdlib/source/library/lux/abstract/codec.lux index e3f987bd2..57d280fbb 100644 --- a/stdlib/source/library/lux/abstract/codec.lux +++ b/stdlib/source/library/lux/abstract/codec.lux @@ -2,9 +2,9 @@ [library [lux "*" [control - ["[0]" try {"+" [Try]}]]]] + ["[0]" try {"+" Try}]]]] [// - [monad {"+" [do]}] + [monad {"+" do}] ["[0]" functor]]) (type: .public (Codec m a) diff --git a/stdlib/source/library/lux/abstract/comonad.lux b/stdlib/source/library/lux/abstract/comonad.lux index 5f5279c79..067e918bf 100644 --- a/stdlib/source/library/lux/abstract/comonad.lux +++ b/stdlib/source/library/lux/abstract/comonad.lux @@ -10,7 +10,7 @@ [meta ["[0]" location]]]] [// - [functor {"+" [Functor]}]]) + [functor {"+" Functor}]]) (type: .public (CoMonad w) (Interface diff --git a/stdlib/source/library/lux/abstract/comonad/cofree.lux b/stdlib/source/library/lux/abstract/comonad/cofree.lux index 1f56ba91e..6d90581b2 100644 --- a/stdlib/source/library/lux/abstract/comonad/cofree.lux +++ b/stdlib/source/library/lux/abstract/comonad/cofree.lux @@ -1,9 +1,9 @@ (.module: [library [lux "*"]] - [// {"+" [CoMonad]} + [// {"+" CoMonad} [// - [functor {"+" [Functor]}]]]) + [functor {"+" Functor}]]]) (type: .public (CoFree F a) [a (F (CoFree F a))]) diff --git a/stdlib/source/library/lux/abstract/enum.lux b/stdlib/source/library/lux/abstract/enum.lux index 1b86ebc1d..61069d2ef 100644 --- a/stdlib/source/library/lux/abstract/enum.lux +++ b/stdlib/source/library/lux/abstract/enum.lux @@ -2,7 +2,7 @@ [library [lux "*"]] [// - ["[0]" order {"+" [Order]}]]) + ["[0]" order {"+" Order}]]) (type: .public (Enum e) (Interface diff --git a/stdlib/source/library/lux/abstract/functor.lux b/stdlib/source/library/lux/abstract/functor.lux index 2789755ba..3a8e8c15e 100644 --- a/stdlib/source/library/lux/abstract/functor.lux +++ b/stdlib/source/library/lux/abstract/functor.lux @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [Or And]}]]) + [lux {"-" Or And}]]) (type: .public (Functor f) (Interface diff --git a/stdlib/source/library/lux/abstract/hash.lux b/stdlib/source/library/lux/abstract/hash.lux index 1c05d022e..de0599a23 100644 --- a/stdlib/source/library/lux/abstract/hash.lux +++ b/stdlib/source/library/lux/abstract/hash.lux @@ -2,7 +2,7 @@ [library [lux "*"]] [// - ["[0]" equivalence {"+" [Equivalence]}] + ["[0]" equivalence {"+" Equivalence}] [functor ["[0]" contravariant]]]) diff --git a/stdlib/source/library/lux/abstract/interval.lux b/stdlib/source/library/lux/abstract/interval.lux index 1e9ea40de..1a37436bb 100644 --- a/stdlib/source/library/lux/abstract/interval.lux +++ b/stdlib/source/library/lux/abstract/interval.lux @@ -3,9 +3,9 @@ [library [lux "*"]] [// - [equivalence {"+" [Equivalence]}] + [equivalence {"+" Equivalence}] ["[0]" order] - [enum {"+" [Enum]}]]) + [enum {"+" Enum}]]) (type: .public (Interval a) (Interface diff --git a/stdlib/source/library/lux/abstract/mix.lux b/stdlib/source/library/lux/abstract/mix.lux index 260d8fff1..750bbb8a0 100644 --- a/stdlib/source/library/lux/abstract/mix.lux +++ b/stdlib/source/library/lux/abstract/mix.lux @@ -2,7 +2,7 @@ [library [lux "*"]] [// - [monoid {"+" [Monoid]}]]) + [monoid {"+" Monoid}]]) (type: .public (Mix F) (Interface diff --git a/stdlib/source/library/lux/abstract/monad.lux b/stdlib/source/library/lux/abstract/monad.lux index 1a95fb139..62162ef72 100644 --- a/stdlib/source/library/lux/abstract/monad.lux +++ b/stdlib/source/library/lux/abstract/monad.lux @@ -4,7 +4,7 @@ [meta ["[0]" location]]]] [// - [functor {"+" [Functor]}]]) + [functor {"+" Functor}]]) (def: (list#mix f init xs) (All (_ a b) diff --git a/stdlib/source/library/lux/abstract/monad/free.lux b/stdlib/source/library/lux/abstract/monad/free.lux index c3f544604..90c8a0405 100644 --- a/stdlib/source/library/lux/abstract/monad/free.lux +++ b/stdlib/source/library/lux/abstract/monad/free.lux @@ -2,9 +2,9 @@ [library [lux "*"]] [/// - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad]}]]) + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad}]]) (type: .public (Free F a) (Variant diff --git a/stdlib/source/library/lux/abstract/monad/indexed.lux b/stdlib/source/library/lux/abstract/monad/indexed.lux index a1daf17fc..1382f764d 100644 --- a/stdlib/source/library/lux/abstract/monad/indexed.lux +++ b/stdlib/source/library/lux/abstract/monad/indexed.lux @@ -3,12 +3,12 @@ [lux "*" [control ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data [collection ["[0]" list ("[1]#[0]" functor mix)]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]]]] ["[0]" //]) diff --git a/stdlib/source/library/lux/abstract/monoid.lux b/stdlib/source/library/lux/abstract/monoid.lux index f5ffdcd65..3de2d8b1c 100644 --- a/stdlib/source/library/lux/abstract/monoid.lux +++ b/stdlib/source/library/lux/abstract/monoid.lux @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [and]}]]) + [lux {"-" and}]]) (type: .public (Monoid a) (Interface diff --git a/stdlib/source/library/lux/abstract/order.lux b/stdlib/source/library/lux/abstract/order.lux index 400801fcd..6c6e3881b 100644 --- a/stdlib/source/library/lux/abstract/order.lux +++ b/stdlib/source/library/lux/abstract/order.lux @@ -4,7 +4,7 @@ [control ["[0]" function]]]] [// - ["[0]" equivalence {"+" [Equivalence]}] + ["[0]" equivalence {"+" Equivalence}] [functor ["[0]" contravariant]]]) diff --git a/stdlib/source/library/lux/abstract/predicate.lux b/stdlib/source/library/lux/abstract/predicate.lux index 0009a8467..ae78a23dd 100644 --- a/stdlib/source/library/lux/abstract/predicate.lux +++ b/stdlib/source/library/lux/abstract/predicate.lux @@ -1,10 +1,10 @@ (.module: [library - [lux {"-" [or and]} + [lux {"-" or and} [control ["[0]" function]]]] [// - [monoid {"+" [Monoid]}] + [monoid {"+" Monoid}] [functor ["[0]" contravariant]]]) diff --git a/stdlib/source/library/lux/control/concatenative.lux b/stdlib/source/library/lux/control/concatenative.lux index 289b5f789..f4170b94a 100644 --- a/stdlib/source/library/lux/control/concatenative.lux +++ b/stdlib/source/library/lux/control/concatenative.lux @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [Alias if loop]} + [lux {"-" Alias if loop} ["[0]" meta] [abstract ["[0]" monad]] @@ -8,13 +8,13 @@ ["[0]" maybe ("[1]#[0]" monad)]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" mix functor)]]] - ["[0]" macro {"+" [with_identifiers]} + ["[0]" macro {"+" with_identifiers} ["[0]" code] ["[0]" template] - [syntax {"+" [syntax:]} + [syntax {"+" syntax:} ["|[0]|" export]]] [math [number @@ -24,7 +24,7 @@ ["f" frac]]]]] [// ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]]) + ["<[0]>" code {"+" Parser}]]]) (type: Alias [Text Code]) diff --git a/stdlib/source/library/lux/control/concurrency/actor.lux b/stdlib/source/library/lux/control/concurrency/actor.lux index 06ada7642..49e785923 100644 --- a/stdlib/source/library/lux/control/concurrency/actor.lux +++ b/stdlib/source/library/lux/control/concurrency/actor.lux @@ -5,35 +5,35 @@ [abstract monad] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["[0]" function] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO io]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO io}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" bit] ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" monoid monad)]]] - ["[0]" macro {"+" [with_identifiers]} + ["[0]" macro {"+" with_identifiers} ["[0]" code] - [syntax {"+" [syntax:]} + [syntax {"+" syntax:} ["|[0]|" input] ["|[0]|" export]]] [math [number ["n" nat]]] - ["[0]" meta {"+" [monad]}] - [type {"+" [:sharing]} - ["[0]" abstract {"+" [abstract: :representation :abstraction]}]]]] + ["[0]" meta {"+" monad}] + [type {"+" :sharing} + ["[0]" abstract {"+" abstract: :representation :abstraction}]]]] [// - ["[0]" atom {"+" [Atom atom]}] - ["[0]" async {"+" [Async Resolver]} ("[1]#[0]" monad)] - ["[0]" frp {"+" [Channel]}]]) + ["[0]" atom {"+" Atom atom}] + ["[0]" async {"+" Async Resolver} ("[1]#[0]" monad)] + ["[0]" frp {"+" Channel}]]) (exception: .public poisoned) (exception: .public dead) diff --git a/stdlib/source/library/lux/control/concurrency/async.lux b/stdlib/source/library/lux/control/concurrency/async.lux index 1f3db5365..085a67d0e 100644 --- a/stdlib/source/library/lux/control/concurrency/async.lux +++ b/stdlib/source/library/lux/control/concurrency/async.lux @@ -1,21 +1,21 @@ (.module: [library - [lux {"-" [and or]} + [lux {"-" and or} [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - ["[0]" monad {"+" [Monad do]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + ["[0]" monad {"+" Monad do}]] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["[0]" function] - ["[0]" io {"+" [IO io]}]] + ["[0]" io {"+" IO io}]] [data ["[0]" product]] - [type {"+" [:sharing]} + [type {"+" :sharing} abstract]]] [// ["[0]" thread] - ["[0]" atom {"+" [Atom atom]}]]) + ["[0]" atom {"+" Atom atom}]]) (abstract: .public (Async a) (Atom [(Maybe a) (List (-> a (IO Any)))]) diff --git a/stdlib/source/library/lux/control/concurrency/atom.lux b/stdlib/source/library/lux/control/concurrency/atom.lux index 47e771a4e..3a4b2ad24 100644 --- a/stdlib/source/library/lux/control/concurrency/atom.lux +++ b/stdlib/source/library/lux/control/concurrency/atom.lux @@ -4,10 +4,10 @@ ["@" target] ["[0]" ffi] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" function] - ["[0]" io {"+" [IO]} ("[1]#[0]" functor)]] + ["[0]" io {"+" IO} ("[1]#[0]" functor)]] [data ["[0]" product] [collection diff --git a/stdlib/source/library/lux/control/concurrency/frp.lux b/stdlib/source/library/lux/control/concurrency/frp.lux index 3c731d30f..d91cf4dbf 100644 --- a/stdlib/source/library/lux/control/concurrency/frp.lux +++ b/stdlib/source/library/lux/control/concurrency/frp.lux @@ -1,21 +1,21 @@ (.module: [library - [lux {"-" [list]} + [lux {"-" list} [abstract - [equivalence {"+" [Equivalence]}] - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - ["[0]" monad {"+" [Monad do]}]] + [equivalence {"+" Equivalence}] + [functor {"+" Functor}] + [apply {"+" Apply}] + ["[0]" monad {"+" Monad do}]] [control ["[0]" maybe ("[1]#[0]" functor)] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO io]}]] - [type {"+" [:sharing]} + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO io}]] + [type {"+" :sharing} abstract]]] [// - ["[0]" atom {"+" [Atom]}] - ["[0]" async {"+" [Async]} ("[1]#[0]" functor)]]) + ["[0]" atom {"+" Atom}] + ["[0]" async {"+" Async} ("[1]#[0]" functor)]]) (type: .public (Channel a) (Async (Maybe [a (Channel a)]))) diff --git a/stdlib/source/library/lux/control/concurrency/semaphore.lux b/stdlib/source/library/lux/control/concurrency/semaphore.lux index c74588eaf..7e9b039b4 100644 --- a/stdlib/source/library/lux/control/concurrency/semaphore.lux +++ b/stdlib/source/library/lux/control/concurrency/semaphore.lux @@ -2,17 +2,17 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - [pipe {"+" [if>]}] - ["[0]" io {"+" [IO]}] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + [pipe {"+" if>}] + ["[0]" io {"+" IO}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" queue {"+" [Queue]}]]] + ["[0]" queue {"+" Queue}]]] [math [number ["n" nat] @@ -21,8 +21,8 @@ abstract ["[0]" refinement]]]] [// - ["[0]" atom {"+" [Atom]}] - ["[0]" async {"+" [Async Resolver]}]]) + ["[0]" atom {"+" Atom}] + ["[0]" async {"+" Async Resolver}]]) (type: State (Record diff --git a/stdlib/source/library/lux/control/concurrency/stm.lux b/stdlib/source/library/lux/control/concurrency/stm.lux index c2a8b1ecc..12e8b21e8 100644 --- a/stdlib/source/library/lux/control/concurrency/stm.lux +++ b/stdlib/source/library/lux/control/concurrency/stm.lux @@ -2,11 +2,11 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - ["[0]" monad {"+" [Monad do]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + ["[0]" monad {"+" Monad do}]] [control - ["[0]" io {"+" [IO io]}] + ["[0]" io {"+" IO io}] ["[0]" maybe] ["[0]" try]] [data @@ -16,9 +16,9 @@ [type abstract]]] [// - ["[0]" atom {"+" [Atom atom]}] - ["[0]" async {"+" [Async Resolver]}] - ["[0]" frp {"+" [Channel Sink]}]]) + ["[0]" atom {"+" Atom atom}] + ["[0]" async {"+" Async Resolver}] + ["[0]" frp {"+" Channel Sink}]]) (type: (Observer a) (-> a (IO Any))) diff --git a/stdlib/source/library/lux/control/concurrency/thread.lux b/stdlib/source/library/lux/control/concurrency/thread.lux index 9445c2c7a..e074c322a 100644 --- a/stdlib/source/library/lux/control/concurrency/thread.lux +++ b/stdlib/source/library/lux/control/concurrency/thread.lux @@ -4,11 +4,11 @@ ["@" target] ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" try] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO io]}]] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO io}]] [data ["[0]" text] [collection @@ -20,7 +20,7 @@ [time ["[0]" instant]]]] [// - ["[0]" atom {"+" [Atom]}]]) + ["[0]" atom {"+" Atom}]]) (with_expansions [ (as_is (ffi.import: java/lang/Object) diff --git a/stdlib/source/library/lux/control/continuation.lux b/stdlib/source/library/lux/control/continuation.lux index 013c849da..3be6645ff 100644 --- a/stdlib/source/library/lux/control/continuation.lux +++ b/stdlib/source/library/lux/control/continuation.lux @@ -2,15 +2,15 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}]] [control ["[0]" function] [parser ["<[0]>" code]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code]]]]) (type: .public (Cont i o) diff --git a/stdlib/source/library/lux/control/exception.lux b/stdlib/source/library/lux/control/exception.lux index bf7cabd0e..7e92d15da 100644 --- a/stdlib/source/library/lux/control/exception.lux +++ b/stdlib/source/library/lux/control/exception.lux @@ -4,11 +4,11 @@ ["[0]" macro] ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" maybe] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" monoid)] @@ -16,7 +16,7 @@ ["[0]" list ("[1]#[0]" functor mix)]]] [macro ["[0]" code] - [syntax {"+" [syntax:]} + [syntax {"+" syntax:} ["|[0]|" input] ["[0]" type "_" ["|[1]_[0]|" variable]]]] @@ -24,7 +24,7 @@ [number ["n" nat ("[1]#[0]" decimal)]]]]] [// - ["//" try {"+" [Try]}]]) + ["//" try {"+" Try}]]) (type: .public (Exception a) (Record diff --git a/stdlib/source/library/lux/control/function.lux b/stdlib/source/library/lux/control/function.lux index d8ff77379..3aff2c8c2 100644 --- a/stdlib/source/library/lux/control/function.lux +++ b/stdlib/source/library/lux/control/function.lux @@ -2,7 +2,7 @@ [library [lux "*" [abstract - [monoid {"+" [Monoid]}]]]]) + [monoid {"+" Monoid}]]]]) (def: .public identity (All (_ a) (-> a a)) diff --git a/stdlib/source/library/lux/control/function/contract.lux b/stdlib/source/library/lux/control/function/contract.lux index 8edd01c63..3817a4bef 100644 --- a/stdlib/source/library/lux/control/function/contract.lux +++ b/stdlib/source/library/lux/control/function/contract.lux @@ -2,14 +2,14 @@ [library [lux "*" [control - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] [parser ["<[0]>" code]]] [data [text - ["%" format {"+" [format]}]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + ["%" format {"+" format}]]] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code]] [math [number diff --git a/stdlib/source/library/lux/control/function/memo.lux b/stdlib/source/library/lux/control/function/memo.lux index f5d32635f..7ca0a19e0 100644 --- a/stdlib/source/library/lux/control/function/memo.lux +++ b/stdlib/source/library/lux/control/function/memo.lux @@ -4,16 +4,16 @@ [library [lux "*" [abstract - [hash {"+" [Hash]}] - [monad {"+" [do]}]] + [hash {"+" Hash}] + [monad {"+" do}]] [control - ["[0]" state {"+" [State]}]] + ["[0]" state {"+" State}]] [data ["[0]" product] [collection - ["[0]" dictionary {"+" [Dictionary]}]]]]] + ["[0]" dictionary {"+" Dictionary}]]]]] ["[0]" // "_" - ["[1]" mixin {"+" [Mixin Recursive]}]]) + ["[1]" mixin {"+" Mixin Recursive}]]) (def: .public memoization (All (_ i o) diff --git a/stdlib/source/library/lux/control/function/mixin.lux b/stdlib/source/library/lux/control/function/mixin.lux index 7c3c0779a..32deea135 100644 --- a/stdlib/source/library/lux/control/function/mixin.lux +++ b/stdlib/source/library/lux/control/function/mixin.lux @@ -5,9 +5,9 @@ [library [lux "*" [abstract - [monoid {"+" [Monoid]}] - [predicate {"+" [Predicate]}] - [monad {"+" [Monad do]}]]]]) + [monoid {"+" Monoid}] + [predicate {"+" Predicate}] + [monad {"+" Monad do}]]]]) (type: .public (Mixin i o) (-> (-> i o) (-> i o) (-> i o))) diff --git a/stdlib/source/library/lux/control/function/mutual.lux b/stdlib/source/library/lux/control/function/mutual.lux index da5abe3b1..5b2291bba 100644 --- a/stdlib/source/library/lux/control/function/mutual.lux +++ b/stdlib/source/library/lux/control/function/mutual.lux @@ -1,27 +1,27 @@ (.module: [library - [lux {"-" [Definition let def: macro]} + [lux {"-" Definition let def: macro} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)] [dictionary - ["[0]" plist {"+" [PList]}]]]] + ["[0]" plist {"+" PList}]]]] ["[0]" macro ["[0]" local] ["[0]" code] - [syntax {"+" [syntax:]} - ["[0]" declaration {"+" [Declaration]}]]]]] + [syntax {"+" syntax:} + ["[0]" declaration {"+" Declaration}]]]]] ["[0]" //]) (type: Mutual diff --git a/stdlib/source/library/lux/control/io.lux b/stdlib/source/library/lux/control/io.lux index 158a11eeb..23267c01d 100644 --- a/stdlib/source/library/lux/control/io.lux +++ b/stdlib/source/library/lux/control/io.lux @@ -2,16 +2,16 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}]] [control [parser ["<[0]>" code]]] [type abstract] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" template]]]]) (abstract: .public (IO a) diff --git a/stdlib/source/library/lux/control/lazy.lux b/stdlib/source/library/lux/control/lazy.lux index a818b164c..414f8bc37 100644 --- a/stdlib/source/library/lux/control/lazy.lux +++ b/stdlib/source/library/lux/control/lazy.lux @@ -2,18 +2,18 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}] - [equivalence {"+" [Equivalence]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}] + [equivalence {"+" Equivalence}]] [control ["[0]" io] [parser ["<[0]>" code]] [concurrency ["[0]" atom]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}]] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}]] [type abstract]]]) diff --git a/stdlib/source/library/lux/control/maybe.lux b/stdlib/source/library/lux/control/maybe.lux index ce169c875..ce7c40222 100644 --- a/stdlib/source/library/lux/control/maybe.lux +++ b/stdlib/source/library/lux/control/maybe.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [list]} + [lux {"-" list} [abstract - [monoid {"+" [Monoid]}] - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [apply {"+" [Apply]}] - ["[0]" functor {"+" [Functor]}] - ["[0]" monad {"+" [Monad do]}]] + [monoid {"+" Monoid}] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [apply {"+" Apply}] + ["[0]" functor {"+" Functor}] + ["[0]" monad {"+" Monad do}]] [meta ["[0]" location]]]]) diff --git a/stdlib/source/library/lux/control/parser.lux b/stdlib/source/library/lux/control/parser.lux index 775d0b4fd..9ab07b9df 100644 --- a/stdlib/source/library/lux/control/parser.lux +++ b/stdlib/source/library/lux/control/parser.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [or and not]} + [lux {"-" or and not} [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}] - [codec {"+" [Codec]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}] + [codec {"+" Codec}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" product] [collection diff --git a/stdlib/source/library/lux/control/parser/analysis.lux b/stdlib/source/library/lux/control/parser/analysis.lux index 8e16ad74f..61e512c56 100644 --- a/stdlib/source/library/lux/control/parser/analysis.lux +++ b/stdlib/source/library/lux/control/parser/analysis.lux @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [Tuple Variant nat int rev local]} + [lux {"-" Tuple Variant nat int rev local} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" bit] ["[0]" name] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [macro @@ -24,12 +24,12 @@ ["[0]" frac]]] [tool [compiler - [arity {"+" [Arity]}] - [reference {"+" []} - [variable {"+" []}]] + [arity {"+" Arity}] + [reference {"+" } + [variable {"+" }]] [language [lux - ["/" analysis {"+" [Variant Tuple Environment Analysis]}]]]]]]] + ["/" analysis {"+" Variant Tuple Environment Analysis}]]]]]]] ["[0]" //]) (def: (remaining_inputs asts) diff --git a/stdlib/source/library/lux/control/parser/binary.lux b/stdlib/source/library/lux/control/parser/binary.lux index 0b60d49f7..21f86eb84 100644 --- a/stdlib/source/library/lux/control/parser/binary.lux +++ b/stdlib/source/library/lux/control/parser/binary.lux @@ -1,23 +1,23 @@ (.module: [library - [lux {"-" [and or nat int rev list type]} - [type {"+" [:sharing]}] + [lux {"-" and or nat int rev list type} + [type {"+" :sharing}] [abstract - [hash {"+" [Hash]}] - [monad {"+" [do]}]] + [hash {"+" Hash}] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data - ["/" binary {"+" [Binary]}] + ["/" binary {"+" Binary}] [text - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list] - ["[0]" row {"+" [Row]}] - ["[0]" set {"+" [Set]}]]] + ["[0]" row {"+" Row}] + ["[0]" set {"+" Set}]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/library/lux/control/parser/cli.lux b/stdlib/source/library/lux/control/parser/cli.lux index 4ab6193e4..dbb5a2d32 100644 --- a/stdlib/source/library/lux/control/parser/cli.lux +++ b/stdlib/source/library/lux/control/parser/cli.lux @@ -2,12 +2,12 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]]]]] + ["%" format {"+" format}]]]]] ["[0]" //]) (type: .public (Parser a) diff --git a/stdlib/source/library/lux/control/parser/code.lux b/stdlib/source/library/lux/control/parser/code.lux index c29fb8419..18953181b 100644 --- a/stdlib/source/library/lux/control/parser/code.lux +++ b/stdlib/source/library/lux/control/parser/code.lux @@ -1,10 +1,10 @@ (.module: [library - [lux {"-" [nat int rev local not]} + [lux {"-" nat int rev local not} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" bit] ["[0]" text ("[1]#[0]" monoid)] diff --git a/stdlib/source/library/lux/control/parser/environment.lux b/stdlib/source/library/lux/control/parser/environment.lux index 53d6c69c2..76bcd29dc 100644 --- a/stdlib/source/library/lux/control/parser/environment.lux +++ b/stdlib/source/library/lux/control/parser/environment.lux @@ -2,14 +2,14 @@ [library [lux "*" [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" dictionary {"+" [Dictionary]}]]]]] + ["[0]" dictionary {"+" Dictionary}]]]]] ["[0]" //]) (type: .public Property diff --git a/stdlib/source/library/lux/control/parser/json.lux b/stdlib/source/library/lux/control/parser/json.lux index 1811700e7..80b52e147 100644 --- a/stdlib/source/library/lux/control/parser/json.lux +++ b/stdlib/source/library/lux/control/parser/json.lux @@ -2,19 +2,19 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" bit] ["[0]" text ("[1]#[0]" equivalence monoid)] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row] - ["[0]" dictionary {"+" [Dictionary]}]] + ["[0]" dictionary {"+" Dictionary}]] [format - ["/" json {"+" [JSON]}]]] + ["/" json {"+" JSON}]]] [macro ["[0]" code]] [math diff --git a/stdlib/source/library/lux/control/parser/synthesis.lux b/stdlib/source/library/lux/control/parser/synthesis.lux index 828042bd4..69e89986e 100644 --- a/stdlib/source/library/lux/control/parser/synthesis.lux +++ b/stdlib/source/library/lux/control/parser/synthesis.lux @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [Tuple Variant function loop i64 local]} + [lux {"-" Tuple Variant function loop i64 local} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" bit] ["[0]" name] ["[0]" text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [math [number ["n" nat] @@ -18,13 +18,13 @@ ["[0]" frac]]] [tool [compiler - [reference {"+" []} - [variable {"+" [Register]}]] - [arity {"+" [Arity]}] + [reference {"+" } + [variable {"+" Register}]] + [arity {"+" Arity}] [language [lux - [analysis {"+" [Variant Tuple Environment]}] - ["/" synthesis {"+" [Synthesis Abstraction]}]]]]]]] + [analysis {"+" Variant Tuple Environment}] + ["/" synthesis {"+" Synthesis Abstraction}]]]]]]] ["[0]" //]) (exception: .public (cannot_parse [input (List Synthesis)]) diff --git a/stdlib/source/library/lux/control/parser/text.lux b/stdlib/source/library/lux/control/parser/text.lux index b74ac2f44..dce70465b 100644 --- a/stdlib/source/library/lux/control/parser/text.lux +++ b/stdlib/source/library/lux/control/parser/text.lux @@ -1,14 +1,14 @@ (.module: [library - [lux {"-" [or and not local]} + [lux {"-" or and not local} [abstract - [monad {"+" [Monad do]}]] + [monad {"+" Monad do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data - ["/" text {"+" [Char]} ("[1]#[0]" monoid)] + ["/" text {"+" Char} ("[1]#[0]" monoid)] ["[0]" product] [collection ["[0]" list ("[1]#[0]" mix)]]] diff --git a/stdlib/source/library/lux/control/parser/tree.lux b/stdlib/source/library/lux/control/parser/tree.lux index 4d331c84f..39d60a625 100644 --- a/stdlib/source/library/lux/control/parser/tree.lux +++ b/stdlib/source/library/lux/control/parser/tree.lux @@ -2,14 +2,14 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data [collection - [tree {"+" [Tree]} - ["[0]" zipper {"+" [Zipper]}]]]]]] + [tree {"+" Tree} + ["[0]" zipper {"+" Zipper}]]]]]] ["[0]" //]) (type: .public (Parser t a) diff --git a/stdlib/source/library/lux/control/parser/type.lux b/stdlib/source/library/lux/control/parser/type.lux index 936f8f522..969acde94 100644 --- a/stdlib/source/library/lux/control/parser/type.lux +++ b/stdlib/source/library/lux/control/parser/type.lux @@ -1,18 +1,18 @@ (.module: [library - [lux {"-" [function local]} + [lux {"-" function local} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["[0]" function]] [data ["[0]" text ("[1]#[0]" monoid) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [macro ["[0]" code]] [math diff --git a/stdlib/source/library/lux/control/parser/xml.lux b/stdlib/source/library/lux/control/parser/xml.lux index a4efa259b..fa4245354 100644 --- a/stdlib/source/library/lux/control/parser/xml.lux +++ b/stdlib/source/library/lux/control/parser/xml.lux @@ -2,19 +2,19 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]} ("[1]#[0]" functor)] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try} ("[1]#[0]" functor)] + ["[0]" exception {"+" exception:}]] [data ["[0]" name ("[1]#[0]" equivalence codec)] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list] ["[0]" dictionary]] [format - ["/" xml {"+" [Attribute Attrs Tag XML]}]]]]] + ["/" xml {"+" Attribute Attrs Tag XML}]]]]] ["[0]" //]) (type: .public (Parser a) diff --git a/stdlib/source/library/lux/control/pipe.lux b/stdlib/source/library/lux/control/pipe.lux index f6158f039..2929ddc52 100644 --- a/stdlib/source/library/lux/control/pipe.lux +++ b/stdlib/source/library/lux/control/pipe.lux @@ -2,17 +2,17 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" try] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" identity] [collection ["[0]" list ("[1]#[0]" monad)]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code]] [math [number diff --git a/stdlib/source/library/lux/control/reader.lux b/stdlib/source/library/lux/control/reader.lux index a946469d3..70226c59b 100644 --- a/stdlib/source/library/lux/control/reader.lux +++ b/stdlib/source/library/lux/control/reader.lux @@ -1,10 +1,10 @@ (.module: [library - [lux {"-" [local]} + [lux {"-" local} [abstract - [apply {"+" [Apply]}] - ["[0]" functor {"+" [Functor]}] - ["[0]" monad {"+" [Monad do]}]]]]) + [apply {"+" Apply}] + ["[0]" functor {"+" Functor}] + ["[0]" monad {"+" Monad do}]]]]) (type: .public (Reader r a) (-> r a)) diff --git a/stdlib/source/library/lux/control/region.lux b/stdlib/source/library/lux/control/region.lux index b17393bda..a7a9aaeea 100644 --- a/stdlib/source/library/lux/control/region.lux +++ b/stdlib/source/library/lux/control/region.lux @@ -2,18 +2,18 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - ["[0]" monad {"+" [Monad do]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + ["[0]" monad {"+" Monad do}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" mix)]]]]] [// - ["[0]" exception {"+" [Exception exception:]}]]) + ["[0]" exception {"+" Exception exception:}]]) (type: (Cleaner r !) (-> r (! (Try Any)))) diff --git a/stdlib/source/library/lux/control/remember.lux b/stdlib/source/library/lux/control/remember.lux index f8a0dbc2d..7084caabf 100644 --- a/stdlib/source/library/lux/control/remember.lux +++ b/stdlib/source/library/lux/control/remember.lux @@ -2,24 +2,24 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" io] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser ("[1]#[0]" functor) - ["" code {"+" [Parser]}]]] + ["" code {"+" Parser}]]] [data ["[0]" text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [time ["[0]" instant] - ["[0]" date {"+" [Date]} ("[1]#[0]" order)]] + ["[0]" date {"+" Date} ("[1]#[0]" order)]] ["[0]" meta] [macro ["[0]" code] ["[0]" template] - [syntax {"+" [syntax:]}]]]]) + [syntax {"+" syntax:}]]]]) (exception: .public (must_remember [deadline Date today Date diff --git a/stdlib/source/library/lux/control/security/capability.lux b/stdlib/source/library/lux/control/security/capability.lux index 18696f851..3fcf0fe3c 100644 --- a/stdlib/source/library/lux/control/security/capability.lux +++ b/stdlib/source/library/lux/control/security/capability.lux @@ -2,16 +2,16 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" io {"+" [IO]}] + ["[0]" io {"+" IO}] ["<>" parser ["" code]] [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [type @@ -19,7 +19,7 @@ ["[0]" meta] ["[0]" macro ["[0]" code] - [syntax {"+" [syntax:]} + [syntax {"+" syntax:} ["|[0]|" export] ["|[0]|" declaration]]]]]) diff --git a/stdlib/source/library/lux/control/security/policy.lux b/stdlib/source/library/lux/control/security/policy.lux index 7b15e4210..ccf32788d 100644 --- a/stdlib/source/library/lux/control/security/policy.lux +++ b/stdlib/source/library/lux/control/security/policy.lux @@ -2,9 +2,9 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad}]] [type abstract]]]) diff --git a/stdlib/source/library/lux/control/state.lux b/stdlib/source/library/lux/control/state.lux index e9ad5dc92..b6e07c612 100644 --- a/stdlib/source/library/lux/control/state.lux +++ b/stdlib/source/library/lux/control/state.lux @@ -1,10 +1,10 @@ (.module: [library - [lux {"-" [local]} + [lux {"-" local} [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}]]]]) + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}]]]]) (type: .public (State s a) (-> s [s a])) diff --git a/stdlib/source/library/lux/control/thread.lux b/stdlib/source/library/lux/control/thread.lux index f0e1223a4..11c54c10e 100644 --- a/stdlib/source/library/lux/control/thread.lux +++ b/stdlib/source/library/lux/control/thread.lux @@ -3,14 +3,14 @@ [lux "*" ["@" target] [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}]] [control - ["[0]" io {"+" [IO]}]] + ["[0]" io {"+" IO}]] [data [collection - ["[0]" array {"+" [Array]}]]] + ["[0]" array {"+" Array}]]] [type abstract]]]) diff --git a/stdlib/source/library/lux/control/try.lux b/stdlib/source/library/lux/control/try.lux index 6ef29b2e9..c3822c12e 100644 --- a/stdlib/source/library/lux/control/try.lux +++ b/stdlib/source/library/lux/control/try.lux @@ -2,10 +2,10 @@ [library [lux "*" [abstract - [apply {"+" [Apply]}] - [equivalence {"+" [Equivalence]}] - ["[0]" functor {"+" [Functor]}] - ["[0]" monad {"+" [Monad do]}]] + [apply {"+" Apply}] + [equivalence {"+" Equivalence}] + ["[0]" functor {"+" Functor}] + ["[0]" monad {"+" Monad do}]] [meta ["[0]" location]]]]) diff --git a/stdlib/source/library/lux/control/writer.lux b/stdlib/source/library/lux/control/writer.lux index 92b3b9ab9..e45c01596 100644 --- a/stdlib/source/library/lux/control/writer.lux +++ b/stdlib/source/library/lux/control/writer.lux @@ -3,10 +3,10 @@ [lux "*" ["@" target] [abstract - [monoid {"+" [Monoid]}] - [apply {"+" [Apply]}] - ["[0]" functor {"+" [Functor]}] - ["[0]" monad {"+" [Monad do]}]]]]) + [monoid {"+" Monoid}] + [apply {"+" Apply}] + ["[0]" functor {"+" Functor}] + ["[0]" monad {"+" Monad do}]]]]) (type: .public (Writer log value) (Record diff --git a/stdlib/source/library/lux/data/binary.lux b/stdlib/source/library/lux/data/binary.lux index 312f74be1..c51f743e5 100644 --- a/stdlib/source/library/lux/data/binary.lux +++ b/stdlib/source/library/lux/data/binary.lux @@ -1,23 +1,23 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} ["@" target] ["[0]" ffi] [abstract - [monad {"+" [do]}] - [equivalence {"+" [Equivalence]}] - [monoid {"+" [Monoid]}]] + [monad {"+" do}] + [equivalence {"+" Equivalence}] + [monoid {"+" Monoid}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" array]]] [math - [number {"+" [hex]} + [number {"+" hex} ["n" nat] ["f" frac] ["[0]" i64]]]]]) diff --git a/stdlib/source/library/lux/data/bit.lux b/stdlib/source/library/lux/data/bit.lux index 831497deb..e226e5608 100644 --- a/stdlib/source/library/lux/data/bit.lux +++ b/stdlib/source/library/lux/data/bit.lux @@ -2,10 +2,10 @@ [library [lux "*" [abstract - [monoid {"+" [Monoid]}] - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [codec {"+" [Codec]}]] + [monoid {"+" Monoid}] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [codec {"+" Codec}]] [control ["[0]" function]]]]) diff --git a/stdlib/source/library/lux/data/collection/array.lux b/stdlib/source/library/lux/data/collection/array.lux index 8830266ce..0e40d27d6 100644 --- a/stdlib/source/library/lux/data/collection/array.lux +++ b/stdlib/source/library/lux/data/collection/array.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [list]} + [lux {"-" list} ["@" target] [abstract - [monoid {"+" [Monoid]}] - [functor {"+" [Functor]}] - [equivalence {"+" [Equivalence]}] - [mix {"+" [Mix]}] - [predicate {"+" [Predicate]}]] + [monoid {"+" Monoid}] + [functor {"+" Functor}] + [equivalence {"+" Equivalence}] + [mix {"+" Mix}] + [predicate {"+" Predicate}]] [control ["[0]" maybe]] [data diff --git a/stdlib/source/library/lux/data/collection/bits.lux b/stdlib/source/library/lux/data/collection/bits.lux index 42070dc8d..3db996fdf 100644 --- a/stdlib/source/library/lux/data/collection/bits.lux +++ b/stdlib/source/library/lux/data/collection/bits.lux @@ -1,14 +1,14 @@ (.module: [library - [lux {"-" [not and or]} + [lux {"-" not and or} [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control pipe ["[0]" maybe]] [data [collection - ["[0]" array {"+" [Array]} ("[1]#[0]" mix)]]] + ["[0]" array {"+" Array} ("[1]#[0]" mix)]]] [math [number ["n" nat] diff --git a/stdlib/source/library/lux/data/collection/dictionary.lux b/stdlib/source/library/lux/data/collection/dictionary.lux index 6b0aff962..24c03c804 100644 --- a/stdlib/source/library/lux/data/collection/dictionary.lux +++ b/stdlib/source/library/lux/data/collection/dictionary.lux @@ -2,18 +2,18 @@ [library [lux "*" [abstract - [hash {"+" [Hash]}] - [equivalence {"+" [Equivalence]}] - [functor {"+" [Functor]}]] + [hash {"+" Hash}] + [equivalence {"+" Equivalence}] + [functor {"+" Functor}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" product] [collection ["[0]" list ("[1]#[0]" mix functor monoid)] - ["[0]" array {"+" [Array]} ("[1]#[0]" functor mix)]]] + ["[0]" array {"+" Array} ("[1]#[0]" functor mix)]]] [math ["[0]" number ["n" nat] diff --git a/stdlib/source/library/lux/data/collection/dictionary/ordered.lux b/stdlib/source/library/lux/data/collection/dictionary/ordered.lux index 1b02f03a3..9b4b308b7 100644 --- a/stdlib/source/library/lux/data/collection/dictionary/ordered.lux +++ b/stdlib/source/library/lux/data/collection/dictionary/ordered.lux @@ -3,8 +3,8 @@ [lux "*" [abstract equivalence - [monad {"+" [Monad do]}] - ["[0]" order {"+" [Order]}]] + [monad {"+" Monad do}] + ["[0]" order {"+" Order}]] [control ["[0]" maybe]] [data diff --git a/stdlib/source/library/lux/data/collection/dictionary/plist.lux b/stdlib/source/library/lux/data/collection/dictionary/plist.lux index a429d56f9..02d582e96 100644 --- a/stdlib/source/library/lux/data/collection/dictionary/plist.lux +++ b/stdlib/source/library/lux/data/collection/dictionary/plist.lux @@ -2,7 +2,7 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data ["[0]" product] ["[0]" text ("[1]#[0]" equivalence)] diff --git a/stdlib/source/library/lux/data/collection/list.lux b/stdlib/source/library/lux/data/collection/list.lux index e6a7ced34..a0bf40821 100644 --- a/stdlib/source/library/lux/data/collection/list.lux +++ b/stdlib/source/library/lux/data/collection/list.lux @@ -3,14 +3,14 @@ [lux "*" ["@" target] [abstract - [monoid {"+" [Monoid]}] - [apply {"+" [Apply]}] - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [mix {"+" [Mix]}] - [predicate {"+" [Predicate]}] - ["[0]" functor {"+" [Functor]}] - ["[0]" monad {"+" [Monad do]}] + [monoid {"+" Monoid}] + [apply {"+" Apply}] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [mix {"+" Mix}] + [predicate {"+" Predicate}] + ["[0]" functor {"+" Functor}] + ["[0]" monad {"+" Monad do}] ["[0]" enum]] [data ["[0]" bit] diff --git a/stdlib/source/library/lux/data/collection/queue.lux b/stdlib/source/library/lux/data/collection/queue.lux index a60f9613e..5260d808d 100644 --- a/stdlib/source/library/lux/data/collection/queue.lux +++ b/stdlib/source/library/lux/data/collection/queue.lux @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [list]} + [lux {"-" list} [abstract - [equivalence {"+" [Equivalence]}] - [functor {"+" [Functor]}]] + [equivalence {"+" Equivalence}] + [functor {"+" Functor}]] [data [collection ["[0]" list ("[1]#[0]" monoid functor)]]] diff --git a/stdlib/source/library/lux/data/collection/queue/priority.lux b/stdlib/source/library/lux/data/collection/queue/priority.lux index cc2ecdb7c..52cd3929a 100644 --- a/stdlib/source/library/lux/data/collection/queue/priority.lux +++ b/stdlib/source/library/lux/data/collection/queue/priority.lux @@ -2,19 +2,19 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [monad {"+" do}]] [control ["[0]" maybe]] [data [collection ["[0]" tree "_" - ["[1]" finger {"+" [Tree]}]]]] + ["[1]" finger {"+" Tree}]]]] [math [number ["n" nat ("[1]#[0]" interval)]]] - [type {"+" [:by_example]} - [abstract {"+" [abstract: :abstraction :representation]}]]]]) + [type {"+" :by_example} + [abstract {"+" abstract: :abstraction :representation}]]]]) (type: .public Priority Nat) diff --git a/stdlib/source/library/lux/data/collection/row.lux b/stdlib/source/library/lux/data/collection/row.lux index d6b4bba5e..2fb288b99 100644 --- a/stdlib/source/library/lux/data/collection/row.lux +++ b/stdlib/source/library/lux/data/collection/row.lux @@ -3,29 +3,29 @@ ... https://hypirion.com/musings/understanding-persistent-vector-pt-3 (.module: [library - [lux {"-" [list]} + [lux {"-" list} ["@" target] [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}] - [equivalence {"+" [Equivalence]}] - [monoid {"+" [Monoid]}] - [mix {"+" [Mix]}] - [predicate {"+" [Predicate]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}] + [equivalence {"+" Equivalence}] + [monoid {"+" Monoid}] + [mix {"+" Mix}] + [predicate {"+" Predicate}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] [collection ["[0]" list ("[1]#[0]" mix functor monoid)] - ["[0]" array {"+" [Array]} ("[1]#[0]" functor mix)]]] + ["[0]" array {"+" Array} ("[1]#[0]" functor mix)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math [number diff --git a/stdlib/source/library/lux/data/collection/sequence.lux b/stdlib/source/library/lux/data/collection/sequence.lux index c482ad8dc..d9724358a 100644 --- a/stdlib/source/library/lux/data/collection/sequence.lux +++ b/stdlib/source/library/lux/data/collection/sequence.lux @@ -2,14 +2,14 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [comonad {"+" [CoMonad]}]] + [functor {"+" Functor}] + [comonad {"+" CoMonad}]] [control - ["//" continuation {"+" [Cont]}] + ["//" continuation {"+" Cont}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + ["<[0]>" code {"+" Parser}]]] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code]] [data ["[0]" bit] diff --git a/stdlib/source/library/lux/data/collection/set.lux b/stdlib/source/library/lux/data/collection/set.lux index b921444ff..688b765dd 100644 --- a/stdlib/source/library/lux/data/collection/set.lux +++ b/stdlib/source/library/lux/data/collection/set.lux @@ -1,11 +1,11 @@ (.module: [library - [lux {"-" [list]} + [lux {"-" list} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [predicate {"+" [Predicate]}] - [monoid {"+" [Monoid]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [predicate {"+" Predicate}] + [monoid {"+" Monoid}]] [data [collection ["[0]" list ("[1]#[0]" mix)]]] @@ -13,7 +13,7 @@ [number ["n" nat]]]]] ["[0]" // "_" - ["[1]" dictionary {"+" [Dictionary]}]]) + ["[1]" dictionary {"+" Dictionary}]]) (type: .public (Set a) (Dictionary a Any)) diff --git a/stdlib/source/library/lux/data/collection/set/multi.lux b/stdlib/source/library/lux/data/collection/set/multi.lux index 38c1e81af..9d3a040e5 100644 --- a/stdlib/source/library/lux/data/collection/set/multi.lux +++ b/stdlib/source/library/lux/data/collection/set/multi.lux @@ -1,10 +1,10 @@ ... https://en.wikipedia.org/wiki/Multiset (.module: [library - [lux {"-" [list]} + [lux {"-" list} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [control ["[0]" function] ["[0]" maybe]] @@ -12,11 +12,11 @@ [number ["n" nat]]] [type - [abstract {"+" [abstract: :abstraction :representation ^:representation]}]]]] + [abstract {"+" abstract: :abstraction :representation ^:representation}]]]] ["[0]" // [// ["[0]" list ("[1]#[0]" mix monoid)] - ["[0]" dictionary {"+" [Dictionary]}]]]) + ["[0]" dictionary {"+" Dictionary}]]]) (abstract: .public (Set a) (Dictionary a Nat) diff --git a/stdlib/source/library/lux/data/collection/set/ordered.lux b/stdlib/source/library/lux/data/collection/set/ordered.lux index 965d85c28..6e31626fb 100644 --- a/stdlib/source/library/lux/data/collection/set/ordered.lux +++ b/stdlib/source/library/lux/data/collection/set/ordered.lux @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [list]} + [lux {"-" list} [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}]] [data [collection ["[0]" list ("[1]#[0]" mix)] diff --git a/stdlib/source/library/lux/data/collection/stack.lux b/stdlib/source/library/lux/data/collection/stack.lux index a64bb17e9..80577fa70 100644 --- a/stdlib/source/library/lux/data/collection/stack.lux +++ b/stdlib/source/library/lux/data/collection/stack.lux @@ -2,8 +2,8 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [functor {"+" [Functor]}]] + [equivalence {"+" Equivalence}] + [functor {"+" Functor}]] [data [collection ["//" list]]] diff --git a/stdlib/source/library/lux/data/collection/tree.lux b/stdlib/source/library/lux/data/collection/tree.lux index 9fd7d6cc7..fe98bdfdf 100644 --- a/stdlib/source/library/lux/data/collection/tree.lux +++ b/stdlib/source/library/lux/data/collection/tree.lux @@ -2,18 +2,18 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [equivalence {"+" [Equivalence]}] - [mix {"+" [Mix]}] - [monad {"+" [do]}]] + [functor {"+" Functor}] + [equivalence {"+" Equivalence}] + [mix {"+" Mix}] + [monad {"+" do}]] [control ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data [collection ["[0]" list ("[1]#[0]" monad mix)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]]]]) (type: .public (Tree a) diff --git a/stdlib/source/library/lux/data/collection/tree/finger.lux b/stdlib/source/library/lux/data/collection/tree/finger.lux index 8399577f4..a82b78f96 100644 --- a/stdlib/source/library/lux/data/collection/tree/finger.lux +++ b/stdlib/source/library/lux/data/collection/tree/finger.lux @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [predicate {"+" [Predicate]}] - ["[0]" monoid {"+" [Monoid]}]] + [predicate {"+" Predicate}] + ["[0]" monoid {"+" Monoid}]] [data [collection ["[0]" list ("[1]#[0]" monoid)]]] [type - [abstract {"+" [abstract: :abstraction :representation]}]]]]) + [abstract {"+" abstract: :abstraction :representation}]]]]) ... https://en.wikipedia.org/wiki/Finger_tree (abstract: .public (Tree @ t v) diff --git a/stdlib/source/library/lux/data/collection/tree/zipper.lux b/stdlib/source/library/lux/data/collection/tree/zipper.lux index ef9e8b662..8bf58d308 100644 --- a/stdlib/source/library/lux/data/collection/tree/zipper.lux +++ b/stdlib/source/library/lux/data/collection/tree/zipper.lux @@ -3,19 +3,19 @@ [lux "*" ["@" target] [abstract - [functor {"+" [Functor]}] - [comonad {"+" [CoMonad]}] - [monad {"+" [do]}] - [equivalence {"+" [Equivalence]}]] + [functor {"+" Functor}] + [comonad {"+" CoMonad}] + [monad {"+" do}] + [equivalence {"+" Equivalence}]] [control ["[0]" maybe ("[1]#[0]" monad)]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor monoid)]]]]] - ["[0]" // {"+" [Tree]} ("[1]#[0]" functor)]) + ["[0]" // {"+" Tree} ("[1]#[0]" functor)]) (type: (Family Zipper a) (Record diff --git a/stdlib/source/library/lux/data/color.lux b/stdlib/source/library/lux/data/color.lux index 648535721..ad550aaf9 100644 --- a/stdlib/source/library/lux/data/color.lux +++ b/stdlib/source/library/lux/data/color.lux @@ -2,9 +2,9 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [monoid {"+" [Monoid]}] - ["[0]" hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [monoid {"+" Monoid}] + ["[0]" hash {"+" Hash}]] [control [parser ["<[0]>" code]]] diff --git a/stdlib/source/library/lux/data/color/named.lux b/stdlib/source/library/lux/data/color/named.lux index 26deaeaa6..ebcdd7831 100644 --- a/stdlib/source/library/lux/data/color/named.lux +++ b/stdlib/source/library/lux/data/color/named.lux @@ -2,8 +2,8 @@ [library [lux "*" [math - [number {"+" [hex]}]]]] - ["[0]" // {"+" [Color]}]) + [number {"+" hex}]]]] + ["[0]" // {"+" Color}]) (template [ ] [(`` (def: .public diff --git a/stdlib/source/library/lux/data/format/binary.lux b/stdlib/source/library/lux/data/format/binary.lux index 55bf4bb79..c794c5b3d 100644 --- a/stdlib/source/library/lux/data/format/binary.lux +++ b/stdlib/source/library/lux/data/format/binary.lux @@ -1,27 +1,27 @@ (.module: [library - [lux {"-" [and or nat int rev list type]} + [lux {"-" and or nat int rev list type} [abstract - [monoid {"+" [Monoid]}] - [monad {"+" [Monad do]}] - [equivalence {"+" [Equivalence]}]] + [monoid {"+" Monoid}] + [monad {"+" Monad do}] + [equivalence {"+" Equivalence}]] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["[0]" function] - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] ["<>" parser ("[1]#[0]" monad) - ["/" binary {"+" [Offset Size Parser]}]]] + ["/" binary {"+" Offset Size Parser}]]] [data ["[0]" product] - ["[0]" binary {"+" [Binary]}] + ["[0]" binary {"+" Binary}] [text - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list] - ["[0]" row {"+" [Row]} ("[1]#[0]" functor)] - ["[0]" set {"+" [Set]}]]] + ["[0]" row {"+" Row} ("[1]#[0]" functor)] + ["[0]" set {"+" Set}]]] [math [number ["[0]" i64] diff --git a/stdlib/source/library/lux/data/format/css.lux b/stdlib/source/library/lux/data/format/css.lux index 8d44055ea..4d67a3780 100644 --- a/stdlib/source/library/lux/data/format/css.lux +++ b/stdlib/source/library/lux/data/format/css.lux @@ -1,26 +1,26 @@ (.module: [library - [lux {"-" [and]} + [lux {"-" and} [control ["[0]" maybe]] [data [number ["[0]" nat]] ["[0]" text - ["%" format {"+" [format]}] - ["[0]" encoding {"+" [Encoding]}]] + ["%" format {"+" format}] + ["[0]" encoding {"+" Encoding}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [type abstract] [world - [net {"+" [URL]}]]]] + [net {"+" URL}]]]] ["[0]" / "_" - ["[1][0]" selector {"+" [Selector Combinator]}] - ["[1][0]" value {"+" [Value Animation Percentage]}] - ["[1][0]" font {"+" [Font]}] - ["[1][0]" style {"+" [Style]}] - ["[1][0]" query {"+" [Query]}]]) + ["[1][0]" selector {"+" Selector Combinator}] + ["[1][0]" value {"+" Value Animation Percentage}] + ["[1][0]" font {"+" Font}] + ["[1][0]" style {"+" Style}] + ["[1][0]" query {"+" Query}]]) (abstract: .public Common Any) (abstract: .public Special Any) diff --git a/stdlib/source/library/lux/data/format/css/font.lux b/stdlib/source/library/lux/data/format/css/font.lux index abfa332d1..8abcf2858 100644 --- a/stdlib/source/library/lux/data/format/css/font.lux +++ b/stdlib/source/library/lux/data/format/css/font.lux @@ -7,11 +7,11 @@ [parser ["s" code]]] ["[0]" macro - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] [world - [net {"+" [URL]}]]]] + [net {"+" URL}]]]] ["[0]" // "_" - ["[1][0]" value {"+" [Value Font_Stretch Font_Style Font_Weight]}]]) + ["[1][0]" value {"+" Value Font_Stretch Font_Style Font_Weight}]]) (type: .public Unicode_Range (Record diff --git a/stdlib/source/library/lux/data/format/css/property.lux b/stdlib/source/library/lux/data/format/css/property.lux index ea9ca5a93..a2c5a6d50 100644 --- a/stdlib/source/library/lux/data/format/css/property.lux +++ b/stdlib/source/library/lux/data/format/css/property.lux @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [All Cursor]} + [lux {"-" All Cursor} [control [parser ["s" code]]] @@ -9,48 +9,48 @@ [macro ["[0]" template] ["[0]" code] - [syntax {"+" [syntax:]}]]]] + [syntax {"+" syntax:}]]]] [// - [value {"+" [All - Number - Length Thickness Time - Color - Location Fit - Slice - Alignment Animation_Direction - Animation Animation_Fill - Column_Fill Column_Span - Iteration Count - Play - Timing Visibility Attachment - Blend Span Image - Angle Repeat Border - Collapse Box_Decoration_Break Caption - Float Clear - Content - Cursor - Shadow Clip - Text_Direction - Display Empty - Filter - Flex_Direction Flex_Wrap - Font Font_Kerning Font_Size Font_Variant - Grid Grid_Content Grid_Flow Grid_Span Grid_Template - Hanging_Punctuation Hyphens Isolation - List_Style_Position List_Style_Type - Overflow Page_Break Pointer_Events - Position - Quotes - Resize Scroll_Behavior Table_Layout - Text_Align Text_Align_Last - Text_Decoration_Line Text_Decoration_Style - Text_Justification Text_Overflow Text_Transform - Transform Transform_Origin Transform_Style - Transition - Bidi User_Select - Vertical_Align - White_Space Word_Break Word_Wrap Writing_Mode - Z_Index]}]]) + [value {"+" All + Number + Length Thickness Time + Color + Location Fit + Slice + Alignment Animation_Direction + Animation Animation_Fill + Column_Fill Column_Span + Iteration Count + Play + Timing Visibility Attachment + Blend Span Image + Angle Repeat Border + Collapse Box_Decoration_Break Caption + Float Clear + Content + Cursor + Shadow Clip + Text_Direction + Display Empty + Filter + Flex_Direction Flex_Wrap + Font Font_Kerning Font_Size Font_Variant + Grid Grid_Content Grid_Flow Grid_Span Grid_Template + Hanging_Punctuation Hyphens Isolation + List_Style_Position List_Style_Type + Overflow Page_Break Pointer_Events + Position + Quotes + Resize Scroll_Behavior Table_Layout + Text_Align Text_Align_Last + Text_Decoration_Line Text_Decoration_Style + Text_Justification Text_Overflow Text_Transform + Transform Transform_Origin Transform_Style + Transition + Bidi User_Select + Vertical_Align + White_Space Word_Break Word_Wrap Writing_Mode + Z_Index}]]) (syntax: (text_identifier [identifier s.text]) (in (list (code.local_identifier (text.replaced "-" "_" identifier))))) diff --git a/stdlib/source/library/lux/data/format/css/query.lux b/stdlib/source/library/lux/data/format/css/query.lux index 21058fea9..2af4d0f68 100644 --- a/stdlib/source/library/lux/data/format/css/query.lux +++ b/stdlib/source/library/lux/data/format/css/query.lux @@ -1,25 +1,25 @@ (.module: [library - [lux {"-" [and or not]} + [lux {"-" and or not} [control [parser ["s" code]]] [data [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [macro ["[0]" template] ["[0]" code] - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] [type abstract]]] ["[0]" // "_" - ["[1][0]" value {"+" [Value Length Count Resolution Ratio - Orientation Scan Boolean Update - Block_Overflow Inline_Overflow - Display_Mode Color_Gamut Inverted_Colors - Pointer Hover - Light Scripting Motion Color_Scheme]}]]) + ["[1][0]" value {"+" Value Length Count Resolution Ratio + Orientation Scan Boolean Update + Block_Overflow Inline_Overflow + Display_Mode Color_Gamut Inverted_Colors + Pointer Hover + Light Scripting Motion Color_Scheme}]]) (syntax: (text_identifier [identifier s.text]) (in (list (code.local_identifier (text.replaced "-" "_" identifier))))) diff --git a/stdlib/source/library/lux/data/format/css/selector.lux b/stdlib/source/library/lux/data/format/css/selector.lux index 0ad018e6c..3cb2f5777 100644 --- a/stdlib/source/library/lux/data/format/css/selector.lux +++ b/stdlib/source/library/lux/data/format/css/selector.lux @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [or and for same? not]} + [lux {"-" or and for same? not} [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [number ["i" int]]] [type abstract] [macro ["[0]" template]] - ["[0]" locale {"+" [Locale]}]]]) + ["[0]" locale {"+" Locale}]]]) (type: .public Label Text) diff --git a/stdlib/source/library/lux/data/format/css/style.lux b/stdlib/source/library/lux/data/format/css/style.lux index b41d9c9b7..6ea77b534 100644 --- a/stdlib/source/library/lux/data/format/css/style.lux +++ b/stdlib/source/library/lux/data/format/css/style.lux @@ -3,12 +3,12 @@ [lux "*" [data [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [type abstract]]] ["[0]" // "_" - ["[1][0]" value {"+" [Value]}] - ["[1][0]" property {"+" [Property]}]]) + ["[1][0]" value {"+" Value}] + ["[1][0]" property {"+" Property}]]) (abstract: .public Style Text diff --git a/stdlib/source/library/lux/data/format/css/value.lux b/stdlib/source/library/lux/data/format/css/value.lux index 7817c9769..f2c8bb1c3 100644 --- a/stdlib/source/library/lux/data/format/css/value.lux +++ b/stdlib/source/library/lux/data/format/css/value.lux @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [All Cursor and static false true]} + [lux {"-" All Cursor and static false true} [control ["[0]" maybe] [parser @@ -14,7 +14,7 @@ ["r" rev] ["f" frac]] ["[0]" text - ["%" format {"+" [Format format]}]] + ["%" format {"+" Format format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [type @@ -22,11 +22,11 @@ [macro ["[0]" template] ["[0]" code] - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] [world - [net {"+" [URL]}]]]] + [net {"+" URL}]]]] [// - [selector {"+" [Label]}]]) + [selector {"+" Label}]]) (syntax: (text_identifier [identifier s.text]) (in (list (code.local_identifier (text.replaced "-" "_" identifier))))) diff --git a/stdlib/source/library/lux/data/format/html.lux b/stdlib/source/library/lux/data/format/html.lux index 1813d46db..b74f5d1d8 100644 --- a/stdlib/source/library/lux/data/format/html.lux +++ b/stdlib/source/library/lux/data/format/html.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [Meta Source comment and]} + [lux {"-" Meta Source comment and} [control ["[0]" function] ["[0]" maybe ("[1]#[0]" functor)]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [type @@ -17,12 +17,12 @@ [macro ["[0]" template]] [world - [net {"+" [URL]}]]]] + [net {"+" URL}]]]] [// [css ["[0]" selector] - ["[0]" style {"+" [Style]}]] - ["[0]" xml {"+" [XML]}]]) + ["[0]" style {"+" Style}]] + ["[0]" xml {"+" XML}]]) (type: .public Tag selector.Tag) (type: .public ID selector.ID) diff --git a/stdlib/source/library/lux/data/format/json.lux b/stdlib/source/library/lux/data/format/json.lux index 342e847f4..0a160e2ff 100644 --- a/stdlib/source/library/lux/data/format/json.lux +++ b/stdlib/source/library/lux/data/format/json.lux @@ -1,18 +1,18 @@ (.module: [library [lux "*" - ["[0]" meta {"+" [monad]}] + ["[0]" meta {"+" monad}] [abstract - [equivalence {"+" [Equivalence]}] - [codec {"+" [Codec]}] - [predicate {"+" [Predicate]}] - ["[0]" monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [codec {"+" Codec}] + [predicate {"+" Predicate}] + ["[0]" monad {"+" do}]] [control pipe ["[0]" maybe] - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" text {"+" [Parser]}] + ["<[0]>" text {"+" Parser}] ["<[0]>" code]]] [data ["[0]" bit] @@ -20,10 +20,10 @@ ["[0]" text ("[1]#[0]" equivalence monoid)] [collection ["[0]" list ("[1]#[0]" mix functor)] - ["[0]" row {"+" [Row row]} ("[1]#[0]" monad)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" row {"+" Row row} ("[1]#[0]" monad)] + ["[0]" dictionary {"+" Dictionary}]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math [number diff --git a/stdlib/source/library/lux/data/format/markdown.lux b/stdlib/source/library/lux/data/format/markdown.lux index 0737bc52b..70f81b10b 100644 --- a/stdlib/source/library/lux/data/format/markdown.lux +++ b/stdlib/source/library/lux/data/format/markdown.lux @@ -1,15 +1,15 @@ (.module: [library - [lux {"-" [and]} + [lux {"-" and} [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [type abstract] [world - [net {"+" [URL]}]]]]) + [net {"+" URL}]]]]) ... https://www.markdownguide.org/basic-syntax/ diff --git a/stdlib/source/library/lux/data/format/tar.lux b/stdlib/source/library/lux/data/format/tar.lux index 8306aeaf5..96448c214 100644 --- a/stdlib/source/library/lux/data/format/tar.lux +++ b/stdlib/source/library/lux/data/format/tar.lux @@ -1,32 +1,32 @@ (.module: [library - [lux {"-" [Mode Name and]} + [lux {"-" Mode Name and} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - [pipe {"+" [case>]}] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + [pipe {"+" case>}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" binary {"+" [Parser]}]]] + ["<[0]>" binary {"+" Parser}]]] [data ["[0]" product] - ["[0]" binary {"+" [Binary]}] - ["[0]" text {"+" [Char]} - ["%" format {"+" [format]}] + ["[0]" binary {"+" Binary}] + ["[0]" text {"+" Char} + ["%" format {"+" format}] [encoding ["[0]" utf8]]] ["[0]" format "_" - ["[1]" binary {"+" [Writer]} ("[1]#[0]" monoid)]] + ["[1]" binary {"+" Writer} ("[1]#[0]" monoid)]] [collection ["[0]" list ("[1]#[0]" mix)] - ["[0]" row {"+" [Row]} ("[1]#[0]" mix)]]] + ["[0]" row {"+" Row} ("[1]#[0]" mix)]]] [math ["[0]" number ["n" nat] ["[0]" i64]]] [time - ["[0]" instant {"+" [Instant]}] + ["[0]" instant {"+" Instant}] ["[0]" duration]] [world ["[0]" file]] diff --git a/stdlib/source/library/lux/data/format/xml.lux b/stdlib/source/library/lux/data/format/xml.lux index 42f5aafcf..df6642565 100644 --- a/stdlib/source/library/lux/data/format/xml.lux +++ b/stdlib/source/library/lux/data/format/xml.lux @@ -2,20 +2,20 @@ [library [lux "*" [abstract - [monad {"+" [do]}] - [equivalence {"+" [Equivalence]}] - [codec {"+" [Codec]}]] + [monad {"+" do}] + [equivalence {"+" Equivalence}] + [codec {"+" Codec}]] [control - [try {"+" [Try]}] + [try {"+" Try}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" product] ["[0]" name ("[1]#[0]" equivalence codec)] - ["[0]" text {"+" [\n]} ("[1]#[0]" equivalence monoid)] + ["[0]" text {"+" \n} ("[1]#[0]" equivalence monoid)] [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [math [number ["n" nat] diff --git a/stdlib/source/library/lux/data/identity.lux b/stdlib/source/library/lux/data/identity.lux index f37f94b99..fe288e0e7 100644 --- a/stdlib/source/library/lux/data/identity.lux +++ b/stdlib/source/library/lux/data/identity.lux @@ -2,10 +2,10 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad]}] - [comonad {"+" [CoMonad]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad}] + [comonad {"+" CoMonad}]] [control ["[0]" function]]]]) diff --git a/stdlib/source/library/lux/data/name.lux b/stdlib/source/library/lux/data/name.lux index 1e35dc237..c0fc1cd86 100644 --- a/stdlib/source/library/lux/data/name.lux +++ b/stdlib/source/library/lux/data/name.lux @@ -2,10 +2,10 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [order {"+" [Order]}] - [codec {"+" [Codec]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [order {"+" Order}] + [codec {"+" Codec}]] [data ["[0]" text ("[1]#[0]" equivalence monoid)] ["[0]" product]]]]) diff --git a/stdlib/source/library/lux/data/product.lux b/stdlib/source/library/lux/data/product.lux index 22cb46a1a..543ddb3f9 100644 --- a/stdlib/source/library/lux/data/product.lux +++ b/stdlib/source/library/lux/data/product.lux @@ -2,8 +2,8 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]]]]) + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]]]]) (template [] [(def: .public ( [left right]) diff --git a/stdlib/source/library/lux/data/store.lux b/stdlib/source/library/lux/data/store.lux index 627a52440..8c8501222 100644 --- a/stdlib/source/library/lux/data/store.lux +++ b/stdlib/source/library/lux/data/store.lux @@ -2,7 +2,7 @@ [library [lux "*" [abstract - [functor {"+" [Functor]}] + [functor {"+" Functor}] comonad] [type implicit]]]) diff --git a/stdlib/source/library/lux/data/sum.lux b/stdlib/source/library/lux/data/sum.lux index 518b48f0b..f0f4eced0 100644 --- a/stdlib/source/library/lux/data/sum.lux +++ b/stdlib/source/library/lux/data/sum.lux @@ -2,8 +2,8 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]]]]) + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]]]]) (template [ ] [(def: .public ( value) diff --git a/stdlib/source/library/lux/data/text.lux b/stdlib/source/library/lux/data/text.lux index 10d6ebf22..58f2450a8 100644 --- a/stdlib/source/library/lux/data/text.lux +++ b/stdlib/source/library/lux/data/text.lux @@ -1,14 +1,14 @@ (.module: [library - [lux {"-" [char]} + [lux {"-" char} ["@" target] [abstract - [hash {"+" [Hash]}] - [monoid {"+" [Monoid]}] - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [monad {"+" [do]}] - [codec {"+" [Codec]}]] + [hash {"+" Hash}] + [monoid {"+" Monoid}] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [monad {"+" do}] + [codec {"+" Codec}]] [control ["[0]" maybe]] [data diff --git a/stdlib/source/library/lux/data/text/buffer.lux b/stdlib/source/library/lux/data/text/buffer.lux index 3c55712f7..05e22b6cd 100644 --- a/stdlib/source/library/lux/data/text/buffer.lux +++ b/stdlib/source/library/lux/data/text/buffer.lux @@ -2,16 +2,16 @@ [library [lux "*" ["@" target] - ["[0]" ffi {"+" [import:]}] + ["[0]" ffi {"+" import:}] [control ["[0]" function]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" array] - ["[0]" row {"+" [Row]} ("[1]#[0]" mix)]]] + ["[0]" row {"+" Row} ("[1]#[0]" mix)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/data/text/encoding/utf8.lux b/stdlib/source/library/lux/data/text/encoding/utf8.lux index 40b58a7dc..9a29da326 100644 --- a/stdlib/source/library/lux/data/text/encoding/utf8.lux +++ b/stdlib/source/library/lux/data/text/encoding/utf8.lux @@ -4,11 +4,11 @@ ["@" target] ["[0]" ffi] [abstract - [codec {"+" [Codec]}]] + [codec {"+" Codec}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data - ["[0]" binary {"+" [Binary]}]]]] + ["[0]" binary {"+" Binary}]]]] ["[0]" //]) (with_expansions [ (as_is (ffi.import: java/lang/String diff --git a/stdlib/source/library/lux/data/text/escape.lux b/stdlib/source/library/lux/data/text/escape.lux index 8e34c4845..33d2d0a9e 100644 --- a/stdlib/source/library/lux/data/text/escape.lux +++ b/stdlib/source/library/lux/data/text/escape.lux @@ -3,21 +3,21 @@ [lux "*" ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser ["<[0]>" code]]] [math - [number {"+" [hex]} + [number {"+" hex} ["n" nat]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]]]] - ["[0]" // {"+" [Char]} - ["%" format {"+" [format]}]]) + ["[0]" // {"+" Char} + ["%" format {"+" format}]]) (def: sigil "\") diff --git a/stdlib/source/library/lux/data/text/format.lux b/stdlib/source/library/lux/data/text/format.lux index d801c25f5..e94d613a7 100644 --- a/stdlib/source/library/lux/data/text/format.lux +++ b/stdlib/source/library/lux/data/text/format.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [list nat int rev type]} + [lux {"-" list nat int rev type} [abstract - [monad {"+" [do]}] + [monad {"+" do}] [functor ["[0]" contravariant]]] [control ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" bit] ["[0]" name] @@ -32,7 +32,7 @@ ["[0]" frac] ["[0]" ratio]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]] [meta diff --git a/stdlib/source/library/lux/data/text/regex.lux b/stdlib/source/library/lux/data/text/regex.lux index 81104a0fe..52fbed021 100644 --- a/stdlib/source/library/lux/data/text/regex.lux +++ b/stdlib/source/library/lux/data/text/regex.lux @@ -7,22 +7,22 @@ [control ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" text {"+" [Parser]}] + ["<[0]>" text {"+" Parser}] ["<[0]>" code]]] [data ["[0]" product] [collection ["[0]" list ("[1]#[0]" mix monad)]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["n" nat ("[1]#[0]" decimal)]]]]] ["[0]" // - ["%" format {"+" [format]}]]) + ["%" format {"+" format}]]) (def: regex_char^ (Parser Text) diff --git a/stdlib/source/library/lux/data/text/unicode/block.lux b/stdlib/source/library/lux/data/text/unicode/block.lux index 051bbd585..5c0e63be5 100644 --- a/stdlib/source/library/lux/data/text/unicode/block.lux +++ b/stdlib/source/library/lux/data/text/unicode/block.lux @@ -2,17 +2,17 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [monoid {"+" [Monoid]}] - ["[0]" interval {"+" [Interval]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [monoid {"+" Monoid}] + ["[0]" interval {"+" Interval}]] [math - [number {"+" [hex]} + [number {"+" hex} ["n" nat ("[1]#[0]" interval)] ["[0]" i64]]] [type abstract]]] - [/// {"+" [Char]}]) + [/// {"+" Char}]) (abstract: .public Block (Interval Char) diff --git a/stdlib/source/library/lux/data/text/unicode/set.lux b/stdlib/source/library/lux/data/text/unicode/set.lux index ce4b6f7d5..b7f6720b8 100644 --- a/stdlib/source/library/lux/data/text/unicode/set.lux +++ b/stdlib/source/library/lux/data/text/unicode/set.lux @@ -2,19 +2,19 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data [collection ["[0]" list ("[1]#[0]" mix functor)] ["[0]" set ("[1]#[0]" equivalence)] ["[0]" tree "_" - ["[1]" finger {"+" [Tree]}]]]] - [type {"+" [:by_example]} + ["[1]" finger {"+" Tree}]]]] + [type {"+" :by_example} abstract]]] ["[0]" / "_" ["/[1]" // "_" - [// {"+" [Char]}] - ["[1][0]" block {"+" [Block]}]]]) + [// {"+" Char}] + ["[1][0]" block {"+" Block}]]]) (def: builder (tree.builder //block.monoid)) diff --git a/stdlib/source/library/lux/data/trace.lux b/stdlib/source/library/lux/data/trace.lux index 8f54f37d3..68ad5a159 100644 --- a/stdlib/source/library/lux/data/trace.lux +++ b/stdlib/source/library/lux/data/trace.lux @@ -2,8 +2,8 @@ [library [lux "*" [abstract - ["[0]" monoid {"+" [Monoid]}] - [functor {"+" [Functor]}] + ["[0]" monoid {"+" Monoid}] + [functor {"+" Functor}] comonad] function]]) diff --git a/stdlib/source/library/lux/debug.lux b/stdlib/source/library/lux/debug.lux index 380bbaa0b..8474a75e9 100644 --- a/stdlib/source/library/lux/debug.lux +++ b/stdlib/source/library/lux/debug.lux @@ -1,25 +1,25 @@ (.module: [library - [lux {"-" [type private]} + [lux {"-" type private} ["@" target] ["[0]" type] - ["[0]" ffi {"+" [import:]}] + ["[0]" ffi {"+" import:}] ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - [pipe {"+" [new>]}] + [pipe {"+" new>}] ["[0]" function] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" type {"+" [Parser]}] + ["<[0]>" type {"+" Parser}] ["<[0]>" code]]] [data ["[0]" text - ["%" format {"+" [Format]}]] + ["%" format {"+" Format}]] [format - [xml {"+" [XML]}] + [xml {"+" XML}] ["[0]" json]] [collection ["[0]" array] @@ -27,19 +27,19 @@ ["[0]" dictionary]]] [macro ["[0]" template] - ["[0]" syntax {"+" [syntax:]}] + ["[0]" syntax {"+" syntax:}] ["[0]" code]] [math [number - [ratio {"+" [Ratio]}] + [ratio {"+" Ratio}] ["n" nat] ["i" int]]] - [time {"+" [Time]} - [instant {"+" [Instant]}] - [duration {"+" [Duration]}] - [date {"+" [Date]}] - [month {"+" [Month]}] - [day {"+" [Day]}]]]]) + [time {"+" Time} + [instant {"+" Instant}] + [duration {"+" Duration}] + [date {"+" Date}] + [month {"+" Month}] + [day {"+" Day}]]]]) (with_expansions [ (as_is (import: java/lang/String) diff --git a/stdlib/source/library/lux/documentation.lux b/stdlib/source/library/lux/documentation.lux index e1a4ffb1a..467d7606d 100644 --- a/stdlib/source/library/lux/documentation.lux +++ b/stdlib/source/library/lux/documentation.lux @@ -1,28 +1,28 @@ (.module: [library - [lux {"-" [Definition Module type]} + [lux {"-" Definition Module type} ["[0]" meta] ["[0]" type ("[1]#[0]" equivalence)] [abstract - [monad {"+" [do]}] + [monad {"+" do}] ["[0]" enum]] [control ["[0]" maybe ("[1]#[0]" functor)] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] - ["[0]" text {"+" [\n]} ("[1]#[0]" order) - ["%" format {"+" [format]}]] + ["[0]" text {"+" \n} ("[1]#[0]" order) + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" monad mix monoid)] - ["[0]" set {"+" [Set]}] - ["[0]" sequence {"+" [Sequence]}]] + ["[0]" set {"+" Set}] + ["[0]" sequence {"+" Sequence}]] [format - ["md" markdown {"+" [Markdown Block]}]]] + ["md" markdown {"+" Markdown Block}]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]] [math diff --git a/stdlib/source/library/lux/extension.lux b/stdlib/source/library/lux/extension.lux index 6fc278a48..87812cb08 100644 --- a/stdlib/source/library/lux/extension.lux +++ b/stdlib/source/library/lux/extension.lux @@ -5,16 +5,16 @@ ["[0]" monad]] [control ["<>" parser ("[1]#[0]" monad) - ["" code {"+" [Parser]}] + ["" code {"+" Parser}] ["" analysis] ["" synthesis]]] [data ["[0]" product] [collection ["[0]" list ("[1]#[0]" functor)]]] - [macro {"+" [with_identifiers]} + [macro {"+" with_identifiers} ["[0]" code] - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] [tool [compiler ["[0]" phase]]]]]) diff --git a/stdlib/source/library/lux/ffi.js.lux b/stdlib/source/library/lux/ffi.js.lux index 99499826e..4c6564ec1 100644 --- a/stdlib/source/library/lux/ffi.js.lux +++ b/stdlib/source/library/lux/ffi.js.lux @@ -3,12 +3,12 @@ [lux "*" ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" io] ["[0]" maybe] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text @@ -17,8 +17,8 @@ ["[0]" list ("[1]#[0]" functor)]]] [type abstract] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]]]]) diff --git a/stdlib/source/library/lux/ffi.jvm.lux b/stdlib/source/library/lux/ffi.jvm.lux index eb5eea250..2d753a3cd 100644 --- a/stdlib/source/library/lux/ffi.jvm.lux +++ b/stdlib/source/library/lux/ffi.jvm.lux @@ -1,37 +1,37 @@ (.module: [library - ["[0]" lux {"-" [Type type int char :as]} + ["[0]" lux {"-" Type type int char :as} ["[1]_[0]" type ("[1]#[0]" equivalence)] [abstract - ["[0]" monad {"+" [Monad do]}] + ["[0]" monad {"+" Monad do}] ["[0]" enum]] [control ["[0]" function] ["[0]" io] ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [Exception exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" Exception exception:}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" array] ["[0]" list ("[1]#[0]" monad mix monoid)] - ["[0]" dictionary {"+" [Dictionary]}]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + ["[0]" dictionary {"+" Dictionary}]]] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]] ["[0]" meta] [target [jvm [encoding - ["[0]" name {"+" [External]}]] - ["[0]" type {"+" [Type Argument Typed]} - ["[0]" category {"+" [Void Value' Value Return' Return Method Primitive Object Class Array Var Parameter Declaration]}] + ["[0]" name {"+" External}]] + ["[0]" type {"+" Type Argument Typed} + ["[0]" category {"+" Void Value' Value Return' Return Method Primitive Object Class Array Var Parameter Declaration}] ["[0]" box] ["[0]" descriptor] ["[0]" signature] diff --git a/stdlib/source/library/lux/ffi.lua.lux b/stdlib/source/library/lux/ffi.lua.lux index de47621b5..5af4aaf9d 100644 --- a/stdlib/source/library/lux/ffi.lua.lux +++ b/stdlib/source/library/lux/ffi.lua.lux @@ -4,12 +4,12 @@ ["@" target] ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" io] ["[0]" maybe] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text @@ -18,8 +18,8 @@ ["[0]" list ("[1]#[0]" functor mix)]]] [type abstract] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]]]]) diff --git a/stdlib/source/library/lux/ffi.old.lux b/stdlib/source/library/lux/ffi.old.lux index 6e9d50442..35f1f853b 100644 --- a/stdlib/source/library/lux/ffi.old.lux +++ b/stdlib/source/library/lux/ffi.old.lux @@ -1,27 +1,27 @@ (.module: [library - [lux {"-" [type]} + [lux {"-" type} ["[0]" type ("[1]#[0]" equivalence)] [abstract - ["[0]" monad {"+" [Monad do]}] + ["[0]" monad {"+" Monad do}] ["[0]" enum]] [control ["[0]" function] ["[0]" io] ["[0]" maybe] - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" bit ("[1]#[0]" codec)] ["[0]" text ("[1]#[0]" equivalence monoid) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" list ("[1]#[0]" monad mix monoid)]]] - ["[0]" macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + ["[0]" macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]] ["[0]" meta]]]) diff --git a/stdlib/source/library/lux/ffi.php.lux b/stdlib/source/library/lux/ffi.php.lux index 6199df2ad..5888edb29 100644 --- a/stdlib/source/library/lux/ffi.php.lux +++ b/stdlib/source/library/lux/ffi.php.lux @@ -1,15 +1,15 @@ (.module: [library - [lux {"-" [Alias]} + [lux {"-" Alias} ["@" target] ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" io] ["[0]" maybe] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text @@ -18,8 +18,8 @@ ["[0]" list ("[1]#[0]" functor)]]] [type abstract] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]]]]) diff --git a/stdlib/source/library/lux/ffi.py.lux b/stdlib/source/library/lux/ffi.py.lux index 792122b9d..fd1eba334 100644 --- a/stdlib/source/library/lux/ffi.py.lux +++ b/stdlib/source/library/lux/ffi.py.lux @@ -4,12 +4,12 @@ ["[0]" meta] ["@" target] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" io] ["[0]" maybe] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text @@ -18,8 +18,8 @@ ["[0]" list ("[1]#[0]" functor mix)]]] [type abstract] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]]]]) diff --git a/stdlib/source/library/lux/ffi.rb.lux b/stdlib/source/library/lux/ffi.rb.lux index 2e611f72a..0e3d39b58 100644 --- a/stdlib/source/library/lux/ffi.rb.lux +++ b/stdlib/source/library/lux/ffi.rb.lux @@ -1,15 +1,15 @@ (.module: [library - [lux {"-" [Alias]} + [lux {"-" Alias} ["@" target] ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" io] ["[0]" maybe] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text @@ -18,8 +18,8 @@ ["[0]" list ("[1]#[0]" functor)]]] [type abstract] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]]]]) diff --git a/stdlib/source/library/lux/ffi.scm.lux b/stdlib/source/library/lux/ffi.scm.lux index 651d89168..32d964fbc 100644 --- a/stdlib/source/library/lux/ffi.scm.lux +++ b/stdlib/source/library/lux/ffi.scm.lux @@ -1,25 +1,25 @@ (.module: [library - [lux {"-" [Alias]} + [lux {"-" Alias} ["@" target] ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" io] ["[0]" maybe] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [type abstract] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]]]]) diff --git a/stdlib/source/library/lux/locale.lux b/stdlib/source/library/lux/locale.lux index 104af190f..bb92b3b6e 100644 --- a/stdlib/source/library/lux/locale.lux +++ b/stdlib/source/library/lux/locale.lux @@ -2,19 +2,19 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - ["[0]" hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + ["[0]" hash {"+" Hash}]] [control ["[0]" maybe ("[1]#[0]" functor)]] [data ["[0]" text - ["%" format {"+" [format]}] - ["[0]" encoding {"+" [Encoding]}]]] + ["%" format {"+" format}] + ["[0]" encoding {"+" Encoding}]]] [type abstract]]] [/ - ["[0]" language {"+" [Language]}] - ["[0]" territory {"+" [Territory]}]]) + ["[0]" language {"+" Language}] + ["[0]" territory {"+" Territory}]]) (abstract: .public Locale Text diff --git a/stdlib/source/library/lux/locale/language.lux b/stdlib/source/library/lux/locale/language.lux index 1f9f9b591..caa1208f8 100644 --- a/stdlib/source/library/lux/locale/language.lux +++ b/stdlib/source/library/lux/locale/language.lux @@ -2,8 +2,8 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [data ["[0]" text]] [type diff --git a/stdlib/source/library/lux/locale/territory.lux b/stdlib/source/library/lux/locale/territory.lux index 9e4542c2a..ce45583d9 100644 --- a/stdlib/source/library/lux/locale/territory.lux +++ b/stdlib/source/library/lux/locale/territory.lux @@ -2,8 +2,8 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [data ["[0]" text]] [type diff --git a/stdlib/source/library/lux/macro.lux b/stdlib/source/library/lux/macro.lux index a0b263646..ecf9b134c 100644 --- a/stdlib/source/library/lux/macro.lux +++ b/stdlib/source/library/lux/macro.lux @@ -2,7 +2,7 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" text ("[1]#[0]" monoid)] ["[0]" name ("[1]#[0]" codec)] diff --git a/stdlib/source/library/lux/macro/code.lux b/stdlib/source/library/lux/macro/code.lux index 2d5ffb59a..1b81cc910 100644 --- a/stdlib/source/library/lux/macro/code.lux +++ b/stdlib/source/library/lux/macro/code.lux @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [nat int rev]} + [lux {"-" nat int rev} [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data ["[0]" product] ["[0]" bit] diff --git a/stdlib/source/library/lux/macro/local.lux b/stdlib/source/library/lux/macro/local.lux index 03bd0c70c..88574b123 100644 --- a/stdlib/source/library/lux/macro/local.lux +++ b/stdlib/source/library/lux/macro/local.lux @@ -3,17 +3,17 @@ [lux "*" ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" product] ["[0]" text] [collection ["[0]" list ("[1]#[0]" functor)] [dictionary - ["[0]" plist {"+" [PList]}]]]]]] + ["[0]" plist {"+" PList}]]]]]] ["[0]" // ["[1][0]" code]]) diff --git a/stdlib/source/library/lux/macro/syntax.lux b/stdlib/source/library/lux/macro/syntax.lux index 7a00f0bc7..319ace41d 100644 --- a/stdlib/source/library/lux/macro/syntax.lux +++ b/stdlib/source/library/lux/macro/syntax.lux @@ -1,15 +1,15 @@ (.module: [library [lux "*" - ["[0]" macro {"+" [with_identifiers]}] + ["[0]" macro {"+" with_identifiers}] ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] ["[0]" try] ["<>" parser - ["" code {"+" [Parser]}]]] + ["" code {"+" Parser}]]] [data ["[0]" text ("[1]#[0]" monoid)] [collection diff --git a/stdlib/source/library/lux/macro/syntax/check.lux b/stdlib/source/library/lux/macro/syntax/check.lux index bdc4d9a98..a84838a4a 100644 --- a/stdlib/source/library/lux/macro/syntax/check.lux +++ b/stdlib/source/library/lux/macro/syntax/check.lux @@ -3,12 +3,12 @@ [lux "*" ["[0]" meta] [abstract - [equivalence {"+" [Equivalence]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product]] [macro diff --git a/stdlib/source/library/lux/macro/syntax/declaration.lux b/stdlib/source/library/lux/macro/syntax/declaration.lux index 706fc6fdb..1e218f48b 100644 --- a/stdlib/source/library/lux/macro/syntax/declaration.lux +++ b/stdlib/source/library/lux/macro/syntax/declaration.lux @@ -2,10 +2,10 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text] diff --git a/stdlib/source/library/lux/macro/syntax/definition.lux b/stdlib/source/library/lux/macro/syntax/definition.lux index feb0f908a..1549081e2 100644 --- a/stdlib/source/library/lux/macro/syntax/definition.lux +++ b/stdlib/source/library/lux/macro/syntax/definition.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [Definition]} + [lux {"-" Definition} [abstract - [equivalence {"+" [Equivalence]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" sum] ["[0]" product] @@ -22,7 +22,7 @@ ["[0]" meta ["[0]" location]]]] ["[0]" // - ["[1][0]" check {"+" [Check]}]]) + ["[1][0]" check {"+" Check}]]) (type: .public Definition (Record diff --git a/stdlib/source/library/lux/macro/syntax/export.lux b/stdlib/source/library/lux/macro/syntax/export.lux index e7f89cd42..27c74dceb 100644 --- a/stdlib/source/library/lux/macro/syntax/export.lux +++ b/stdlib/source/library/lux/macro/syntax/export.lux @@ -2,10 +2,10 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["<>" parser - ["<[0]>" code {"+" [Parser]}]]]]]) + ["<[0]>" code {"+" Parser}]]]]]) (def: .public default_policy Code diff --git a/stdlib/source/library/lux/macro/syntax/input.lux b/stdlib/source/library/lux/macro/syntax/input.lux index 006cb0418..b73caf2b7 100644 --- a/stdlib/source/library/lux/macro/syntax/input.lux +++ b/stdlib/source/library/lux/macro/syntax/input.lux @@ -2,10 +2,10 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] [collection diff --git a/stdlib/source/library/lux/macro/syntax/type/variable.lux b/stdlib/source/library/lux/macro/syntax/type/variable.lux index fbbac219f..60edd0fcb 100644 --- a/stdlib/source/library/lux/macro/syntax/type/variable.lux +++ b/stdlib/source/library/lux/macro/syntax/type/variable.lux @@ -2,10 +2,10 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control [parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" text]] [macro diff --git a/stdlib/source/library/lux/macro/template.lux b/stdlib/source/library/lux/macro/template.lux index 1476d0f58..19a9f6c01 100644 --- a/stdlib/source/library/lux/macro/template.lux +++ b/stdlib/source/library/lux/macro/template.lux @@ -1,20 +1,20 @@ (.module: [library - [lux {"-" [let local macro]} + [lux {"-" let local macro} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser ("[1]#[0]" functor) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" bit ("[1]#[0]" codec)] ["[0]" text] [collection ["[0]" list ("[1]#[0]" monad)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [math [number ["[0]" nat ("[1]#[0]" decimal)] @@ -22,7 +22,7 @@ ["[0]" rev ("[1]#[0]" decimal)] ["[0]" frac ("[1]#[0]" decimal)]]]]] ["[0]" // - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code] ["[0]" local]]) diff --git a/stdlib/source/library/lux/math/infix.lux b/stdlib/source/library/lux/math/infix.lux index 1983f9228..25a37563a 100644 --- a/stdlib/source/library/lux/math/infix.lux +++ b/stdlib/source/library/lux/math/infix.lux @@ -2,16 +2,16 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["<>" parser ("[1]#[0]" functor) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] [collection ["[0]" list ("[1]#[0]" mix)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math [number diff --git a/stdlib/source/library/lux/math/logic/continuous.lux b/stdlib/source/library/lux/math/logic/continuous.lux index 51a915d43..8519e078c 100644 --- a/stdlib/source/library/lux/math/logic/continuous.lux +++ b/stdlib/source/library/lux/math/logic/continuous.lux @@ -1,9 +1,9 @@ ... https://en.wikipedia.org/wiki/Many-valued_logic (.module: [library - [lux {"-" [false true or and not]} + [lux {"-" false true or and not} [abstract - [monoid {"+" [Monoid]}]] + [monoid {"+" Monoid}]] [math [number ["/" rev ("[1]#[0]" interval)]]]]]) diff --git a/stdlib/source/library/lux/math/logic/fuzzy.lux b/stdlib/source/library/lux/math/logic/fuzzy.lux index 079d5fe16..e72e4d7b8 100644 --- a/stdlib/source/library/lux/math/logic/fuzzy.lux +++ b/stdlib/source/library/lux/math/logic/fuzzy.lux @@ -3,13 +3,13 @@ [library [lux "*" [abstract - [predicate {"+" [Predicate]}] + [predicate {"+" Predicate}] [functor ["[0]" contravariant]]] [data [collection ["[0]" list] - ["[0]" set {"+" [Set]}]]] + ["[0]" set {"+" Set}]]] [math [number ["/" rev]]]]] diff --git a/stdlib/source/library/lux/math/modular.lux b/stdlib/source/library/lux/math/modular.lux index 711281162..4316cb015 100644 --- a/stdlib/source/library/lux/math/modular.lux +++ b/stdlib/source/library/lux/math/modular.lux @@ -2,22 +2,22 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [monoid {"+" [Monoid]}] - [codec {"+" [Codec]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [monoid {"+" Monoid}] + [codec {"+" Codec}] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" text {"+" [Parser]}] + ["<[0]>" text {"+" Parser}] ["<[0]>" code]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" monoid)]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math [number @@ -25,7 +25,7 @@ [type abstract]]] ["[0]" // "_" - ["[1]" modulus {"+" [Modulus]}]]) + ["[1]" modulus {"+" Modulus}]]) (abstract: .public (Mod m) (Record diff --git a/stdlib/source/library/lux/math/modulus.lux b/stdlib/source/library/lux/math/modulus.lux index 9a0b91b99..fb8ef9515 100644 --- a/stdlib/source/library/lux/math/modulus.lux +++ b/stdlib/source/library/lux/math/modulus.lux @@ -3,14 +3,14 @@ [lux "*" ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] [parser ["<[0]>" code]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math [number diff --git a/stdlib/source/library/lux/math/number.lux b/stdlib/source/library/lux/math/number.lux index 81f38d91b..27c197425 100644 --- a/stdlib/source/library/lux/math/number.lux +++ b/stdlib/source/library/lux/math/number.lux @@ -2,9 +2,9 @@ [library [lux "*" [abstract - [codec {"+" [Codec]}]] + [codec {"+" Codec}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" text]]]] ["[0]" / "_" diff --git a/stdlib/source/library/lux/math/number/complex.lux b/stdlib/source/library/lux/math/number/complex.lux index 3a785bc9e..1473ec0c0 100644 --- a/stdlib/source/library/lux/math/number/complex.lux +++ b/stdlib/source/library/lux/math/number/complex.lux @@ -3,18 +3,18 @@ [lux "*" ["[0]" math] [abstract - [equivalence {"+" [Equivalence]}] - [codec {"+" [Codec]}] - ["M" monad {"+" [Monad do]}]] + [equivalence {"+" Equivalence}] + [codec {"+" Codec}] + ["M" monad {"+" Monad do}]] [control ["[0]" maybe] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data [collection ["[0]" list ("[1]#[0]" functor)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math [number diff --git a/stdlib/source/library/lux/math/number/frac.lux b/stdlib/source/library/lux/math/number/frac.lux index 44e09abc9..2859d32f6 100644 --- a/stdlib/source/library/lux/math/number/frac.lux +++ b/stdlib/source/library/lux/math/number/frac.lux @@ -1,18 +1,18 @@ (.module: [library - [lux {"-" [nat int rev]} + [lux {"-" nat int rev} ["@" target] [abstract - [hash {"+" [Hash]}] - [monoid {"+" [Monoid]}] - [equivalence {"+" [Equivalence]}] - [codec {"+" [Codec]}] - [predicate {"+" [Predicate]}] - [order {"+" [Order]}] - [monad {"+" [do]}]] + [hash {"+" Hash}] + [monoid {"+" Monoid}] + [equivalence {"+" Equivalence}] + [codec {"+" Codec}] + [predicate {"+" Predicate}] + [order {"+" Order}] + [monad {"+" do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" text]]]] ["[0]" // "_" diff --git a/stdlib/source/library/lux/math/number/i16.lux b/stdlib/source/library/lux/math/number/i16.lux index 9323c14ce..98568bb46 100644 --- a/stdlib/source/library/lux/math/number/i16.lux +++ b/stdlib/source/library/lux/math/number/i16.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control ["[0]" maybe]] - [type {"+" [:by_example]}]]] + [type {"+" :by_example}]]] [// - ["[0]" i64 {"+" [Sub]}]]) + ["[0]" i64 {"+" Sub}]]) (def: sub (maybe.trusted (i64.sub 16))) diff --git a/stdlib/source/library/lux/math/number/i32.lux b/stdlib/source/library/lux/math/number/i32.lux index 3f10bf254..065847322 100644 --- a/stdlib/source/library/lux/math/number/i32.lux +++ b/stdlib/source/library/lux/math/number/i32.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [i64]} - [type {"+" [:by_example]}] + [lux {"-" i64} + [type {"+" :by_example}] [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control ["[0]" maybe]]]] [// - ["[0]" i64 {"+" [Sub]}]]) + ["[0]" i64 {"+" Sub}]]) (def: sub (maybe.trusted (i64.sub 32))) diff --git a/stdlib/source/library/lux/math/number/i64.lux b/stdlib/source/library/lux/math/number/i64.lux index ea2e0c4f9..03f2241af 100644 --- a/stdlib/source/library/lux/math/number/i64.lux +++ b/stdlib/source/library/lux/math/number/i64.lux @@ -1,10 +1,10 @@ (.module: [library - [lux {"-" [and or not false true]} + [lux {"-" and or not false true} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [monoid {"+" [Monoid]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [monoid {"+" Monoid}]] [control ["[0]" try]]]] [// diff --git a/stdlib/source/library/lux/math/number/i8.lux b/stdlib/source/library/lux/math/number/i8.lux index c33aca004..c481d5799 100644 --- a/stdlib/source/library/lux/math/number/i8.lux +++ b/stdlib/source/library/lux/math/number/i8.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control ["[0]" maybe]] - [type {"+" [:by_example]}]]] + [type {"+" :by_example}]]] [// - ["[0]" i64 {"+" [Sub]}]]) + ["[0]" i64 {"+" Sub}]]) (def: sub (maybe.trusted (i64.sub 8))) diff --git a/stdlib/source/library/lux/math/number/int.lux b/stdlib/source/library/lux/math/number/int.lux index be36680d2..3aa65a4c4 100644 --- a/stdlib/source/library/lux/math/number/int.lux +++ b/stdlib/source/library/lux/math/number/int.lux @@ -2,19 +2,19 @@ [library [lux "*" [abstract - [hash {"+" [Hash]}] - [enum {"+" [Enum]}] - [interval {"+" [Interval]}] - [monoid {"+" [Monoid]}] - [equivalence {"+" [Equivalence]}] - [codec {"+" [Codec]}] - [predicate {"+" [Predicate]}] - ["[0]" order {"+" [Order]}]] + [hash {"+" Hash}] + [enum {"+" Enum}] + [interval {"+" Interval}] + [monoid {"+" Monoid}] + [equivalence {"+" Equivalence}] + [codec {"+" Codec}] + [predicate {"+" Predicate}] + ["[0]" order {"+" Order}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data - [text {"+" [Char]}]]]] + [text {"+" Char}]]]] ["[0]" // "_" ["[1][0]" nat] ["[1][0]" i64]]) diff --git a/stdlib/source/library/lux/math/number/nat.lux b/stdlib/source/library/lux/math/number/nat.lux index 4eccc7d13..515f5887a 100644 --- a/stdlib/source/library/lux/math/number/nat.lux +++ b/stdlib/source/library/lux/math/number/nat.lux @@ -2,17 +2,17 @@ [library [lux "*" [abstract - [hash {"+" [Hash]}] - [enum {"+" [Enum]}] - [interval {"+" [Interval]}] - [monoid {"+" [Monoid]}] - [equivalence {"+" [Equivalence]}] - [codec {"+" [Codec]}] - ["[0]" order {"+" [Order]}]] + [hash {"+" Hash}] + [enum {"+" Enum}] + [interval {"+" Interval}] + [monoid {"+" Monoid}] + [equivalence {"+" Equivalence}] + [codec {"+" Codec}] + ["[0]" order {"+" Order}]] [control ["[0]" function] ["[0]" maybe] - ["[0]" try {"+" [Try]}]]]]) + ["[0]" try {"+" Try}]]]]) (template [ ] [(def: .public ( parameter subject) diff --git a/stdlib/source/library/lux/math/number/ratio.lux b/stdlib/source/library/lux/math/number/ratio.lux index cabd33b4b..0a31b4e8e 100644 --- a/stdlib/source/library/lux/math/number/ratio.lux +++ b/stdlib/source/library/lux/math/number/ratio.lux @@ -1,23 +1,23 @@ (.module: [library - [lux {"-" [nat]} + [lux {"-" nat} [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [monoid {"+" [Monoid]}] - [codec {"+" [Codec]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [monoid {"+" Monoid}] + [codec {"+" Codec}] + [monad {"+" do}]] [control ["[0]" function] ["[0]" maybe] ["[0]" try] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" monoid)]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]]]] [// ["n" nat ("[1]#[0]" decimal)]]) diff --git a/stdlib/source/library/lux/math/number/rev.lux b/stdlib/source/library/lux/math/number/rev.lux index 5acce7f5b..7f594c5ac 100644 --- a/stdlib/source/library/lux/math/number/rev.lux +++ b/stdlib/source/library/lux/math/number/rev.lux @@ -2,19 +2,19 @@ [library [lux "*" [abstract - [hash {"+" [Hash]}] - [enum {"+" [Enum]}] - [interval {"+" [Interval]}] - [monoid {"+" [Monoid]}] - [equivalence {"+" [Equivalence]}] - [codec {"+" [Codec]}] - [order {"+" [Order]}]] + [hash {"+" Hash}] + [enum {"+" Enum}] + [interval {"+" Interval}] + [monoid {"+" Monoid}] + [equivalence {"+" Equivalence}] + [codec {"+" Codec}] + [order {"+" Order}]] [control ["[0]" maybe] ["[0]" try]] [data [collection - ["[0]" array {"+" [Array]}]]]]] + ["[0]" array {"+" Array}]]]]] ["[0]" // "_" ["[1][0]" i64] ["[1][0]" nat] diff --git a/stdlib/source/library/lux/math/random.lux b/stdlib/source/library/lux/math/random.lux index 47c83ad6c..3b0d97912 100644 --- a/stdlib/source/library/lux/math/random.lux +++ b/stdlib/source/library/lux/math/random.lux @@ -1,41 +1,41 @@ (.module: [library - [lux {"-" [or and list i64 nat int rev char]} + [lux {"-" or and list i64 nat int rev char} [abstract - [hash {"+" [Hash]}] - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - ["[0]" monad {"+" [Monad do]}]] + [hash {"+" Hash}] + [functor {"+" Functor}] + [apply {"+" Apply}] + ["[0]" monad {"+" Monad do}]] [data - ["[0]" text {"+" [Char]} ("[1]#[0]" monoid) + ["[0]" text {"+" Char} ("[1]#[0]" monoid) ["[0]" unicode "_" ["[1]" set]]] [collection ["[0]" list ("[1]#[0]" mix)] - ["[0]" array {"+" [Array]}] - ["[0]" dictionary {"+" [Dictionary]}] - ["[0]" queue {"+" [Queue]}] - ["[0]" set {"+" [Set]}] - ["[0]" stack {"+" [Stack]}] - ["[0]" row {"+" [Row]}] + ["[0]" array {"+" Array}] + ["[0]" dictionary {"+" Dictionary}] + ["[0]" queue {"+" Queue}] + ["[0]" set {"+" Set}] + ["[0]" stack {"+" Stack}] + ["[0]" row {"+" Row}] [tree - ["[0]" finger {"+" [Tree]}]]]] + ["[0]" finger {"+" Tree}]]]] [math - [number {"+" [hex]} + [number {"+" hex} ["n" nat] ["i" int] ["f" frac] ["r" ratio] ["c" complex] ["[0]" i64]]] - ["[0]" time {"+" [Time]} - ["[0]" instant {"+" [Instant]}] - ["[0]" date {"+" [Date]}] - ["[0]" duration {"+" [Duration]}] - ["[0]" month {"+" [Month]}] - ["[0]" day {"+" [Day]}]] + ["[0]" time {"+" Time} + ["[0]" instant {"+" Instant}] + ["[0]" date {"+" Date}] + ["[0]" duration {"+" Duration}] + ["[0]" month {"+" Month}] + ["[0]" day {"+" Day}]] [type - [refinement {"+" [Refiner Refined]}]]]]) + [refinement {"+" Refiner Refined}]]]]) (type: .public PRNG (Rec PRNG diff --git a/stdlib/source/library/lux/meta.lux b/stdlib/source/library/lux/meta.lux index 796cabca8..d933d561b 100644 --- a/stdlib/source/library/lux/meta.lux +++ b/stdlib/source/library/lux/meta.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [type macro try]} + [lux {"-" type macro try} [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - ["[0]" monad {"+" [Monad do]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + ["[0]" monad {"+" Monad do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" product] ["[0]" text ("[1]#[0]" monoid order)] diff --git a/stdlib/source/library/lux/meta/location.lux b/stdlib/source/library/lux/meta/location.lux index cab265419..6cc10a3c2 100644 --- a/stdlib/source/library/lux/meta/location.lux +++ b/stdlib/source/library/lux/meta/location.lux @@ -2,7 +2,7 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]]]]) + [equivalence {"+" Equivalence}]]]]) (implementation: .public equivalence (Equivalence Location) diff --git a/stdlib/source/library/lux/program.lux b/stdlib/source/library/lux/program.lux index 372f88fd2..b2690af76 100644 --- a/stdlib/source/library/lux/program.lux +++ b/stdlib/source/library/lux/program.lux @@ -3,7 +3,7 @@ [lux "*" ["@" target] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" io] [concurrency @@ -11,8 +11,8 @@ ["<>" parser ["<[0]>" code] ["<[0]>" cli]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code]]]]) (type: Arguments diff --git a/stdlib/source/library/lux/static.lux b/stdlib/source/library/lux/static.lux index b895838db..ba2c9dad9 100644 --- a/stdlib/source/library/lux/static.lux +++ b/stdlib/source/library/lux/static.lux @@ -1,18 +1,18 @@ (.module: [library - [lux {"-" [nat int rev]} + [lux {"-" nat int rev} ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["<>" parser ["<[0]>" code]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]}] - ["[0]" random {"+" [Random]}]]]]) + [number {"+" hex}] + ["[0]" random {"+" Random}]]]]) (template [ ] [(syntax: .public ( [expression .any]) diff --git a/stdlib/source/library/lux/target/common_lisp.lux b/stdlib/source/library/lux/target/common_lisp.lux index 95f2f30dc..21258a8bf 100644 --- a/stdlib/source/library/lux/target/common_lisp.lux +++ b/stdlib/source/library/lux/target/common_lisp.lux @@ -1,11 +1,11 @@ (.module: [library - [lux {"-" [Code int if cond or and comment let]} + [lux {"-" Code int if cond or and comment let} [control - [pipe {"+" [case> cond> new>]}]] + [pipe {"+" case> cond> new>}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" monad monoid)]]] [macro diff --git a/stdlib/source/library/lux/target/js.lux b/stdlib/source/library/lux/target/js.lux index 52e7b0e13..dc1a4d71b 100644 --- a/stdlib/source/library/lux/target/js.lux +++ b/stdlib/source/library/lux/target/js.lux @@ -1,11 +1,11 @@ (.module: [library - [lux {"-" [Location Code Label or and function if cond undefined for comment not int try ++ --]} + [lux {"-" Location Code Label or and function if cond undefined for comment not int try ++ --} [control - [pipe {"+" [case>]}]] + [pipe {"+" case>}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [macro diff --git a/stdlib/source/library/lux/target/jvm.lux b/stdlib/source/library/lux/target/jvm.lux index 4e04312ff..f3b90b6bf 100644 --- a/stdlib/source/library/lux/target/jvm.lux +++ b/stdlib/source/library/lux/target/jvm.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [Type Label]} + [lux {"-" Type Label} [data [collection - [row {"+" [Row]}]]] + [row {"+" Row}]]] [target [jvm - [type {"+" [Type]} - ["[0]" category {"+" [Primitive Class Value Method]}]]]]]]) + [type {"+" Type} + ["[0]" category {"+" Primitive Class Value Method}]]]]]]) (type: .public Literal (Variant diff --git a/stdlib/source/library/lux/target/jvm/attribute.lux b/stdlib/source/library/lux/target/jvm/attribute.lux index bf99e9f2e..e4862763a 100644 --- a/stdlib/source/library/lux/target/jvm/attribute.lux +++ b/stdlib/source/library/lux/target/jvm/attribute.lux @@ -1,28 +1,28 @@ (.module: [library - [lux {"-" [Info Code]} + [lux {"-" Info Code} [abstract - [monad {"+" [do]}] - ["[0]" equivalence {"+" [Equivalence]}]] + [monad {"+" do}] + ["[0]" equivalence {"+" Equivalence}]] [control ["[0]" try] - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data ["[0]" sum] ["[0]" product] [format - ["[0]F" binary {"+" [Writer]}]]] + ["[0]F" binary {"+" Writer}]]] [math [number ["n" nat]]]]] ["[0]" // "_" - ["[1][0]" index {"+" [Index]}] + ["[1][0]" index {"+" Index}] [encoding - ["[1][0]" unsigned {"+" [U2 U4]}]] - ["[1][0]" constant {"+" [UTF8 Class Value]} - ["[1]/[0]" pool {"+" [Pool Resource]}]]] + ["[1][0]" unsigned {"+" U2 U4}]] + ["[1][0]" constant {"+" UTF8 Class Value} + ["[1]/[0]" pool {"+" Pool Resource}]]] ["[0]" / "_" - ["[1][0]" constant {"+" [Constant]}] + ["[1][0]" constant {"+" Constant}] ["[1][0]" code]]) (type: .public (Info about) diff --git a/stdlib/source/library/lux/target/jvm/attribute/code.lux b/stdlib/source/library/lux/target/jvm/attribute/code.lux index 80be8c567..94498a51e 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/code.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/code.lux @@ -1,26 +1,26 @@ (.module: [library - [lux {"-" [Code]} + [lux {"-" Code} [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data ["[0]" product] - ["[0]" binary {"+" [Binary]}] + ["[0]" binary {"+" Binary}] [format - ["[0]F" binary {"+" [Writer]} ("[1]#[0]" monoid)]] + ["[0]F" binary {"+" Writer} ("[1]#[0]" monoid)]] [collection - ["[0]" row {"+" [Row]} ("[1]#[0]" functor mix)]]] + ["[0]" row {"+" Row} ("[1]#[0]" functor mix)]]] [math [number ["n" nat]]]]] ["[0]" /// "_" [bytecode [environment - ["[1][0]" limit {"+" [Limit]}]]] + ["[1][0]" limit {"+" Limit}]]] [encoding - ["[1][0]" unsigned {"+" [U2]}]]] + ["[1][0]" unsigned {"+" U2}]]] ["[0]" / "_" - ["[1][0]" exception {"+" [Exception]}]]) + ["[1][0]" exception {"+" Exception}]]) (type: .public (Code Attribute) (Record 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 fe7f8abd9..d698aa791 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux @@ -2,22 +2,22 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data ["[0]" product] ["[0]" format "_" - ["[1]" binary {"+" [Writer]}]]] + ["[1]" binary {"+" Writer}]]] [math [number ["n" nat]]]]] ["[0]" // "_" ["//[1]" /// "_" - [constant {"+" [Class]}] - ["[1][0]" index {"+" [Index]}] + [constant {"+" Class}] + ["[1][0]" index {"+" Index}] [bytecode - ["[1][0]" address {"+" [Address]}]] + ["[1][0]" address {"+" Address}]] [encoding - ["[1][0]" unsigned {"+" [U2]}]]]]) + ["[1][0]" unsigned {"+" U2}]]]]) (type: .public Exception (Record diff --git a/stdlib/source/library/lux/target/jvm/attribute/constant.lux b/stdlib/source/library/lux/target/jvm/attribute/constant.lux index fbb01cb30..ed0c8f513 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/constant.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/constant.lux @@ -2,15 +2,15 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data [format - [binary {"+" [Writer]}]]]]] + [binary {"+" Writer}]]]]] ["[0]" /// "_" - [constant {"+" [Value]}] - ["[1][0]" index {"+" [Index]}] + [constant {"+" Value}] + ["[1][0]" index {"+" Index}] [encoding - ["[1][0]" unsigned {"+" [U2 U4]}]]]) + ["[1][0]" unsigned {"+" U2 U4}]]]) (type: .public (Constant a) (Index (Value a))) diff --git a/stdlib/source/library/lux/target/jvm/bytecode.lux b/stdlib/source/library/lux/target/jvm/bytecode.lux index b427b5b95..1e49699c7 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode.lux @@ -1,53 +1,53 @@ (.module: [library - [lux {"-" [Type Label int try]} - ["[0]" ffi {"+" [import:]}] + [lux {"-" Type Label int try} + ["[0]" ffi {"+" import:}] [abstract - [monoid {"+" [Monoid]}] - ["[0]" monad {"+" [Monad do]}]] + [monoid {"+" Monoid}] + ["[0]" monad {"+" Monad do}]] [control - ["[0]" writer {"+" [Writer]}] - ["[0]" state {"+" [+State]}] + ["[0]" writer {"+" Writer}] + ["[0]" state {"+" +State}] ["[0]" function] ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" dictionary {"+" [Dictionary]}] - ["[0]" row {"+" [Row]}]]] + ["[0]" dictionary {"+" Dictionary}] + ["[0]" row {"+" Row}]]] [macro ["[0]" template]] [math [number ["n" nat] ["i" int] - ["[0]" i32 {"+" [I32]}]]]]] + ["[0]" i32 {"+" I32}]]]]] ["[0]" / "_" - ["[1][0]" address {"+" [Address]}] - ["[1][0]" jump {"+" [Jump Big_Jump]}] - ["_" instruction {"+" [Primitive_Array_Type Instruction Estimator]} ("[1]#[0]" monoid)] - ["[1][0]" environment {"+" [Environment]} + ["[1][0]" address {"+" Address}] + ["[1][0]" jump {"+" Jump Big_Jump}] + ["_" instruction {"+" Primitive_Array_Type Instruction Estimator} ("[1]#[0]" monoid)] + ["[1][0]" environment {"+" Environment} [limit - ["/[0]" registry {"+" [Register Registry]}] - ["/[0]" stack {"+" [Stack]}]]] + ["/[0]" registry {"+" Register Registry}] + ["/[0]" stack {"+" Stack}]]] ["/[1]" // "_" - ["[1][0]" index {"+" [Index]}] + ["[1][0]" index {"+" Index}] [encoding ["[1][0]" name] - ["[1][0]" unsigned {"+" [U1 U2]}] - ["[1][0]" signed {"+" [S1 S2 S4]}]] - ["[1][0]" constant {"+" [UTF8]} - ["[1]/[0]" pool {"+" [Pool Resource]}]] + ["[1][0]" unsigned {"+" U1 U2}] + ["[1][0]" signed {"+" S1 S2 S4}]] + ["[1][0]" constant {"+" UTF8} + ["[1]/[0]" pool {"+" Pool Resource}]] [attribute [code - ["[1][0]" exception {"+" [Exception]}]]] - ["[0]" type {"+" [Type]} - [category {"+" [Class Object Value' Value Return' Return Method]}] + ["[1][0]" exception {"+" Exception}]]] + ["[0]" type {"+" Type} + [category {"+" Class Object Value' Value Return' Return Method}] ["[0]" reflection] ["[0]" parser]]]]) diff --git a/stdlib/source/library/lux/target/jvm/bytecode/address.lux b/stdlib/source/library/lux/target/jvm/bytecode/address.lux index a4dc3d5ce..48972376b 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/address.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/address.lux @@ -2,26 +2,26 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data [format - [binary {"+" [Writer]}]] + [binary {"+" Writer}]] [text - ["%" format {"+" [Format]}]]] + ["%" format {"+" Format}]]] [math [number ["n" nat]]] [type abstract]]] ["[0]" // "_" - [jump {"+" [Big_Jump]}] + [jump {"+" Big_Jump}] ["/[1]" // "_" [encoding - ["[1][0]" unsigned {"+" [U2]}] - ["[1][0]" signed {"+" [S4]}]]]]) + ["[1][0]" unsigned {"+" U2}] + ["[1][0]" signed {"+" S4}]]]]) (abstract: .public Address U2 diff --git a/stdlib/source/library/lux/target/jvm/bytecode/environment.lux b/stdlib/source/library/lux/target/jvm/bytecode/environment.lux index 091c91798..a62e59c21 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment.lux @@ -1,21 +1,21 @@ (.module: [library - [lux {"-" [Type static]} + [lux {"-" Type static} [abstract - [monad {"+" [do]}] - [monoid {"+" [Monoid]}]] + [monad {"+" do}] + [monoid {"+" Monoid}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]]]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]]]] [/ - ["/[0]" limit {"+" [Limit]} - ["/[0]" stack {"+" [Stack]}] - ["/[0]" registry {"+" [Registry]}]] + ["/[0]" limit {"+" Limit} + ["/[0]" stack {"+" Stack}] + ["/[0]" registry {"+" Registry}]] [/// [encoding - [unsigned {"+" [U2]}]] - [type {"+" [Type]} - [category {"+" [Method]}]]]]) + [unsigned {"+" U2}]] + [type {"+" Type} + [category {"+" Method}]]]]) (type: .public Environment (Record 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 f2f9407ab..98a5f2710 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux @@ -1,24 +1,24 @@ (.module: [library - [lux {"-" [Type static]} + [lux {"-" Type static} [abstract - [monad {"+" [do]}] - [equivalence {"+" [Equivalence]}]] + [monad {"+" do}] + [equivalence {"+" Equivalence}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" product] ["[0]" format "_" - ["[1]" binary {"+" [Writer]} ("[1]#[0]" monoid)]]] + ["[1]" binary {"+" Writer} ("[1]#[0]" monoid)]]] [math [number ["n" nat]]]]] ["[0]" / "_" - ["[1][0]" stack {"+" [Stack]}] - ["[1][0]" registry {"+" [Registry]}] + ["[1][0]" stack {"+" Stack}] + ["[1][0]" registry {"+" Registry}] [//// - [type {"+" [Type]} - [category {"+" [Method]}]]]]) + [type {"+" Type} + [category {"+" Method}]]]]) (type: .public Limit (Record 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 b3ba2cd9a..46451cf04 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 @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [Type for static]} + [lux {"-" Type for static} [abstract - ["[0]" equivalence {"+" [Equivalence]}]] + ["[0]" equivalence {"+" Equivalence}]] [control - ["[0]" try {"+" [Try]} ("[1]#[0]" functor)]] + ["[0]" try {"+" Try} ("[1]#[0]" functor)]] [data [format - [binary {"+" [Writer]}]] + [binary {"+" Writer}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [math @@ -17,9 +17,9 @@ abstract]]] ["[0]" ///// "_" [encoding - ["[1][0]" unsigned {"+" [U1 U2]}]] - ["[1][0]" type {"+" [Type]} - [category {"+" [Method]}] + ["[1][0]" unsigned {"+" U1 U2}]] + ["[1][0]" type {"+" Type} + [category {"+" Method}] ["[1]/[0]" parser]]]) (type: .public Register 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 32ca66e4f..f92c7b61d 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 @@ -2,20 +2,20 @@ [library [lux "*" [abstract - ["[0]" equivalence {"+" [Equivalence]}]] + ["[0]" equivalence {"+" Equivalence}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data [text - ["%" format {"+" [Format]}]] + ["%" format {"+" Format}]] [format - [binary {"+" [Writer]}]]] + [binary {"+" Writer}]]] [type abstract]]] ["[0]" ///// "_" [encoding - ["[1][0]" unsigned {"+" [U2]}]]]) + ["[1][0]" unsigned {"+" U2}]]]) (abstract: .public Stack U2 diff --git a/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux b/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux index e2c89d203..b47e4d4ba 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux @@ -2,8 +2,8 @@ [library [lux "*" [abstract - [monad {"+" [do]}] - [monoid {"+" [Monoid]}]] + [monad {"+" do}] + [monoid {"+" Monoid}]] [control ["[0]" function] ["[0]" try]] @@ -11,30 +11,30 @@ ["[0]" product] ["[0]" binary] ["[0]" format "_" - ["[1]" binary {"+" [Mutation Specification]}]] + ["[1]" binary {"+" Mutation Specification}]] [collection ["[0]" list]]] [macro ["[0]" template]] [math - [number {"+" [hex]} + [number {"+" hex} ["n" nat]]] [type abstract]]] ["[0]" // "_" - ["[1][0]" address {"+" [Address]}] - ["[1][0]" jump {"+" [Jump Big_Jump]}] + ["[1][0]" address {"+" Address}] + ["[1][0]" jump {"+" Jump Big_Jump}] [environment [limit - [registry {"+" [Register]}]]] + [registry {"+" Register}]]] ["/[1]" // "_" - ["[1][0]" index {"+" [Index]}] - ["[1][0]" constant {"+" [Class Reference]}] + ["[1][0]" index {"+" Index}] + ["[1][0]" constant {"+" Class Reference}] [encoding - ["[1][0]" unsigned {"+" [U1 U2 U4]}] - ["[1][0]" signed {"+" [S1 S2 S4]}]] + ["[1][0]" unsigned {"+" U1 U2 U4}] + ["[1][0]" signed {"+" S1 S2 S4}]] [type - [category {"+" [Value Method]}]]]]) + [category {"+" Value Method}]]]]) (type: .public Size U2) diff --git a/stdlib/source/library/lux/target/jvm/bytecode/jump.lux b/stdlib/source/library/lux/target/jvm/bytecode/jump.lux index e300e51ae..ac41345fa 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/jump.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/jump.lux @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data ["[0]" format "_" - ["[1]" binary {"+" [Writer]}]]]]] + ["[1]" binary {"+" Writer}]]]]] ["[0]" /// "_" [encoding - ["[1][0]" signed {"+" [S2 S4]}]]]) + ["[1][0]" signed {"+" S2 S4}]]]) (type: .public Jump S2) diff --git a/stdlib/source/library/lux/target/jvm/class.lux b/stdlib/source/library/lux/target/jvm/class.lux index f3d6bfae5..1658327f2 100644 --- a/stdlib/source/library/lux/target/jvm/class.lux +++ b/stdlib/source/library/lux/target/jvm/class.lux @@ -1,31 +1,31 @@ (.module: [library - [lux {"-" [public private]} + [lux {"-" public private} [abstract - [equivalence {"+" [Equivalence]}] - ["[0]" monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + ["[0]" monad {"+" do}]] [control ["[0]" state] - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data ["[0]" product] [format - ["[0]F" binary {"+" [Writer]} ("[1]#[0]" monoid)]] + ["[0]F" binary {"+" Writer} ("[1]#[0]" monoid)]] [collection - ["[0]" row {"+" [Row]}]]]]] + ["[0]" row {"+" Row}]]]]] ["[0]" // "_" - ["[1][0]" modifier {"+" [Modifier modifiers:]}] - ["[1][0]" version {"+" [Version Minor Major]}] - ["[1][0]" magic {"+" [Magic]}] - ["[1][0]" index {"+" [Index]}] - ["[1][0]" attribute {"+" [Attribute]}] - ["[1][0]" field {"+" [Field]}] - ["[1][0]" method {"+" [Method]}] + ["[1][0]" modifier {"+" Modifier modifiers:}] + ["[1][0]" version {"+" Version Minor Major}] + ["[1][0]" magic {"+" Magic}] + ["[1][0]" index {"+" Index}] + ["[1][0]" attribute {"+" Attribute}] + ["[1][0]" field {"+" Field}] + ["[1][0]" method {"+" Method}] [encoding ["[1][0]" unsigned] - ["[1][0]" name {"+" [Internal]}]] - ["[1][0]" constant {"+" [Constant]} - ["[1]/[0]" pool {"+" [Pool Resource]}]]]) + ["[1][0]" name {"+" Internal}]] + ["[1][0]" constant {"+" Constant} + ["[1]/[0]" pool {"+" Pool Resource}]]]) (type: .public Class (Rec Class diff --git a/stdlib/source/library/lux/target/jvm/constant.lux b/stdlib/source/library/lux/target/jvm/constant.lux index d4841fd43..41a196162 100644 --- a/stdlib/source/library/lux/target/jvm/constant.lux +++ b/stdlib/source/library/lux/target/jvm/constant.lux @@ -2,23 +2,23 @@ [library [lux "*" ["@" target] - ["[0]" ffi {"+" [import:]}] + ["[0]" ffi {"+" import:}] [abstract - [monad {"+" [do]}] - ["[0]" equivalence {"+" [Equivalence]}]] + [monad {"+" do}] + ["[0]" equivalence {"+" Equivalence}]] [data ["[0]" sum] ["[0]" product] ["[0]" text] [format - ["[0]F" binary {"+" [Writer]} ("[1]#[0]" monoid)]] + ["[0]F" binary {"+" Writer} ("[1]#[0]" monoid)]] [collection - ["[0]" row {"+" [Row]}]]] + ["[0]" row {"+" Row}]]] [macro ["[0]" template]] [math [number - ["[0]" i32 {"+" [I32]}] + ["[0]" i32 {"+" I32}] ["[0]" i64] ["[0]" int] ["[0]" frac]]] @@ -27,10 +27,10 @@ ["[0]" / "_" ["[1][0]" tag] ["/[1]" // "_" - ["[1][0]" index {"+" [Index]}] + ["[1][0]" index {"+" Index}] [type ["[1][0]" category] - ["[1][0]" descriptor {"+" [Descriptor]}]] + ["[1][0]" descriptor {"+" Descriptor}]] [encoding ["[1][0]" unsigned]]]]) diff --git a/stdlib/source/library/lux/target/jvm/constant/pool.lux b/stdlib/source/library/lux/target/jvm/constant/pool.lux index f3cab4463..8451bfdfa 100644 --- a/stdlib/source/library/lux/target/jvm/constant/pool.lux +++ b/stdlib/source/library/lux/target/jvm/constant/pool.lux @@ -3,18 +3,18 @@ [lux "*" ["[0]" ffi] [abstract - [equivalence {"+" [Equivalence]}] - [monad {"+" [Monad do]}]] + [equivalence {"+" Equivalence}] + [monad {"+" Monad do}]] [control - ["[0]" state {"+" [+State]}] - ["[0]" try {"+" [Try]}]] + ["[0]" state {"+" +State}] + ["[0]" try {"+" Try}]] [data ["[0]" product] ["[0]" text] ["[0]" format "_" - ["[1]" binary {"+" [Writer]} ("specification#[0]" monoid)]] + ["[1]" binary {"+" Writer} ("specification#[0]" monoid)]] [collection - ["[0]" row {"+" [Row]} ("[1]#[0]" mix)]]] + ["[0]" row {"+" Row} ("[1]#[0]" mix)]]] [macro ["[0]" template]] [math @@ -25,15 +25,15 @@ ["[0]" frac]]] [type abstract]]] - ["[0]" // {"+" [UTF8 String Class Integer Float Long Double Constant Name_And_Type Reference]} + ["[0]" // {"+" UTF8 String Class Integer Float Long Double Constant Name_And_Type Reference} [// [encoding - ["[1][0]" name {"+" [Internal External]}] + ["[1][0]" name {"+" Internal External}] ["[1][0]" unsigned]] - ["[1][0]" index {"+" [Index]}] + ["[1][0]" index {"+" Index}] [type - [category {"+" [Value Method]}] - ["[1][0]" descriptor {"+" [Descriptor]}]]]]) + [category {"+" Value Method}] + ["[1][0]" descriptor {"+" Descriptor}]]]]) (type: .public Pool [Index (Row [Index Constant])]) diff --git a/stdlib/source/library/lux/target/jvm/constant/tag.lux b/stdlib/source/library/lux/target/jvm/constant/tag.lux index 73ff384f4..ce2c1c887 100644 --- a/stdlib/source/library/lux/target/jvm/constant/tag.lux +++ b/stdlib/source/library/lux/target/jvm/constant/tag.lux @@ -2,17 +2,17 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control ["[0]" try]] [data [format - [binary {"+" [Writer]}]]] + [binary {"+" Writer}]]] [type abstract]]] ["[0]" /// "_" [encoding - ["[1][0]" unsigned {"+" [U1]} ("u1//[0]" equivalence)]]]) + ["[1][0]" unsigned {"+" U1} ("u1//[0]" equivalence)]]]) (abstract: .public Tag U1 diff --git a/stdlib/source/library/lux/target/jvm/encoding/name.lux b/stdlib/source/library/lux/target/jvm/encoding/name.lux index c7776612a..66bb3fddf 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/name.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/name.lux @@ -3,7 +3,7 @@ [lux "*" [data ["[0]" text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [type abstract]]]) diff --git a/stdlib/source/library/lux/target/jvm/encoding/signed.lux b/stdlib/source/library/lux/target/jvm/encoding/signed.lux index 5135e4a76..d07406031 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/signed.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/signed.lux @@ -1,17 +1,17 @@ (.module: [library - [lux {"-" [int]} + [lux {"-" int} [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] ["[0]" format "_" - ["[1]" binary {"+" [Writer]}]]] + ["[1]" binary {"+" Writer}]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux b/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux index 1138d61ad..b43c060a4 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux @@ -1,17 +1,17 @@ (.module: [library - [lux {"-" [nat]} + [lux {"-" nat} [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] ["[0]" format "_" - ["[1]" binary {"+" [Writer]}]]] + ["[1]" binary {"+" Writer}]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/library/lux/target/jvm/field.lux b/stdlib/source/library/lux/target/jvm/field.lux index 9ec1ef046..9d1b50706 100644 --- a/stdlib/source/library/lux/target/jvm/field.lux +++ b/stdlib/source/library/lux/target/jvm/field.lux @@ -1,24 +1,24 @@ (.module: [library - [lux {"-" [Type static public private]} + [lux {"-" Type static public private} [abstract - [equivalence {"+" [Equivalence]}] - ["[0]" monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + ["[0]" monad {"+" do}]] [data ["[0]" product] [format - ["[0]F" binary {"+" [Writer]} ("[1]#[0]" monoid)]] + ["[0]F" binary {"+" Writer} ("[1]#[0]" monoid)]] [collection - ["[0]" row {"+" [Row]}]]]]] + ["[0]" row {"+" Row}]]]]] ["[0]" // "_" - ["[0]" modifier {"+" [Modifier modifiers:]}] - ["[1][0]" constant {"+" [UTF8]} - ["[1]/[0]" pool {"+" [Pool Resource]}]] - ["[1][0]" index {"+" [Index]}] - ["[1][0]" attribute {"+" [Attribute]}] - ["[1][0]" type {"+" [Type]} - [category {"+" [Value]}] - [descriptor {"+" [Descriptor]}]]]) + ["[0]" modifier {"+" Modifier modifiers:}] + ["[1][0]" constant {"+" UTF8} + ["[1]/[0]" pool {"+" Pool Resource}]] + ["[1][0]" index {"+" Index}] + ["[1][0]" attribute {"+" Attribute}] + ["[1][0]" type {"+" Type} + [category {"+" Value}] + [descriptor {"+" Descriptor}]]]) (type: .public Field (Rec Field diff --git a/stdlib/source/library/lux/target/jvm/index.lux b/stdlib/source/library/lux/target/jvm/index.lux index 13b965aa5..dcd7a87c3 100644 --- a/stdlib/source/library/lux/target/jvm/index.lux +++ b/stdlib/source/library/lux/target/jvm/index.lux @@ -2,15 +2,15 @@ [library [lux "*" [abstract - ["[0]" equivalence {"+" [Equivalence]}]] + ["[0]" equivalence {"+" Equivalence}]] [data [format - [binary {"+" [Writer]}]]] + [binary {"+" Writer}]]] [type abstract]]] ["[0]" // "_" [encoding - ["[1][0]" unsigned {"+" [U2]}]]]) + ["[1][0]" unsigned {"+" U2}]]]) (def: .public length //unsigned.bytes/2) diff --git a/stdlib/source/library/lux/target/jvm/loader.lux b/stdlib/source/library/lux/target/jvm/loader.lux index 00b26447d..38f2b48c4 100644 --- a/stdlib/source/library/lux/target/jvm/loader.lux +++ b/stdlib/source/library/lux/target/jvm/loader.lux @@ -2,22 +2,22 @@ [library [lux "*" ["@" target] - ["[0]" ffi {"+" [import: object do_to]}] + ["[0]" ffi {"+" import: object do_to}] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO}] [concurrency - ["[0]" atom {"+" [Atom]}]]] + ["[0]" atom {"+" Atom}]]] [data - ["[0]" binary {"+" [Binary]}] + ["[0]" binary {"+" Binary}] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" array] - ["[0]" dictionary {"+" [Dictionary]}]]]]]) + ["[0]" dictionary {"+" Dictionary}]]]]]) (type: .public Library (Atom (Dictionary Text Binary))) diff --git a/stdlib/source/library/lux/target/jvm/magic.lux b/stdlib/source/library/lux/target/jvm/magic.lux index eb49b52f3..8483efd2f 100644 --- a/stdlib/source/library/lux/target/jvm/magic.lux +++ b/stdlib/source/library/lux/target/jvm/magic.lux @@ -4,10 +4,10 @@ [control ["[0]" try]] [math - [number {"+" [hex]}]]]] + [number {"+" hex}]]]] ["[0]" // "_" [encoding - ["[1][0]" unsigned {"+" [U4]}]]]) + ["[1][0]" unsigned {"+" U4}]]]) (type: .public Magic U4) diff --git a/stdlib/source/library/lux/target/jvm/method.lux b/stdlib/source/library/lux/target/jvm/method.lux index 66f3d9f7d..e4b70f437 100644 --- a/stdlib/source/library/lux/target/jvm/method.lux +++ b/stdlib/source/library/lux/target/jvm/method.lux @@ -1,30 +1,30 @@ (.module: [library - [lux {"-" [Type static public private]} + [lux {"-" Type static public private} [abstract - [equivalence {"+" [Equivalence]}] - ["[0]" monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + ["[0]" monad {"+" do}]] [control ["[0]" try]] [data ["[0]" product] ["[0]" format "_" - ["[1]" binary {"+" [Writer]} ("[1]#[0]" monoid)]] + ["[1]" binary {"+" Writer} ("[1]#[0]" monoid)]] [collection - ["[0]" row {"+" [Row]}]]]]] + ["[0]" row {"+" Row}]]]]] ["[0]" // "_" - ["[1][0]" modifier {"+" [Modifier modifiers:]}] - ["[1][0]" index {"+" [Index]}] - ["[1][0]" attribute {"+" [Attribute]} + ["[1][0]" modifier {"+" Modifier modifiers:}] + ["[1][0]" index {"+" Index}] + ["[1][0]" attribute {"+" Attribute} ["[1]/[0]" code]] - ["[1][0]" constant {"+" [UTF8]} - ["[1]/[0]" pool {"+" [Pool Resource]}]] - ["[1][0]" bytecode {"+" [Bytecode]} - ["[1]/[0]" environment {"+" [Environment]}] + ["[1][0]" constant {"+" UTF8} + ["[1]/[0]" pool {"+" Pool Resource}]] + ["[1][0]" bytecode {"+" Bytecode} + ["[1]/[0]" environment {"+" Environment}] ["[1]/[0]" instruction]] - ["[1][0]" type {"+" [Type]} + ["[1][0]" type {"+" Type} ["[1]/[0]" category] - ["[1][0]" descriptor {"+" [Descriptor]}]]]) + ["[1][0]" descriptor {"+" Descriptor}]]]) (type: .public Method (Rec Method diff --git a/stdlib/source/library/lux/target/jvm/modifier.lux b/stdlib/source/library/lux/target/jvm/modifier.lux index 31306b4bb..3ab952378 100644 --- a/stdlib/source/library/lux/target/jvm/modifier.lux +++ b/stdlib/source/library/lux/target/jvm/modifier.lux @@ -2,20 +2,20 @@ [library [lux "*" [abstract - ["[0]" equivalence {"+" [Equivalence]}] - ["[0]" monoid {"+" [Monoid]}]] + ["[0]" equivalence {"+" Equivalence}] + ["[0]" monoid {"+" Monoid}]] [control ["[0]" try] ["<>" parser ["<[0]>" code]]] [data [format - ["[0]F" binary {"+" [Writer]}]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}] + ["[0]F" binary {"+" Writer}]]] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}] ["[0]" code]] [math - ["[0]" number {"+" [hex]} + ["[0]" number {"+" hex} ["[0]" i64]]] [type abstract]]] diff --git a/stdlib/source/library/lux/target/jvm/modifier/inner.lux b/stdlib/source/library/lux/target/jvm/modifier/inner.lux index 8456668bb..528d9d9c8 100644 --- a/stdlib/source/library/lux/target/jvm/modifier/inner.lux +++ b/stdlib/source/library/lux/target/jvm/modifier/inner.lux @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [static]} + [lux {"-" static} [type abstract]]] - [// {"+" [modifiers:]}]) + [// {"+" modifiers:}]) (abstract: .public Inner Any) diff --git a/stdlib/source/library/lux/target/jvm/reflection.lux b/stdlib/source/library/lux/target/jvm/reflection.lux index bad48f5ee..0a40c6cee 100644 --- a/stdlib/source/library/lux/target/jvm/reflection.lux +++ b/stdlib/source/library/lux/target/jvm/reflection.lux @@ -1,18 +1,18 @@ (.module: [library - [lux {"-" [type]} - ["[0]" ffi {"+" [import:]}] + [lux {"-" type} + ["[0]" ffi {"+" import:}] ["[0]" type] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] [parser ["" text]]] [data ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" mix functor)] ["[0]" array] @@ -22,10 +22,10 @@ ["n" nat]]]]] ["[0]" // "_" [encoding - ["[1][0]" name {"+" [External]}]] + ["[1][0]" name {"+" External}]] ["/" type - [category {"+" [Void Value Return Method Primitive Object Class Array Parameter]}] - ["[1][0]" lux {"+" [Mapping]}] + [category {"+" Void Value Return Method Primitive Object Class Array Parameter}] + ["[1][0]" lux {"+" Mapping}] ["[1][0]" descriptor] ["[1][0]" reflection] ["[1][0]" parser]]]) diff --git a/stdlib/source/library/lux/target/jvm/type.lux b/stdlib/source/library/lux/target/jvm/type.lux index 737d7e878..e77c8a64b 100644 --- a/stdlib/source/library/lux/target/jvm/type.lux +++ b/stdlib/source/library/lux/target/jvm/type.lux @@ -1,14 +1,14 @@ (.module: [library - [lux {"-" [Type int char]} + [lux {"-" Type int char} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [control ["[0]" maybe]] [data ["[0]" text - ["%" format {"+" [Format]}]] + ["%" format {"+" Format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [math @@ -18,12 +18,12 @@ abstract]]] ["[0]" // "_" [encoding - ["[1][0]" name {"+" [External]}]]] + ["[1][0]" name {"+" External}]]] ["[0]" / "_" - [category {"+" [Void Value' Value Return' Return Method Primitive Object Class Array Var Parameter Declaration]}] - ["[1][0]" signature {"+" [Signature]}] - ["[1][0]" descriptor {"+" [Descriptor]}] - ["[1][0]" reflection {"+" [Reflection]}]]) + [category {"+" Void Value' Value Return' Return Method Primitive Object Class Array Var Parameter Declaration}] + ["[1][0]" signature {"+" Signature}] + ["[1][0]" descriptor {"+" Descriptor}] + ["[1][0]" reflection {"+" Reflection}]]) (abstract: .public (Type category) [(Signature category) diff --git a/stdlib/source/library/lux/target/jvm/type/alias.lux b/stdlib/source/library/lux/target/jvm/type/alias.lux index ff6d9174f..022315da8 100644 --- a/stdlib/source/library/lux/target/jvm/type/alias.lux +++ b/stdlib/source/library/lux/target/jvm/type/alias.lux @@ -1,23 +1,23 @@ (.module: [library - [lux {"-" [Type int char type primitive]} + [lux {"-" Type int char type primitive} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" dictionary {"+" [Dictionary]}]]]]] - ["[0]" // {"+" [Type]} - [category {"+" [Void Value Return Method Primitive Object Class Array Var Parameter]}] + ["[0]" dictionary {"+" Dictionary}]]]]] + ["[0]" // {"+" Type} + [category {"+" Void Value Return Method Primitive Object Class Array Var Parameter}] ["[1][0]" descriptor] - ["[1][0]" signature {"+" [Signature]}] + ["[1][0]" signature {"+" Signature}] ["[1][0]" reflection] ["[1][0]" parser] ["/[1]" // "_" diff --git a/stdlib/source/library/lux/target/jvm/type/box.lux b/stdlib/source/library/lux/target/jvm/type/box.lux index 4029aaa28..61f9fc509 100644 --- a/stdlib/source/library/lux/target/jvm/type/box.lux +++ b/stdlib/source/library/lux/target/jvm/type/box.lux @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [int char]}]] + [lux {"-" int char}]] [/// [encoding - [name {"+" [External]}]]]) + [name {"+" External}]]]) (template [ ] [(def: .public External )] diff --git a/stdlib/source/library/lux/target/jvm/type/descriptor.lux b/stdlib/source/library/lux/target/jvm/type/descriptor.lux index 6dbdd800c..5a508fe1c 100644 --- a/stdlib/source/library/lux/target/jvm/type/descriptor.lux +++ b/stdlib/source/library/lux/target/jvm/type/descriptor.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [int char]} + [lux {"-" int char} [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control ["[0]" maybe]] [data ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [math @@ -16,10 +16,10 @@ [type abstract]]] ["[0]" // "_" - [category {"+" [Void Value Return Method Primitive Object Class Array Var Parameter Declaration]}] + [category {"+" Void Value Return Method Primitive Object Class Array Var Parameter Declaration}] ["/[1]" // "_" [encoding - ["[1][0]" name {"+" [Internal External]}]]]]) + ["[1][0]" name {"+" Internal External}]]]]) (abstract: .public (Descriptor category) Text diff --git a/stdlib/source/library/lux/target/jvm/type/lux.lux b/stdlib/source/library/lux/target/jvm/type/lux.lux index ab0c0e76d..d6ffa3fbd 100644 --- a/stdlib/source/library/lux/target/jvm/type/lux.lux +++ b/stdlib/source/library/lux/target/jvm/type/lux.lux @@ -1,25 +1,25 @@ (.module: [library - [lux {"-" [int char type primitive]} + [lux {"-" int char type primitive} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" array] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [type abstract - ["[0]" check {"+" [Check]} ("[1]#[0]" monad)]]]] + ["[0]" check {"+" Check} ("[1]#[0]" monad)]]]] ["[0]" // - [category {"+" [Void Value Return Method Primitive Object Class Array Var Parameter]}] + [category {"+" Void Value Return Method Primitive Object Class Array Var Parameter}] ["[1][0]" descriptor] ["[1][0]" signature] ["[1][0]" reflection] diff --git a/stdlib/source/library/lux/target/jvm/type/parser.lux b/stdlib/source/library/lux/target/jvm/type/parser.lux index c2d058c65..33a061025 100644 --- a/stdlib/source/library/lux/target/jvm/type/parser.lux +++ b/stdlib/source/library/lux/target/jvm/type/parser.lux @@ -1,26 +1,26 @@ (.module: [library - [lux {"-" [Type int char primitive]} + [lux {"-" Type int char primitive} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" try] ["[0]" function] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list]]]]] - ["[0]" // {"+" [Type]} - [category {"+" [Void Value Return Method Primitive Object Class Array Var Parameter Declaration]}] + ["[0]" // {"+" Type} + [category {"+" Void Value Return Method Primitive Object Class Array Var Parameter Declaration}] ["[1][0]" signature] ["[1][0]" descriptor] ["[0]" // "_" [encoding - ["[1][0]" name {"+" [External]}]]]]) + ["[1][0]" name {"+" External}]]]]) (template [ ] [(def: .public diff --git a/stdlib/source/library/lux/target/jvm/type/reflection.lux b/stdlib/source/library/lux/target/jvm/type/reflection.lux index 8c7be4888..00e946acf 100644 --- a/stdlib/source/library/lux/target/jvm/type/reflection.lux +++ b/stdlib/source/library/lux/target/jvm/type/reflection.lux @@ -1,19 +1,19 @@ (.module: [library - [lux {"-" [int char]} + [lux {"-" int char} [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [data ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [type abstract]]] ["[0]" // "_" - [category {"+" [Void Value Return Method Primitive Object Class Array Var Parameter Declaration]}] + [category {"+" Void Value Return Method Primitive Object Class Array Var Parameter Declaration}] ["[1][0]" descriptor] [// [encoding - ["[1][0]" name {"+" [External]}]]]]) + ["[1][0]" name {"+" External}]]]]) (abstract: .public (Reflection category) Text diff --git a/stdlib/source/library/lux/target/jvm/type/signature.lux b/stdlib/source/library/lux/target/jvm/type/signature.lux index 7aca0ef5b..21bb999e2 100644 --- a/stdlib/source/library/lux/target/jvm/type/signature.lux +++ b/stdlib/source/library/lux/target/jvm/type/signature.lux @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [int char]} + [lux {"-" int char} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [data ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [type abstract]]] ["[0]" // "_" - [category {"+" [Void Value Return Method Primitive Object Class Array Var Parameter Declaration]}] + [category {"+" Void Value Return Method Primitive Object Class Array Var Parameter Declaration}] ["[1][0]" descriptor] ["/[1]" // "_" [encoding - ["[1][0]" name {"+" [External]}]]]]) + ["[1][0]" name {"+" External}]]]]) (abstract: .public (Signature category) Text diff --git a/stdlib/source/library/lux/target/jvm/version.lux b/stdlib/source/library/lux/target/jvm/version.lux index acc54e154..b0831e11a 100644 --- a/stdlib/source/library/lux/target/jvm/version.lux +++ b/stdlib/source/library/lux/target/jvm/version.lux @@ -5,7 +5,7 @@ ["[0]" try]]]] ["[0]" // "_" [encoding - ["[1][0]" unsigned {"+" [U2]}]]]) + ["[1][0]" unsigned {"+" U2}]]]) (type: .public Version U2) (type: .public Minor Version) diff --git a/stdlib/source/library/lux/target/lua.lux b/stdlib/source/library/lux/target/lua.lux index 52ef6597f..f06c47ee4 100644 --- a/stdlib/source/library/lux/target/lua.lux +++ b/stdlib/source/library/lux/target/lua.lux @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [Location Code Label int if cond function or and not let ^ local]} + [lux {"-" Location Code Label int if cond function or and not let ^ local} ["@" target] [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] ["[0]" enum]] [control - [pipe {"+" [case> cond> new>]}] + [pipe {"+" case> cond> new>}] [parser ["<[0]>" code]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" template] ["[0]" code]] [math diff --git a/stdlib/source/library/lux/target/php.lux b/stdlib/source/library/lux/target/php.lux index 6f543e48f..f2b459958 100644 --- a/stdlib/source/library/lux/target/php.lux +++ b/stdlib/source/library/lux/target/php.lux @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [Location Code Global Label static int if cond or and not comment for try global]} + [lux {"-" Location Code Global Label static int if cond or and not comment for try global} ["@" target] [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] ["[0]" enum]] [control - [pipe {"+" [case> cond> new>]}] + [pipe {"+" case> cond> new>}] [parser ["<[0]>" code]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" template] ["[0]" code]] [math diff --git a/stdlib/source/library/lux/target/python.lux b/stdlib/source/library/lux/target/python.lux index 901823f9b..17ddfcb4d 100644 --- a/stdlib/source/library/lux/target/python.lux +++ b/stdlib/source/library/lux/target/python.lux @@ -1,23 +1,23 @@ (.module: [library - [lux {"-" [Location Code Label not or and list if cond int comment exec try]} + [lux {"-" Location Code Label not or and list if cond int comment exec try} ["@" target] ["[0]" ffi] [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] ["[0]" enum]] [control - [pipe {"+" [new> case> cond>]}] + [pipe {"+" new> case> cond>}] [parser ["<[0]>" code]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" template] ["[0]" code]] [math diff --git a/stdlib/source/library/lux/target/r.lux b/stdlib/source/library/lux/target/r.lux index 94a1ff243..2499ce6c2 100644 --- a/stdlib/source/library/lux/target/r.lux +++ b/stdlib/source/library/lux/target/r.lux @@ -1,19 +1,19 @@ (.module: [library - [lux {"-" [Code or and list if function cond not int]} + [lux {"-" Code or and list if function cond not int} [control - [pipe {"+" [case> cond> new>]}] + [pipe {"+" case> cond> new>}] ["[0]" function] ["[0]" maybe ("[1]#[0]" functor)] [parser ["<[0]>" code]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" template] ["[0]" code]] [math diff --git a/stdlib/source/library/lux/target/ruby.lux b/stdlib/source/library/lux/target/ruby.lux index 8ba083e99..cd633c813 100644 --- a/stdlib/source/library/lux/target/ruby.lux +++ b/stdlib/source/library/lux/target/ruby.lux @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [Location Code static int if cond function or and not comment local global]} + [lux {"-" Location Code static int if cond function or and not comment local global} ["@" target] [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] ["[0]" enum]] [control - [pipe {"+" [case> cond> new>]}] + [pipe {"+" case> cond> new>}] [parser ["<[0]>" code]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" template] ["[0]" code]] [math diff --git a/stdlib/source/library/lux/target/scheme.lux b/stdlib/source/library/lux/target/scheme.lux index d17589342..1bf857bf8 100644 --- a/stdlib/source/library/lux/target/scheme.lux +++ b/stdlib/source/library/lux/target/scheme.lux @@ -1,15 +1,15 @@ (.module: [library - [lux {"-" [Code int or and if cond let]} + [lux {"-" Code int or and if cond let} ["@" target] [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [control - [pipe {"+" [new> cond> case>]}]] + [pipe {"+" new> cond> case>}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor monoid)]]] [macro diff --git a/stdlib/source/library/lux/test.lux b/stdlib/source/library/lux/test.lux index c9f123598..03d06a2d2 100644 --- a/stdlib/source/library/lux/test.lux +++ b/stdlib/source/library/lux/test.lux @@ -1,41 +1,41 @@ (.module: [library - [lux {"-" [and for]} + [lux {"-" and for} ["[0]" meta] ["[0]" debug] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["[0]" io] [concurrency - ["[0]" atom {"+" [Atom]}] - ["[0]" async {"+" [Async]} ("[1]#[0]" monad)]] + ["[0]" atom {"+" Atom}] + ["[0]" async {"+" Async} ("[1]#[0]" monad)]] ["<>" parser ["<[0]>" code]]] [data ["[0]" product] ["[0]" name] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" set {"+" [Set]}] + ["[0]" set {"+" Set}] ["[0]" dictionary "_" - ["[1]" ordered {"+" [Dictionary]}]]]] + ["[1]" ordered {"+" Dictionary}]]]] [time ["[0]" instant] - ["[0]" duration {"+" [Duration]}]] + ["[0]" duration {"+" Duration}]] [math - ["[0]" random {"+" [Random]} ("[1]#[0]" monad)] - [number {"+" [hex]} + ["[0]" random {"+" Random} ("[1]#[0]" monad)] + [number {"+" hex} ["n" nat] ["f" frac]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [world ["[0]" program]]]]) diff --git a/stdlib/source/library/lux/time.lux b/stdlib/source/library/lux/time.lux index f59090e4b..0eaba81d6 100644 --- a/stdlib/source/library/lux/time.lux +++ b/stdlib/source/library/lux/time.lux @@ -2,17 +2,17 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [enum {"+" [Enum]}] - [codec {"+" [Codec]}] - [monad {"+" [Monad do]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [enum {"+" Enum}] + [codec {"+" Codec}] + [monad {"+" Monad do}]] [control - [pipe {"+" [case>]}] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + [pipe {"+" case>}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" text ("[1]#[0]" monoid)]] [math @@ -21,7 +21,7 @@ [type abstract]]] [/ - ["[0]" duration {"+" [Duration]}]]) + ["[0]" duration {"+" Duration}]]) (template [ ] [(def: .public diff --git a/stdlib/source/library/lux/time/date.lux b/stdlib/source/library/lux/time/date.lux index 2b36ad8bc..a44af6236 100644 --- a/stdlib/source/library/lux/time/date.lux +++ b/stdlib/source/library/lux/time/date.lux @@ -2,22 +2,22 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [enum {"+" [Enum]}] - [codec {"+" [Codec]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [enum {"+" Enum}] + [codec {"+" Codec}] + [monad {"+" do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" text ("[1]#[0]" monoid)] [collection ["[0]" list ("[1]#[0]" mix)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [math [number ["n" nat ("[1]#[0]" decimal)] @@ -25,8 +25,8 @@ [type abstract]]] ["[0]" // "_" - ["[1][0]" year {"+" [Year]}] - ["[1][0]" month {"+" [Month]}]]) + ["[1][0]" year {"+" Year}] + ["[1][0]" month {"+" Month}]]) (def: month_by_number (Dictionary Nat Month) diff --git a/stdlib/source/library/lux/time/day.lux b/stdlib/source/library/lux/time/day.lux index 86252a1e0..90f3657f2 100644 --- a/stdlib/source/library/lux/time/day.lux +++ b/stdlib/source/library/lux/time/day.lux @@ -1,15 +1,15 @@ (.module: [library - [lux {"-" [nat]} + [lux {"-" nat} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [order {"+" [Order]}] - [enum {"+" [Enum]}] - [codec {"+" [Codec]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [order {"+" Order}] + [enum {"+" Enum}] + [codec {"+" Codec}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" text ("[1]#[0]" monoid)]] [macro diff --git a/stdlib/source/library/lux/time/duration.lux b/stdlib/source/library/lux/time/duration.lux index f140a1284..48b1f9319 100644 --- a/stdlib/source/library/lux/time/duration.lux +++ b/stdlib/source/library/lux/time/duration.lux @@ -2,16 +2,16 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [enum {"+" [Enum]}] - [codec {"+" [Codec]}] - [monoid {"+" [Monoid]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [enum {"+" Enum}] + [codec {"+" Codec}] + [monoid {"+" Monoid}] + [monad {"+" do}]] [control ["[0]" try] ["<>" parser - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" text ("[1]#[0]" monoid)]] [math diff --git a/stdlib/source/library/lux/time/instant.lux b/stdlib/source/library/lux/time/instant.lux index f5e0f7540..d80ffbf0c 100644 --- a/stdlib/source/library/lux/time/instant.lux +++ b/stdlib/source/library/lux/time/instant.lux @@ -3,18 +3,18 @@ [lux "*" ["@" target] [abstract - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [enum {"+" [Enum]}] - [codec {"+" [Codec]}] - [monad {"+" [Monad do]}]] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [enum {"+" Enum}] + [codec {"+" Codec}] + [monad {"+" Monad do}]] [control - [io {"+" [IO io]}] + [io {"+" IO io}] ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" text ("[1]#[0]" monoid)] [collection @@ -25,12 +25,12 @@ ["f" frac]]] [type abstract]]] - ["[0]" // {"+" [Time]} - ["[0]" duration {"+" [Duration]}] - ["[0]" year {"+" [Year]}] - ["[0]" month {"+" [Month]}] - ["[0]" day {"+" [Day]}] - ["[0]" date {"+" [Date]}]]) + ["[0]" // {"+" Time} + ["[0]" duration {"+" Duration}] + ["[0]" year {"+" Year}] + ["[0]" month {"+" Month}] + ["[0]" day {"+" Day}] + ["[0]" date {"+" Date}]]) (abstract: .public Instant Int diff --git a/stdlib/source/library/lux/time/month.lux b/stdlib/source/library/lux/time/month.lux index 6bc2a0274..19c3caf39 100644 --- a/stdlib/source/library/lux/time/month.lux +++ b/stdlib/source/library/lux/time/month.lux @@ -2,14 +2,14 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [order {"+" [Order]}] - [enum {"+" [Enum]}] - [codec {"+" [Codec]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [order {"+" Order}] + [enum {"+" Enum}] + [codec {"+" Codec}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" text ("[1]#[0]" monoid)]] [macro diff --git a/stdlib/source/library/lux/time/year.lux b/stdlib/source/library/lux/time/year.lux index 49d6bed0d..21566695c 100644 --- a/stdlib/source/library/lux/time/year.lux +++ b/stdlib/source/library/lux/time/year.lux @@ -2,15 +2,15 @@ [library [lux "*" [abstract - [monad {"+" [do]}] - [codec {"+" [Codec]}] - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}]] + [monad {"+" do}] + [codec {"+" Codec}] + [equivalence {"+" Equivalence}] + [order {"+" Order}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" text {"+" [Parser]}]]] + ["<[0]>" text {"+" Parser}]]] [data ["[0]" text ("[1]#[0]" monoid)]] [math diff --git a/stdlib/source/library/lux/tool/compiler.lux b/stdlib/source/library/lux/tool/compiler.lux index 21a73b224..34aaa24b1 100644 --- a/stdlib/source/library/lux/tool/compiler.lux +++ b/stdlib/source/library/lux/tool/compiler.lux @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [Module Code]} + [lux {"-" Module Code} [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" text] [collection - ["[0]" row {"+" [Row]}]]] + ["[0]" row {"+" Row}]]] [world - ["[0]" file {"+" [Path]}]]]] + ["[0]" file {"+" Path}]]]] [/ [meta - ["[0]" archive {"+" [Output Archive]} - [key {"+" [Key]}] - [descriptor {"+" [Descriptor Module]}] - [document {"+" [Document]}]]]]) + ["[0]" archive {"+" Output Archive} + [key {"+" Key}] + [descriptor {"+" Descriptor Module}] + [document {"+" Document}]]]]) (type: .public Code Text) diff --git a/stdlib/source/library/lux/tool/compiler/default/init.lux b/stdlib/source/library/lux/tool/compiler/default/init.lux index 395d7dc73..8abaa949c 100644 --- a/stdlib/source/library/lux/tool/compiler/default/init.lux +++ b/stdlib/source/library/lux/tool/compiler/default/init.lux @@ -1,17 +1,17 @@ (.module: [library - [lux {"-" [Module]} - ["@" target {"+" [Target]}] + [lux {"-" Module} + ["@" target {"+" Target}] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" dictionary] @@ -21,32 +21,32 @@ [world ["[0]" file]]]] ["[0]" // "_" - ["/[1]" // {"+" [Instancer]} + ["/[1]" // {"+" Instancer} ["[1][0]" phase] [language [lux - [program {"+" [Program]}] + [program {"+" Program}] ["[1][0]" version] - ["[1][0]" syntax {"+" [Aliases]}] + ["[1][0]" syntax {"+" Aliases}] ["[1][0]" synthesis] - ["[1][0]" directive {"+" [Requirements]}] + ["[1][0]" directive {"+" Requirements}] ["[1][0]" generation] ["[1][0]" analysis - [macro {"+" [Expander]}] + [macro {"+" Expander}] ["[1]/[0]" evaluation]] [phase ["[0]P" synthesis] ["[0]P" directive] ["[0]P" analysis ["[0]" module]] - ["[0]" extension {"+" [Extender]} + ["[0]" extension {"+" Extender} ["[0]E" analysis] ["[0]E" synthesis] [directive ["[0]D" lux]]]]]] [meta - ["[0]" archive {"+" [Archive]} - ["[0]" descriptor {"+" [Module]}] + ["[0]" archive {"+" Archive} + ["[0]" descriptor {"+" Module}] ["[0]" artifact] ["[0]" document]]]] ]) diff --git a/stdlib/source/library/lux/tool/compiler/default/platform.lux b/stdlib/source/library/lux/tool/compiler/default/platform.lux index 52396656b..64bef708c 100644 --- a/stdlib/source/library/lux/tool/compiler/default/platform.lux +++ b/stdlib/source/library/lux/tool/compiler/default/platform.lux @@ -1,66 +1,66 @@ (.module: [library - [lux {"-" [Module]} - [type {"+" [:sharing]}] + [lux {"-" Module} + [type {"+" :sharing}] ["@" target] ["[0]" debug] [abstract - ["[0]" monad {"+" [Monad do]}]] + ["[0]" monad {"+" Monad do}]] [control ["[0]" function] ["[0]" maybe] - ["[0]" try {"+" [Try]} ("[1]#[0]" monad)] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try} ("[1]#[0]" monad)] + ["[0]" exception {"+" exception:}] [concurrency - ["[0]" async {"+" [Async Resolver]} ("[1]#[0]" monad)] - ["[0]" stm {"+" [Var STM]}]]] + ["[0]" async {"+" Async Resolver} ("[1]#[0]" monad)] + ["[0]" stm {"+" Var STM}]]] [data - ["[0]" binary {"+" [Binary]}] + ["[0]" binary {"+" Binary}] ["[0]" bit] ["[0]" product] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" dictionary {"+" [Dictionary]}] - ["[0]" row {"+" [Row]} ("[1]#[0]" mix)] - ["[0]" set {"+" [Set]}] + ["[0]" dictionary {"+" Dictionary}] + ["[0]" row {"+" Row} ("[1]#[0]" mix)] + ["[0]" set {"+" Set}] ["[0]" list ("[1]#[0]" monoid functor mix)]] [format - ["_" binary {"+" [Writer]}]]] + ["_" binary {"+" Writer}]]] [world - ["[0]" file {"+" [Path]}]]]] + ["[0]" file {"+" Path}]]]] ["[0]" // "_" ["[1][0]" init] ["/[1]" // - ["[1][0]" phase {"+" [Phase]}] + ["[1][0]" phase {"+" Phase}] [language [lux - [program {"+" [Program]}] + [program {"+" Program}] ["$" /] ["[1][0]" version] ["[0]" syntax] ["[1][0]" analysis - [macro {"+" [Expander]}]] + [macro {"+" Expander}]] ["[1][0]" synthesis] - ["[1][0]" generation {"+" [Buffer]}] + ["[1][0]" generation {"+" Buffer}] ["[1][0]" directive] [phase - ["[0]" extension {"+" [Extender]}] + ["[0]" extension {"+" Extender}] [analysis ["[0]" module]]]]] [meta - ["[0]" archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}] - ["[0]" descriptor {"+" [Descriptor Module]}] - ["[0]" document {"+" [Document]}]] - [io {"+" [Context]} + ["[0]" archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}] + ["[0]" descriptor {"+" Descriptor Module}] + ["[0]" document {"+" Document}]] + [io {"+" Context} ["[0]" context] ["ioW" archive]]]]] [program [compositor - [cli {"+" [Compilation Library]}] - [import {"+" [Import]}] - ["[0]" static {"+" [Static]}]]]) + [cli {"+" Compilation Library}] + [import {"+" Import}] + ["[0]" static {"+" Static}]]]) (with_expansions [ (as_is anchor expression directive) (as_is ///generation.Operation )] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux.lux index e8029aedc..3161bee88 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux.lux @@ -3,10 +3,10 @@ [lux "*" [control ["<>" parser - ["" binary {"+" [Parser]}]]] + ["" binary {"+" Parser}]]] [data [format - ["_" binary {"+" [Writer]}]]]]] + ["_" binary {"+" Writer}]]]]] ["[0]" / "_" ["[1][0]" version] [phase @@ -16,7 +16,7 @@ [meta [archive ["[0]" signature] - ["[0]" key {"+" [Key]}]]]]]) + ["[0]" key {"+" Key}]]]]]) ... TODO: Remove #module_hash, #imports & #module_state ASAP. ... TODO: Not just from this parser, but from the lux.Module type. 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 eca75863c..feab22f2c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux @@ -1,20 +1,20 @@ (.module: [library - [lux {"-" [Tuple Variant nat int rev]} + [lux {"-" Tuple Variant nat int rev} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - [monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + [monad {"+" do}]] [control ["[0]" function] ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [Exception]}]] + ["[0]" exception {"+" Exception}]] [data ["[0]" product] ["[0]" bit ("[1]#[0]" equivalence)] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [Format format]}]] + ["%" format {"+" Format format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [math @@ -27,13 +27,13 @@ ["[0]" location]]]] [// [phase - ["[0]" extension {"+" [Extension]}]] + ["[0]" extension {"+" Extension}]] [/// - [arity {"+" [Arity]}] - [version {"+" [Version]}] + [arity {"+" Arity}] + [version {"+" Version}] ["[0]" phase] - ["[0]" reference {"+" [Reference]} - ["[0]" variable {"+" [Register Variable]}]]]]) + ["[0]" reference {"+" Reference} + ["[0]" variable {"+" Register Variable}]]]]) (type: .public Primitive (.Variant diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/evaluation.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/evaluation.lux index 5a7ca089f..a760d2ec9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/evaluation.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/evaluation.lux @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [Module]} + [lux {"-" Module} ["[0]" meta] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" try]] [math [number ["n" nat]]]]] - ["[0]" // {"+" [Operation]} - [macro {"+" [Expander]}] + ["[0]" // {"+" Operation} + [macro {"+" Expander}] [// [phase ["[0]P" extension] @@ -19,12 +19,12 @@ ["[0]" type]] [// ["[0]" synthesis] - ["[0]" generation {"+" [Context]}] + ["[0]" generation {"+" Context}] [/// ["[0]" phase] [meta - [archive {"+" [Archive]} - [descriptor {"+" [Module]}]]]]]]]]) + [archive {"+" Archive} + [descriptor {"+" Module}]]]]]]]]) (type: .public Eval (-> Archive Type Code (Operation Any))) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/macro.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/macro.lux index 428e8011a..95f1e980f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/macro.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/macro.lux @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] ["[0]" meta]]] [///// ["[0]" phase]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/directive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/directive.lux index e2ccfa37d..0dd610bc4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/directive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/directive.lux @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [Module]} + [lux {"-" Module} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" try]] [data @@ -18,7 +18,7 @@ ["[0]" phase] [meta [archive - [descriptor {"+" [Module]}]]]]]) + [descriptor {"+" Module}]]]]]) (type: .public (Component state phase) (Record 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 ca66425c5..9c2d930ef 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux @@ -1,33 +1,33 @@ (.module: [library - [lux {"-" [Module]} + [lux {"-" Module} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["[0]" function]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" product] ["[0]" name] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" row {"+" [Row]}] + ["[0]" row {"+" Row}] ["[0]" list ("[1]#[0]" functor)]]] [math [number ["n" nat]]]]] [// - [synthesis {"+" [Synthesis]}] + [synthesis {"+" Synthesis}] [phase ["[0]" extension]] [/// ["[0]" phase] [meta - ["[0]" archive {"+" [Archive]} - ["[0]" descriptor {"+" [Module]}] + ["[0]" archive {"+" Archive} + ["[0]" descriptor {"+" Module}] ["[0]" artifact]]]]]) (type: .public Context 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 c3b6434d2..22840635e 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 @@ -2,12 +2,12 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list]]] [math @@ -25,13 +25,13 @@ ["/[1]" // "_" ["[1][0]" extension] ["/[1]" // "_" - ["/" analysis {"+" [Analysis Operation Phase]} - ["[1][0]" macro {"+" [Expander]}]] + ["/" analysis {"+" Analysis Operation Phase} + ["[1][0]" macro {"+" Expander}]] [/// ["//" phase] ["[0]" reference] [meta - [archive {"+" [Archive]}]]]]]]) + [archive {"+" Archive}]]]]]]) (exception: .public (unrecognized_syntax [code Code]) (exception.report 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 99beefca5..95fdfdc45 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 @@ -1,17 +1,17 @@ (.module: [library - [lux {"-" [case]} + [lux {"-" case} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" mix monoid monad)]]] [math @@ -22,7 +22,7 @@ ["[0]" type ["[0]" check]]]] ["[0]" / "_" - ["[1][0]" coverage {"+" [Coverage]}] + ["[1][0]" coverage {"+" Coverage}] ["/[1]" // "_" ["[1][0]" scope] ["[1][0]" type] @@ -30,7 +30,7 @@ ["/[1]" // "_" ["[1][0]" extension] [// - ["/" analysis {"+" [Pattern Analysis Operation Phase]}] + ["/" analysis {"+" Pattern Analysis Operation Phase}] [/// ["[1]" phase]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case/coverage.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case/coverage.lux index 70be9ca49..19a00d406 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case/coverage.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case/coverage.lux @@ -1,26 +1,26 @@ (.module: [library - [lux {"-" [Variant]} + [lux {"-" Variant} [abstract equivalence - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]} ("[1]#[0]" monad)] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try} ("[1]#[0]" monad)] + ["[0]" exception {"+" exception:}]] [data ["[0]" bit ("[1]#[0]" equivalence)] ["[0]" text - ["%" format {"+" [Format format]}]] + ["%" format {"+" Format format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [math [number ["n" nat]]]]] ["[0]" //// "_" [// - ["/" analysis {"+" [Pattern Variant Operation]}] + ["/" analysis {"+" Pattern Variant Operation}] [/// ["[1]" phase ("[1]#[0]" monad)]]]]) 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 3993d77d4..951e367dc 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 @@ -1,14 +1,14 @@ (.module: [library - [lux {"-" [function]} + [lux {"-" function} [abstract monad] [control ["[0]" maybe] - ["ex" exception {"+" [exception:]}]] + ["ex" exception {"+" exception:}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" monoid monad)]]] ["[0]" type @@ -21,11 +21,11 @@ ["/[1]" // "_" ["[1][0]" extension] [// - ["/" analysis {"+" [Analysis Operation Phase]}] + ["/" analysis {"+" Analysis Operation Phase}] [/// ["[1]" phase] - [reference {"+" []} - [variable {"+" []}]]]]]]) + [reference {"+"} + [variable {"+"}]]]]]]) (exception: .public (cannot_analyse [expected Type function Text diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/inference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/inference.lux index 0ec812b80..e031e8234 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/inference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/inference.lux @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" maybe] - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor monoid)]]] [math @@ -22,11 +22,11 @@ ["/[1]" // "_" ["[1][0]" extension] [// - ["/" analysis {"+" [Tag Analysis Operation Phase]}] + ["/" analysis {"+" Tag Analysis Operation Phase}] [/// ["[1]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]) + [archive {"+" Archive}]]]]]]) (exception: .public (variant_tag_out_of_bounds [size Nat tag Tag diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux index 0999bd516..0b05afdeb 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/module.lux @@ -2,14 +2,14 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control pipe ["[0]" try] - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" mix functor)] [dictionary @@ -18,7 +18,7 @@ ["[0]" /// "_" ["[1][0]" extension] [// - ["/" analysis {"+" [Operation]}] + ["/" analysis {"+" Operation}] [/// ["[1]" phase]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/primitive.lux index fe8c61096..7a18d4359 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/primitive.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [nat int rev]} + [lux {"-" nat int rev} [abstract monad]]] ["[0]" // "_" ["[1][0]" type] ["/[1]" // "_" [// - ["/" analysis {"+" [Analysis Operation]}] + ["/" analysis {"+" Analysis Operation}] [/// ["[1]" 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 f8f3aca6b..d80069d47 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 @@ -4,18 +4,18 @@ [abstract monad] [control - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] ["[0]" meta] [data ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]]]]] + ["%" format {"+" format}]]]]] ["[0]" // "_" ["[1][0]" scope] ["[1][0]" type] ["/[1]" // "_" ["[1][0]" extension] [// - ["/" analysis {"+" [Analysis Operation]}] + ["/" analysis {"+" Analysis Operation}] [/// ["[1][0]" reference] ["[1]" phase]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/scope.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/scope.lux index ae2ff1ce7..e7a30e10f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/scope.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/scope.lux @@ -1,12 +1,12 @@ (.module: [library - [lux {"-" [local]} + [lux {"-" local} [abstract monad] [control ["[0]" maybe ("[1]#[0]" monad)] ["[0]" try] - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data ["[0]" text ("[1]#[0]" equivalence)] ["[0]" product] @@ -17,10 +17,10 @@ ["[0]" /// "_" ["[1][0]" extension] [// - ["/" analysis {"+" [Operation Phase]}] + ["/" analysis {"+" Operation Phase}] [/// [reference - ["[0]" variable {"+" [Register Variable]}]] + ["[0]" variable {"+" Register Variable}]] ["[1]" phase]]]]) (type: Local diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/structure.lux index 27dd0dd72..c01f6970b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/structure.lux @@ -3,20 +3,20 @@ [lux "*" ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["[0]" state]] [data ["[0]" name] ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" monad)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [macro ["[0]" code]] [math @@ -31,11 +31,11 @@ ["/[1]" // "_" ["[1][0]" extension] [// - ["/" analysis {"+" [Tag Analysis Operation Phase]}] + ["/" analysis {"+" Tag Analysis Operation Phase}] [/// ["[1]" phase] [meta - [archive {"+" [Archive]}]]]]]]) + [archive {"+" Archive}]]]]]]) (exception: .public (invalid_variant_type [type Type tag Tag diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/type.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/type.lux index 1f53c1154..ad467817c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/type.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/type.lux @@ -2,17 +2,17 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" function] ["[0]" try]] [type - ["[0]" check {"+" [Check]}]] + ["[0]" check {"+" Check}]] ["[0]" meta]]] ["[0]" /// "_" ["[1][0]" extension] [// - ["/" analysis {"+" [Operation]}] + ["/" analysis {"+" Operation}] [/// ["[1]" phase]]]]) 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 5622ab2dc..5dda23a74 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 @@ -3,13 +3,13 @@ [lux "*" ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" try] - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" mix monoid)]]]]] ["[0]" // "_" @@ -17,16 +17,16 @@ ["[1][0]" analysis ["[1]/[0]" type]] ["/[1]" // "_" - ["/" directive {"+" [Phase]}] + ["/" directive {"+" Phase}] ["[1][0]" analysis ["[0]" evaluation] - ["[1]/[0]" macro {"+" [Expander]}]] + ["[1]/[0]" macro {"+" Expander}]] [/// ["//" phase] - [reference {"+" []} - [variable {"+" []}]] + [reference {"+" } + [variable {"+" }]] [meta - [archive {"+" [Archive]}]]]]]) + [archive {"+" Archive}]]]]]) (exception: .public (not_a_directive [code Code]) (exception.report diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension.lux index 19b2d94f9..02d8b32de 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension.lux @@ -1,25 +1,25 @@ (.module: [library - [lux {"-" [Name]} + [lux {"-" Name} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}] - ["[0]" monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}] + ["[0]" monad {"+" do}]] [control ["[0]" function] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" product] ["[0]" text ("[1]#[0]" order) - ["%" format {"+" [Format format]}]] + ["%" format {"+" Format format}]] [collection ["[0]" list] - ["[0]" dictionary {"+" [Dictionary]}]]]]] + ["[0]" dictionary {"+" Dictionary}]]]]] [///// ["//" phase] [meta - [archive {"+" [Archive]}]]]) + [archive {"+" Archive}]]]) (type: .public Name Text) 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 7cc98e804..1f06e07ef 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 @@ -5,8 +5,8 @@ [collection ["[0]" dictionary]]]]] [//// - [analysis {"+" [Bundle]} - [evaluation {"+" [Eval]}]]] + [analysis {"+" Bundle} + [evaluation {"+" Eval}]]] ["[0]" / "_" ["[1][0]" lux]]) 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 199bac7ce..b912758a3 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 @@ -3,13 +3,13 @@ [lux "*" ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["<>" parser - ["" code {"+" [Parser]}]]] + ["" code {"+" Parser}]]] [data [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" dictionary] ["[0]" list]]] ["[0]" type @@ -17,14 +17,14 @@ ["@" target ["_" common_lisp]]]] [// - ["/" lux {"+" [custom]}] + ["/" lux {"+" custom}] [// ["[0]" bundle] [// ["[0]" analysis "_" ["[1]/[0]" type]] [// - ["[0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[0]" analysis {"+" Analysis Operation Phase Handler Bundle}] [/// ["[0]" phase]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/js.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/js.lux index 6de21c89b..a28eb1b0a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/js.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/js.lux @@ -3,13 +3,13 @@ [lux "*" ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["<>" parser - ["" code {"+" [Parser]}]]] + ["" code {"+" Parser}]]] [data [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" dictionary] ["[0]" list]]] ["[0]" type @@ -17,14 +17,14 @@ ["@" target ["_" js]]]] [// - ["/" lux {"+" [custom]}] + ["/" lux {"+" custom}] [// ["[0]" bundle] [// ["[0]" analysis "_" ["[1]/[0]" type]] [// - ["[0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[0]" analysis {"+" Analysis Operation Phase Handler Bundle}] [/// ["[0]" phase]]]]]]) 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 b19fc6e6e..b067a6953 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 @@ -1,26 +1,26 @@ (.module: [library - [lux {"-" [Type Module primitive type char int]} - ["[0]" ffi {"+" [import:]}] + [lux {"-" Type Module primitive type char int} + ["[0]" ffi {"+" import:}] ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control pipe ["[0]" maybe] - ["[0]" try {"+" [Try]} ("[1]#[0]" monad)] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try} ("[1]#[0]" monad)] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" code {"+" [Parser]}] + ["<[0]>" code {"+" Parser}] ["<[0]>" text]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" mix monad monoid)] ["[0]" array] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [math [number ["n" nat]]] @@ -28,20 +28,20 @@ ["[0]" jvm "_" ["[0]!" reflection] [encoding - [name {"+" [External]}]] - ["[1]" type {"+" [Type Argument Typed]} ("[1]#[0]" equivalence) - ["[0]" category {"+" [Void Value' Value Return' Return Primitive Object Class Array Var Parameter Method]}] + [name {"+" External}]] + ["[1]" type {"+" Type Argument Typed} ("[1]#[0]" equivalence) + ["[0]" category {"+" Void Value' Value Return' Return Primitive Object Class Array Var Parameter Method}] ["[0]" box] ["[0]" reflection] ["[0]" descriptor] ["[0]" signature] ["[1]_[0]" parser] - ["[1]_[0]" alias {"+" [Aliasing]}] - ["[0]T" lux {"+" [Mapping]}]]]] + ["[1]_[0]" alias {"+" Aliasing}] + ["[0]T" lux {"+" Mapping}]]]] ["[0]" type - ["[0]" check {"+" [Check]} ("[1]#[0]" monad)]]]] + ["[0]" check {"+" Check} ("[1]#[0]" monad)]]]] ["[0]" // "_" - ["[1][0]" lux {"+" [custom]}] + ["[1][0]" lux {"+" custom}] ["/[1]" // ["[1][0]" bundle] ["/[1]" // "_" @@ -50,13 +50,13 @@ ["[0]A" inference] ["[0]" scope]] ["/[1]" // "_" - ["[1][0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[1][0]" analysis {"+" Analysis Operation Phase Handler Bundle}] ["[1][0]" synthesis] [/// ["[0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]} - [descriptor {"+" [Module]}]]]]]]]]) + [archive {"+" Archive} + [descriptor {"+" Module}]]]]]]]]) (import: java/lang/ClassLoader) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lua.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lua.lux index beb9ac7c4..344fd831d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lua.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lua.lux @@ -3,13 +3,13 @@ [lux "*" ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" dictionary] ["[0]" list]]] ["[0]" type @@ -17,14 +17,14 @@ ["@" target ["_" lua]]]] [// - ["/" lux {"+" [custom]}] + ["/" lux {"+" custom}] [// ["[0]" bundle] [// ["[0]" analysis "_" ["[1]/[0]" type]] [// - ["[0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[0]" analysis {"+" Analysis Operation Phase Handler Bundle}] [/// ["[0]" phase]]]]]]) 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 4b58b0bc1..cc629f53d 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 @@ -2,19 +2,19 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [math [number ["n" nat]]] @@ -27,12 +27,12 @@ [analysis ["[0]A" type]] [// - ["[1][0]" analysis {"+" [Analysis Operation Phase Handler Bundle]} - [evaluation {"+" [Eval]}]] + ["[1][0]" analysis {"+" Analysis Operation Phase Handler Bundle} + [evaluation {"+" Eval}]] [/// ["[1]" phase] [meta - [archive {"+" [Archive]}]]]]]]) + [archive {"+" Archive}]]]]]]) (def: .public (custom [syntax handler]) (All (_ s) 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 0aa12b4be..f401d3aeb 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 @@ -3,13 +3,13 @@ [lux "*" ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["<>" parser - ["" code {"+" [Parser]}]]] + ["" code {"+" Parser}]]] [data [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" dictionary] ["[0]" list]]] ["[0]" type @@ -17,14 +17,14 @@ ["@" target ["_" php]]]] [// - ["/" lux {"+" [custom]}] + ["/" lux {"+" custom}] [// ["[0]" bundle] [// ["[0]" analysis "_" ["[1]/[0]" type]] [// - ["[0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[0]" analysis {"+" Analysis Operation Phase Handler Bundle}] [/// ["[0]" phase]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/python.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/python.lux index 385150e03..a412c231e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/python.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/python.lux @@ -3,13 +3,13 @@ [lux "*" ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" dictionary] ["[0]" list]]] ["[0]" type @@ -17,14 +17,14 @@ ["@" target ["_" python]]]] [// - ["/" lux {"+" [custom]}] + ["/" lux {"+" custom}] [// ["[0]" bundle] [// ["[0]" analysis "_" ["[1]/[0]" type]] [// - ["[0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[0]" analysis {"+" Analysis Operation Phase Handler Bundle}] [/// ["[0]" phase]]]]]]) 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 f0e6cb835..6cb0dfb58 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 @@ -3,13 +3,13 @@ [lux "*" ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["<>" parser - ["" code {"+" [Parser]}]]] + ["" code {"+" Parser}]]] [data [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" dictionary] ["[0]" list]]] ["[0]" type @@ -17,14 +17,14 @@ ["@" target ["_" r]]]] [// - ["/" lux {"+" [custom]}] + ["/" lux {"+" custom}] [// ["[0]" bundle] [// ["[0]" analysis "_" ["[1]/[0]" type]] [// - ["[0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[0]" analysis {"+" Analysis Operation Phase Handler Bundle}] [/// ["[0]" phase]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/ruby.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/ruby.lux index 7a8eda597..54f02f43f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/ruby.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/ruby.lux @@ -3,13 +3,13 @@ [lux "*" ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["<>" parser - ["" code {"+" [Parser]}]]] + ["" code {"+" Parser}]]] [data [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" dictionary] ["[0]" list]]] ["[0]" type @@ -17,14 +17,14 @@ ["@" target ["_" ruby]]]] [// - ["/" lux {"+" [custom]}] + ["/" lux {"+" custom}] [// ["[0]" bundle] [// ["[0]" analysis "_" ["[1]/[0]" type]] [// - ["[0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[0]" analysis {"+" Analysis Operation Phase Handler Bundle}] [/// ["[0]" phase]]]]]]) 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 1dd6d0ca0..fdc770d45 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 @@ -3,13 +3,13 @@ [lux "*" ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["<>" parser - ["" code {"+" [Parser]}]]] + ["" code {"+" Parser}]]] [data [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" dictionary] ["[0]" list]]] ["[0]" type @@ -17,14 +17,14 @@ ["@" target ["_" scheme]]]] [// - ["/" lux {"+" [custom]}] + ["/" lux {"+" custom}] [// ["[0]" bundle] [// ["[0]" analysis "_" ["[1]/[0]" type]] [// - ["[0]" analysis {"+" [Analysis Operation Phase Handler Bundle]}] + ["[0]" analysis {"+" Analysis Operation Phase Handler Bundle}] [/// ["[0]" phase]]]]]]) 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 49950f455..bc68affbb 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 @@ -2,14 +2,14 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" dictionary {"+" [Dictionary]}]]]]] - [// {"+" [Handler Bundle]}]) + ["[0]" dictionary {"+" Dictionary}]]]]] + [// {"+" Handler Bundle}]) (def: .public empty Bundle 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 c51113913..edf4eb749 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 @@ -1,18 +1,18 @@ (.module: [library - [lux {"-" [Type Definition]} + [lux {"-" Type Definition} ["[0]" host] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["<>" parser ("[1]#[0]" monad) - ["" code {"+" [Parser]}] + ["" code {"+" Parser}] ["" text]]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" dictionary] @@ -24,34 +24,34 @@ ["[0]" i32]]] [target [jvm - ["_" bytecode {"+" [Bytecode]}] - ["[0]" modifier {"+" [Modifier]} ("[1]#[0]" monoid)] + ["_" bytecode {"+" Bytecode}] + ["[0]" modifier {"+" Modifier} ("[1]#[0]" monoid)] ["[0]" attribute] ["[0]" field] ["[0]" version] ["[0]" class] ["[0]" constant - ["[0]" pool {"+" [Resource]}]] + ["[0]" pool {"+" Resource}]] [encoding ["[0]" name]] - ["[0]" type {"+" [Type Constraint Argument Typed]} - [category {"+" [Void Value Return Method Primitive Object Class Array Var Parameter]}] - ["[0]T" lux {"+" [Mapping]}] + ["[0]" type {"+" Type Constraint Argument Typed} + [category {"+" Void Value Return Method Primitive Object Class Array Var Parameter}] + ["[0]T" lux {"+" Mapping}] ["[0]" signature] - ["[0]" descriptor {"+" [Descriptor]}] + ["[0]" descriptor {"+" Descriptor}] ["[0]" parser]]]] [tool [compiler ["[0]" analysis] ["[0]" synthesis] ["[0]" generation] - ["[0]" directive {"+" [Handler Bundle]}] + ["[0]" directive {"+" Handler Bundle}] ["[0]" phase [analysis ["[0]A" type]] ["[0]" generation [jvm - [runtime {"+" [Anchor Definition]}]]] + [runtime {"+" Anchor Definition}]]] ["[0]" extension ["[0]" bundle] [analysis @@ -59,7 +59,7 @@ [directive ["/" lux]]]]]] [type - ["[0]" check {"+" [Check]}]]]]) + ["[0]" check {"+" Check}]]]]) (type: Operation (directive.Operation Anchor (Bytecode Any) Definition)) 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 fdd576cdc..6cafe53ff 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 @@ -3,17 +3,17 @@ [lux "*" ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - [io {"+" [IO]}] + [io {"+" IO}] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" dictionary]]] [macro @@ -21,9 +21,9 @@ [math [number ["n" nat]]] - ["[0]" type {"+" [:sharing]} + ["[0]" type {"+" :sharing} ["[0]" check]]]] - ["[0]" /// {"+" [Extender]} + ["[0]" /// {"+" Extender} ["[1][0]" bundle] ["[1][0]" analysis] ["/[1]" // "_" @@ -32,16 +32,16 @@ ["[0]A" type]] ["/[1]" // "_" ["[1][0]" analysis - [macro {"+" [Expander]}] + [macro {"+" Expander}] ["[1]/[0]" evaluation]] - ["[1][0]" synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] - ["[1][0]" directive {"+" [Import Requirements Phase Operation Handler Bundle]}] - ["[1][0]" program {"+" [Program]}] + ["[1][0]" synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] + ["[1][0]" directive {"+" Import Requirements Phase Operation Handler Bundle}] + ["[1][0]" program {"+" Program}] [/// ["[0]" phase] [meta - ["[0]" archive {"+" [Archive]}]]]]]]) + ["[0]" archive {"+" Archive}]]]]]]) (def: .public (custom [syntax handler]) (All (_ anchor expression directive s) 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 269dcfc5d..4c23cd11e 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 @@ -10,7 +10,7 @@ [//// [generation [common_lisp - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 44ed473ca..bdc1114ac 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 @@ -2,16 +2,16 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["[0]" try] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" dictionary] ["[0]" set] @@ -20,20 +20,20 @@ [number ["f" frac]]] ["@" target - ["_" common_lisp {"+" [Expression]}]]]] + ["_" common_lisp {"+" Expression}]]]] ["[0]" //// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" common_lisp "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle Generator]}] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle Generator}] ["[1][0]" case]]] [// - ["[0]" synthesis {"+" [%synthesis]}] + ["[0]" synthesis {"+" %synthesis}] ["[0]" generation] [/// ["[1]" phase]]]]]) 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 0fb66d830..f6411d1a6 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 @@ -2,32 +2,32 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data [collection ["[0]" dictionary] ["[0]" list]] [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [target - ["_" common_lisp {"+" [Var Expression]}]]]] + ["_" common_lisp {"+" Var Expression}]]]] ["[0]" // "_" - ["[1][0]" common {"+" [custom]}] + ["[1][0]" common {"+" custom}] ["//[1]" /// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" common_lisp "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle - with_vars]}]]] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle + with_vars}]]] ["/[1]" // "_" ["[0]" generation] ["//[1]" /// "_" 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 967a2df34..0ba09e4f9 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 @@ -10,7 +10,7 @@ [//// [generation [js - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 036d12593..35b89e142 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 @@ -2,11 +2,11 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" try] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] [collection @@ -16,16 +16,16 @@ [number ["f" frac]]] ["@" target - ["_" js {"+" [Literal Expression Statement]}]]]] + ["_" js {"+" Literal Expression Statement}]]]] ["[0]" //// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["//" js "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Handler Bundle Generator]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Handler Bundle Generator}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -33,8 +33,8 @@ ["[1][0]" loop] ["[1][0]" function]]] [// - [analysis {"+" []}] - ["[0]" synthesis {"+" [%synthesis]}] + [analysis {"+" }] + ["[0]" synthesis {"+" %synthesis}] [/// ["[1]" phase ("[1]#[0]" monad)]]]]]) 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 8b587eb9d..8a83d334d 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 @@ -2,29 +2,29 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data [collection ["[0]" dictionary] ["[0]" list]]] [target - ["_" js {"+" [Var Expression]}]]]] + ["_" js {"+" Var Expression}]]]] ["[0]" // "_" - ["[1][0]" common {"+" [custom]}] + ["[1][0]" common {"+" custom}] ["//[1]" /// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["//" js "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle - with_vars]}]]] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle + with_vars}]]] ["/[1]" // "_" ["[0]" generation] ["//[1]" /// "_" 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 77c0d6572..5ced6629d 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 @@ -10,7 +10,7 @@ [//// [generation [jvm - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 c6116caa9..1f9b572e7 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 @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [Type]} + [lux {"-" Type} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] [number @@ -18,29 +18,29 @@ ["[0]" dictionary]]] [target [jvm - ["_" bytecode {"+" [Label Bytecode]} ("[1]#[0]" monad)] + ["_" bytecode {"+" Label Bytecode} ("[1]#[0]" monad)] [encoding - ["[0]" signed {"+" [S4]}]] - ["[0]" type {"+" [Type]} - [category {"+" [Primitive Class]}]]]]]] + ["[0]" signed {"+" S4}]] + ["[0]" type {"+" Type} + [category {"+" Primitive Class}]]]]]] ["[0]" ///// "_" [generation - [extension {"+" [Nullary Unary Binary Trinary Variadic - nullary unary binary trinary variadic]}] + [extension {"+" Nullary Unary Binary Trinary Variadic + nullary unary binary trinary variadic}] ["///" jvm "_" ["[1][0]" value] - ["[1][0]" runtime {"+" [Operation Phase Bundle Handler]}] + ["[1][0]" runtime {"+" Operation Phase Bundle Handler}] ["[1][0]" function "_" ["[1]" abstract]]]] [extension ["[1]extension" /] ["[1][0]" bundle]] [// - ["/[1][0]" synthesis {"+" [Synthesis %synthesis]}] + ["/[1][0]" synthesis {"+" Synthesis %synthesis}] [/// ["[1]" phase] [meta - [archive {"+" [Archive]}]]]]]) + [archive {"+" Archive}]]]]]) (def: .public (custom [parser handler]) (All (_ s) 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 6d55a284b..42809487f 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 @@ -1,24 +1,24 @@ (.module: [library - [lux {"-" [Type]} + [lux {"-" Type} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] ["[0]" try] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser ["" text] - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [number ["[0]" i32]] [collection ["[0]" list ("[1]#[0]" monad)] - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" set] ["[0]" row]] ["[0]" format "_" @@ -27,28 +27,28 @@ [jvm ["[0]" version] ["[0]" modifier ("[1]#[0]" monoid)] - ["[0]" method {"+" [Method]}] - ["[0]" class {"+" [Class]}] + ["[0]" method {"+" Method}] + ["[0]" class {"+" Class}] [constant - [pool {"+" [Resource]}]] + [pool {"+" Resource}]] [encoding ["[0]" name]] - ["_" bytecode {"+" [Label Bytecode]} ("[1]#[0]" monad) - ["__" instruction {"+" [Primitive_Array_Type]}]] - ["[0]" type {"+" [Type Typed Argument]} - ["[0]" category {"+" [Void Value' Value Return' Return Primitive Object Array Var Parameter]}] + ["_" bytecode {"+" Label Bytecode} ("[1]#[0]" monad) + ["__" instruction {"+" Primitive_Array_Type}]] + ["[0]" type {"+" Type Typed Argument} + ["[0]" category {"+" Void Value' Value Return' Return Primitive Object Array Var Parameter}] ["[0]" box] ["[0]" reflection] ["[0]" signature] ["[0]" parser]]]]]] ["[0]" // "_" - [common {"+" [custom]}] + [common {"+" custom}] ["///[1]" //// "_" [generation - [extension {"+" [Nullary Unary Binary Trinary Variadic - nullary unary binary trinary variadic]}] + [extension {"+" Nullary Unary Binary Trinary Variadic + nullary unary binary trinary variadic}] ["///" jvm - ["[1][0]" runtime {"+" [Operation Bundle Phase Handler]}] + ["[1][0]" runtime {"+" Operation Bundle Phase Handler}] ["[1][0]" reference] [function [field @@ -59,15 +59,15 @@ [analysis ["/" jvm]]] ["/[1]" // "_" - [analysis {"+" [Environment]}] - ["[1][0]" synthesis {"+" [Synthesis Path %synthesis]}] + [analysis {"+" Environment}] + ["[1][0]" synthesis {"+" Synthesis Path %synthesis}] ["[1][0]" generation] [/// ["[1]" phase] [reference - ["[1][0]" variable {"+" [Variable]}]] + ["[1][0]" variable {"+" Variable}]] [meta - ["[0]" archive {"+" [Archive]}]]]]]]) + ["[0]" archive {"+" Archive}]]]]]]) (template [ <0> <1>] [(def: 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 37a52ca08..711ca2a88 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 @@ -10,7 +10,7 @@ [//// [generation [lua - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 005a2e7b9..7d7e431c1 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 @@ -2,16 +2,16 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["[0]" try] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" dictionary] ["[0]" list ("[1]#[0]" functor mix)]]] @@ -19,16 +19,16 @@ [number ["f" frac]]] ["@" target - ["_" lua {"+" [Expression Statement]}]]]] + ["_" lua {"+" Expression Statement}]]]] ["[0]" //// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["//" lua "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Handler Bundle Generator]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Handler Bundle Generator}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -36,7 +36,7 @@ ["[1][0]" loop] ["[1][0]" function]]] [// - ["[0]" synthesis {"+" [%synthesis]}] + ["[0]" synthesis {"+" %synthesis}] ["[0]" generation] [/// ["[1]" phase ("[1]#[0]" monad)]]]]]) 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 d23cb3fc4..2bcd95a66 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 @@ -2,32 +2,32 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data [collection ["[0]" dictionary] ["[0]" list]] [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [target - ["_" lua {"+" [Var Expression]}]]]] + ["_" lua {"+" Var Expression}]]]] ["[0]" // "_" - ["[1][0]" common {"+" [custom]}] + ["[1][0]" common {"+" custom}] ["//[1]" /// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" lua "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle - with_vars]}]]] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle + with_vars}]]] ["/[1]" // "_" ["[0]" generation] ["//[1]" /// "_" 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 1e07b97ce..a703f2a61 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 @@ -10,7 +10,7 @@ [//// [generation [php - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 78f042591..b218eeb31 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 @@ -2,16 +2,16 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["[0]" try] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" dictionary] ["[0]" set] @@ -20,20 +20,20 @@ [number ["f" frac]]] ["@" target - ["_" php {"+" [Expression]}]]]] + ["_" php {"+" Expression}]]]] ["[0]" //// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" php "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle Generator]}] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle Generator}] ["[1][0]" case]]] [// - ["[0]" synthesis {"+" [%synthesis]}] + ["[0]" synthesis {"+" %synthesis}] ["[0]" generation] [/// ["[1]" phase]]]]]) 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 a73f7edf1..4b95fc0aa 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 @@ -2,32 +2,32 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data [collection ["[0]" dictionary] ["[0]" list]] [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [target - ["_" php {"+" [Var Expression]}]]]] + ["_" php {"+" Var Expression}]]]] ["[0]" // "_" - ["[1][0]" common {"+" [custom]}] + ["[1][0]" common {"+" custom}] ["//[1]" /// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" php "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle - with_vars]}]]] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle + with_vars}]]] ["/[1]" // "_" ["[0]" generation] ["//[1]" /// "_" 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 54ab164b6..478b9bada 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 @@ -10,7 +10,7 @@ [//// [generation [python - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 977ba36ee..e7c312c0a 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 @@ -2,16 +2,16 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["[0]" try] ["<>" parser - ["<[0]>" synthesis {"+" [Parser]}]]] + ["<[0]>" synthesis {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" dictionary] ["[0]" list ("[1]#[0]" functor mix)]]] @@ -19,17 +19,17 @@ [number ["f" frac]]] [target - ["_" python {"+" [Expression Statement]}]]]] + ["_" python {"+" Expression Statement}]]]] ["[0]" //// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation ["[0]" reference] - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["//" python "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Handler Bundle Generator]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Handler Bundle Generator}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -37,8 +37,8 @@ ["[1][0]" case] ["[1][0]" loop]]] [// - [analysis {"+" []}] - ["[0]" synthesis {"+" [%synthesis]}] + [analysis {"+" }] + ["[0]" synthesis {"+" %synthesis}] ["[0]" generation] [/// ["[1]" phase ("[1]#[0]" monad)]]]]]) 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 8ad99da86..7c257467b 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 @@ -2,29 +2,29 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data [collection ["[0]" dictionary] ["[0]" list]]] [target - ["_" python {"+" [Expression SVar]}]]]] + ["_" python {"+" Expression SVar}]]]] ["[0]" // "_" - ["[1][0]" common {"+" [custom]}] + ["[1][0]" common {"+" custom}] ["//[1]" /// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["//" python "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle - with_vars]}]]] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle + with_vars}]]] ["/[1]" // "_" ["[0]" generation] ["//[1]" /// "_" 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 56a20b22c..6e204dac2 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 @@ -10,7 +10,7 @@ [//// [generation [r - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 5e882b8a2..854ad42bc 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 @@ -2,16 +2,16 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["[0]" try] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" dictionary] ["[0]" set] @@ -20,20 +20,20 @@ [number ["f" frac]]] ["@" target - ["_" r {"+" [Expression]}]]]] + ["_" r {"+" Expression}]]]] ["[0]" //// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" r "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle Generator]}] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle Generator}] ["[1][0]" case]]] [// - ["[0]" synthesis {"+" [%synthesis]}] + ["[0]" synthesis {"+" %synthesis}] ["[0]" generation] [/// ["[1]" phase]]]]]) 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 38b20cb41..91301bde6 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 @@ -2,32 +2,32 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data [collection ["[0]" dictionary] ["[0]" list]] [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [target - ["_" r {"+" [Var Expression]}]]]] + ["_" r {"+" Var Expression}]]]] ["[0]" // "_" - ["[1][0]" common {"+" [custom]}] + ["[1][0]" common {"+" custom}] ["//[1]" /// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" r "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle - with_vars]}]]] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle + with_vars}]]] ["/[1]" // "_" ["[0]" generation] ["//[1]" /// "_" 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 5c4160d69..03dafeb6b 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 @@ -10,7 +10,7 @@ [//// [generation [ruby - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 29291e8b8..607320bbb 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 @@ -2,16 +2,16 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["[0]" try] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" dictionary] ["[0]" list ("[1]#[0]" functor mix)]]] @@ -19,16 +19,16 @@ [number ["f" frac]]] [target - ["_" ruby {"+" [Expression Statement]}]]]] + ["_" ruby {"+" Expression Statement}]]]] ["[0]" //// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["//" ruby "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Handler Bundle Generator]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Handler Bundle Generator}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -36,7 +36,7 @@ ["[1][0]" case] ["[1][0]" loop]]] [// - ["[0]" synthesis {"+" [%synthesis]}] + ["[0]" synthesis {"+" %synthesis}] ["[0]" generation] [/// ["[1]" phase ("[1]#[0]" monad)]]]]]) 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 21be2a847..4d4b262e9 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 @@ -2,32 +2,32 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data [collection ["[0]" dictionary] ["[0]" list]] [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [target - ["_" ruby {"+" [Var Expression]}]]]] + ["_" ruby {"+" Var Expression}]]]] ["[0]" // "_" - ["[1][0]" common {"+" [custom]}] + ["[1][0]" common {"+" custom}] ["//[1]" /// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" ruby "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle - with_vars]}]]] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle + with_vars}]]] ["/[1]" // "_" ["[0]" generation] ["//[1]" /// "_" 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 52cafa261..055cd9e03 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 @@ -10,7 +10,7 @@ [//// [generation [scheme - [runtime {"+" [Bundle]}]]]]]) + [runtime {"+" Bundle}]]]]]) (def: .public bundle Bundle 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 a8f4f1bb7..d22c8d075 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 @@ -2,16 +2,16 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["[0]" try] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" dictionary] ["[0]" set] @@ -20,20 +20,20 @@ [number ["f" frac]]] ["@" target - ["_" scheme {"+" [Expression]}]]]] + ["_" scheme {"+" Expression}]]]] ["[0]" //// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" scheme "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle Generator]}] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle Generator}] ["[1][0]" case]]] [// - ["[0]" synthesis {"+" [%synthesis]}] + ["[0]" synthesis {"+" %synthesis}] ["[0]" generation] [/// ["[1]" phase]]]]]) 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 b389f72dd..e648f9934 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 @@ -2,32 +2,32 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser - ["" synthesis {"+" [Parser]}]]] + ["" synthesis {"+" Parser}]]] [data [collection ["[0]" dictionary] ["[0]" list]] [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [target - ["_" scheme {"+" [Var Expression]}]]]] + ["_" scheme {"+" Var Expression}]]]] ["[0]" // "_" - ["[1][0]" common {"+" [custom]}] + ["[1][0]" common {"+" custom}] ["//[1]" /// "_" ["/" bundle] ["/[1]" // "_" ["[0]" extension] [generation - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] ["[0]" reference] ["//" scheme "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle - with_vars]}]]] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle + with_vars}]]] ["/[1]" // "_" ["[0]" generation] ["//[1]" /// "_" diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/synthesis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/synthesis.lux index e68f8b780..ce3098d6c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/synthesis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/synthesis.lux @@ -4,7 +4,7 @@ [// ["[0]" bundle] [/// - [synthesis {"+" [Bundle]}]]]) + [synthesis {"+" Bundle}]]]) (def: .public bundle Bundle 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 f8ed7195d..1f4312482 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 @@ -2,9 +2,9 @@ [library [lux "*" [abstract - [monad {"+" [do]}]]]] + [monad {"+" do}]]]] ["[0]" / "_" - [runtime {"+" [Phase]}] + [runtime {"+" Phase}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -16,12 +16,12 @@ ["/[1]" // "_" ["[1][0]" extension] ["/[1]" // "_" - [analysis {"+" []}] + [analysis {"+" }] ["[1][0]" synthesis] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]]) + [reference {"+"} + [variable {"+"}]]]]]]]) (def: .public (generate archive synthesis) Phase 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 28bcf92fa..215ce0d05 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 @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [case let if]} + [lux {"-" case let if} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix monoid)] ["[0]" set]]] @@ -15,9 +15,9 @@ [number ["n" nat]]] [target - ["_" common_lisp {"+" [Expression Var/1]}]]]] + ["_" common_lisp {"+" Expression Var/1}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" reference] ["[1][0]" primitive] ["/[1]" // "_" @@ -26,14 +26,14 @@ ["[1][0]" synthesis "_" ["[1]/[0]" case]] ["/[1]" // "_" - ["[1][0]" synthesis {"+" [Member Synthesis Path]}] + ["[1][0]" synthesis {"+" Member Synthesis Path}] ["[1][0]" generation] ["//[1]" /// "_" [reference - ["[1][0]" variable {"+" [Register]}]] + ["[1][0]" variable {"+" Register}]] ["[1][0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]]) + [archive {"+" Archive}]]]]]]]) (def: .public register (-> Register Var/1) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension.lux index ebdd43f89..359031ab8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension.lux @@ -5,7 +5,7 @@ [collection ["[0]" dictionary]]]]] [// - [runtime {"+" [Bundle]}]] + [runtime {"+" Bundle}]] [/ ["[0]" common]]) 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 6144a74c6..72075b5a6 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 @@ -2,7 +2,7 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function]] [data @@ -12,13 +12,13 @@ [collection ["[0]" dictionary]]] [target - ["_" common_lisp {"+" [Expression]}]]]] + ["_" common_lisp {"+" Expression}]]]] ["[0]" /// "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle]}] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle}] ["[1][0]" primitive] [// - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] [// [extension ["[0]" bundle]]]]]) 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 23c245a1e..9c585b13b 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 @@ -1,33 +1,33 @@ (.module: [library - [lux {"-" [function]} + [lux {"-" function} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control pipe] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [target - ["_" common_lisp {"+" [Expression Var/1]}]]]] + ["_" common_lisp {"+" Expression Var/1}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" reference] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant Tuple Abstraction Application Analysis]}] - [synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] + [analysis {"+" Variant Tuple Abstraction Application Analysis}] + [synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" phase ("[1]#[0]" monad)] [reference - [variable {"+" [Register Variable]}]]]]]]) + [variable {"+" Register Variable}]]]]]]) (def: .public (apply expression archive [functionS argsS+]) (Generator (Application Synthesis)) 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 d6c8ac457..04b30cb45 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 @@ -1,21 +1,21 @@ (.module: [library - [lux {"-" [Scope]} + [lux {"-" Scope} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [math [number ["n" nat]]] [target - ["_" common_lisp {"+" [Expression]}]]]] + ["_" common_lisp {"+" Expression}]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Generator]}] + [runtime {"+" Operation Phase Generator}] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] @@ -23,14 +23,14 @@ [synthesis ["[0]" case]] ["/[1]" // "_" - ["[0]"synthesis {"+" [Scope Synthesis]}] + ["[0]"synthesis {"+" Scope Synthesis}] ["[1][0]" generation] ["//[1]" /// "_" ["[1][0]" phase] [meta - [archive {"+" [Archive]}]] + [archive {"+" Archive}]] [reference - [variable {"+" [Register]}]]]]]]]) + [variable {"+" Register}]]]]]]]) (def: .public (scope expression archive [start initsS+ bodyS]) (Generator (Scope Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/primitive.lux index 33c46df80..e9f0ae6b9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/primitive.lux @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [target - ["_" common_lisp {"+" [Expression]}]]]]) + ["_" common_lisp {"+" Expression}]]]]) (def: .public bit (-> Bit (Expression Any)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/reference.lux index d7ecb7abd..ec7033213 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/reference.lux @@ -2,9 +2,9 @@ [library [lux "*" [target - ["_" common_lisp {"+" [Expression]}]]]] + ["_" common_lisp {"+" Expression}]]]] [/// - [reference {"+" [System]}]]) + [reference {"+" System}]]) (implementation: .public system (System (Expression Any)) 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 2699124bd..8180b15b0 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 @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [Location]} + [lux {"-" Location} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser @@ -11,32 +11,32 @@ [data ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] ["[0]" encoding]] [collection ["[0]" list ("[1]#[0]" functor monoid)] ["[0]" row]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["[0]" i64]]] ["@" target - ["_" common_lisp {"+" [Expression Computation Literal]}]]]] + ["_" common_lisp {"+" Expression Computation Literal}]]]] ["[0]" /// "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant}] + ["[1][0]" synthesis {"+" Synthesis}] ["[1][0]" generation] ["//[1]" /// ["[1][0]" phase] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}]]]]]]) + [archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}]]]]]]) (def: module_id 0) 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 36d5ad914..ac1085b1f 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 @@ -2,15 +2,15 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [target - ["_" common_lisp {"+" [Expression]}]]]] + ["_" common_lisp {"+" Expression}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)]]]]) 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 b08634e0c..686e9934e 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 @@ -2,7 +2,7 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control [parser ["<[0]>" code]]] @@ -10,13 +10,13 @@ [collection ["[0]" list ("[1]#[0]" functor)]]] ["[0]" meta] - ["[0]" macro {"+" [with_identifiers]} + ["[0]" macro {"+" with_identifiers} ["[0]" code] - [syntax {"+" [syntax:]}]]]] + [syntax {"+" syntax:}]]]] ["[0]" /// "_" ["[1][0]" extension] [// - [synthesis {"+" [Synthesis]}] + [synthesis {"+" Synthesis}] ["[0]" generation] [/// ["[1]" phase]]]]) 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 1656d87a1..2acd26bd7 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 @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [target ["_" js]]]] ["[0]" / "_" - [runtime {"+" [Phase Phase!]}] + [runtime {"+" Phase Phase!}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -23,12 +23,12 @@ [js ["[1]/[0]" common]]]] ["/[1]" // "_" - [analysis {"+" []}] + [analysis {"+" }] ["[0]" synthesis] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]]) + [reference {"+"} + [variable {"+"}]]]]]]]) (exception: .public cannot_recur_as_an_expression) 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 e778a040e..f23a1a152 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [case let if]} + [lux {"-" case let if} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe]] [data @@ -13,9 +13,9 @@ [number ["n" nat]]] [target - ["_" js {"+" [Expression Computation Var Statement]}]]]] + ["_" js {"+" Expression Computation Var Statement}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Generator Generator!]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Generator Generator!}] ["[1][0]" reference] ["[1][0]" primitive] ["/[1]" // "_" @@ -24,13 +24,13 @@ ["[1][0]" synthesis "_" ["[1]/[0]" case]] ["/[1]" // "_" - ["[1][0]" synthesis {"+" [Member Synthesis Path]}] + ["[1][0]" synthesis {"+" Member Synthesis Path}] ["//[1]" /// "_" [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] ["[1][0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]]) + [archive {"+" Archive}]]]]]]]) (def: .public register (-> Register Var) 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 6e6ec5f9f..add23e343 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 @@ -1,31 +1,31 @@ (.module: [library - [lux {"-" [Variant Tuple function]} + [lux {"-" Variant Tuple function} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [target - ["_" js {"+" [Expression Computation Var Statement]}]]]] + ["_" js {"+" Expression Computation Var Statement}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Generator]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Generator}] ["[1][0]" reference] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant Tuple Abstraction Application Analysis]}] - [synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] + [analysis {"+" Variant Tuple Abstraction Application Analysis}] + [synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" phase ("[1]#[0]" monad)] [reference - [variable {"+" [Register Variable]}]]]]]]) + [variable {"+" Register Variable}]]]]]]) (def: .public (apply expression archive [functionS argsS+]) (Generator (Application Synthesis)) 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 ab90d7193..725f08062 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 @@ -1,29 +1,29 @@ (.module: [library - [lux {"-" [Scope]} + [lux {"-" Scope} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [math [number ["n" nat]]] [target - ["_" js {"+" [Computation Var Expression Statement]}]]]] + ["_" js {"+" Computation Var Expression Statement}]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Phase! Generator Generator!]}] + [runtime {"+" Operation Phase Phase! Generator Generator!}] ["[1][0]" case] ["///[1]" //// "_" - [synthesis {"+" [Scope Synthesis]}] + [synthesis {"+" Scope Synthesis}] ["[1][0]" generation] ["//[1]" /// "_" ["[1][0]" phase] [reference - [variable {"+" [Register]}]]]]]) + [variable {"+" Register}]]]]]) (def: @scope (-> Nat Text) 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 e8145500a..c9f0d2c25 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [target - ["_" js {"+" [Computation]}]]]] + ["_" js {"+" Computation}]]]] ["[0]" // "_" ["[1][0]" runtime]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/reference.lux index c2bf71750..e41e18aed 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/reference.lux @@ -2,9 +2,9 @@ [library [lux "*" [target - ["_" js {"+" [Expression]}]]]] + ["_" js {"+" Expression}]]]] [/// - [reference {"+" [System]}]]) + [reference {"+" System}]]) (implementation: .public system (System Expression) 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 b1ad89c64..e93f01032 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 @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser @@ -11,20 +11,20 @@ [data ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["[0]" i64]]] [target - ["_" js {"+" [Expression Var Computation Statement]}]] + ["_" js {"+" Expression Var Computation Statement}]] [tool [compiler [language @@ -33,15 +33,15 @@ ["[0]" /// "_" ["[1][0]" reference] ["//[1]" /// "_" - ["[1][0]" synthesis {"+" [Synthesis]}] + ["[1][0]" synthesis {"+" Synthesis}] ["[1][0]" generation] ["//[1]" /// ["[1][0]" phase] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}]]]]]]) + [archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}]]]]]]) (template [ ] [(type: .public 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 dc13bc56c..11f3d095e 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 @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [Variant Tuple]} + [lux {"-" Variant Tuple} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [target - ["_" js {"+" [Expression]}]]]] + ["_" js {"+" Expression}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] ["//[1]" /// ["[1][0]" phase ("[1]#[0]" monad)]]]]) 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 638ba9d80..c6fb592ea 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 @@ -2,9 +2,9 @@ [library [lux "*" [abstract - [monad {"+" [do]}]]]] + [monad {"+" do}]]]] ["[0]" / "_" - [runtime {"+" [Phase]}] + [runtime {"+" Phase}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] 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 ff82db88e..45898904f 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [Type if let case int]} + [lux {"-" Type if let case int} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function]] [data @@ -13,21 +13,21 @@ ["[0]" list ("[1]#[0]" mix)]]] [target [jvm - ["_" bytecode {"+" [Label Bytecode]} ("[1]#[0]" monad)] - ["[0]" type {"+" [Type]} - [category {"+" [Method]}]]]]]] + ["_" bytecode {"+" Label Bytecode} ("[1]#[0]" monad)] + ["[0]" type {"+" Type} + [category {"+" Method}]]]]]] ["[0]" // "_" ["[1][0]" type] - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" value] ["[1][0]" structure] [//// - ["[0]" synthesis {"+" [Path Synthesis]}] + ["[0]" synthesis {"+" Path Synthesis}] ["[0]" generation] [/// ["[0]" phase ("operation#[0]" monad)] [reference - [variable {"+" [Register]}]]]]]) + [variable {"+" Register}]]]]]) (def: equals_name "equals") diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/debug.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/debug.lux index 9e6328388..0efa979a0 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/debug.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/debug.lux @@ -2,16 +2,16 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" io {"+" [IO]}] - ["[0]" try {"+" [Try]}]] + ["[0]" io {"+" IO}] + ["[0]" try {"+" Try}]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [world - ["[0]" file {"+" [File]}]]]]) + ["[0]" file {"+" File}]]]]) (def: extension ".class") 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 f7556b075..468ddd17b 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [Type]} + [lux {"-" Type} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data [number ["[0]" i32] @@ -15,23 +15,23 @@ [target [jvm ["[0]" version] - ["[0]" modifier {"+" [Modifier]} ("[1]#[0]" monoid)] - ["[0]" field {"+" [Field]}] - ["[0]" method {"+" [Method]}] - ["_" bytecode {"+" [Label Bytecode]} ("[1]#[0]" monad)] - ["[0]" class {"+" [Class]}] - ["[0]" type {"+" [Type]} - [category {"+" [Return' Value']}] + ["[0]" modifier {"+" Modifier} ("[1]#[0]" monoid)] + ["[0]" field {"+" Field}] + ["[0]" method {"+" Method}] + ["_" bytecode {"+" Label Bytecode} ("[1]#[0]" monad)] + ["[0]" class {"+" Class}] + ["[0]" type {"+" Type} + [category {"+" Return' Value'}] ["[0]" reflection]] ["[0]" constant - [pool {"+" [Resource]}]] + [pool {"+" Resource}]] [encoding - ["[0]" name {"+" [External Internal]}] + ["[0]" name {"+" External Internal}] ["[0]" unsigned]]]] [tool [compiler [meta - ["[0]" archive {"+" [Archive]}]]]]]] + ["[0]" archive {"+" Archive}]]]]]] ["[0]" / "_" ["[1][0]" abstract] [field @@ -47,16 +47,16 @@ ["[1][0]" reset] ["[1][0]" apply]] ["/[1]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] [//// - [analysis {"+" [Environment]}] - [synthesis {"+" [Synthesis Abstraction Apply]}] + [analysis {"+" Environment}] + [synthesis {"+" Synthesis Abstraction Apply}] ["[0]" generation] [/// - ["[0]" arity {"+" [Arity]}] + ["[0]" arity {"+" Arity}] ["[0]" phase] [reference - [variable {"+" [Register]}]]]]]]) + [variable {"+" Register}]]]]]]) (def: .public (with generate archive @begin class environment arity body) (-> Phase Archive Label External (Environment Synthesis) Arity (Bytecode Any) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/abstract.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/abstract.lux index 50f29310f..57c1a4a7a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/abstract.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/abstract.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [Type]} + [lux {"-" Type} [data [text ["%" format]]] [target [jvm - ["[0]" type {"+" [Type]} - [category {"+" [Method]}]]]]]] + ["[0]" type {"+" Type} + [category {"+" Method}]]]]]] [// [field [constant diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant.lux index f902f8b83..0bb37e3da 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant.lux @@ -1,17 +1,17 @@ (.module: [library - [lux {"-" [Type type]} + [lux {"-" Type type} [data [collection ["[0]" row]]] [target [jvm - ["[0]" field {"+" [Field]}] - ["[0]" modifier {"+" [Modifier]} ("[1]#[0]" monoid)] - [type {"+" [Type]} - [category {"+" [Value]}]] + ["[0]" field {"+" Field}] + ["[0]" modifier {"+" Modifier} ("[1]#[0]" monoid)] + [type {"+" Type} + [category {"+" Value}]] [constant - [pool {"+" [Resource]}]]]]]]) + [pool {"+" Resource}]]]]]]) (def: modifier (Modifier Field) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant/arity.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant/arity.lux index ede38774c..dc98896ce 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant/arity.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant/arity.lux @@ -1,15 +1,15 @@ (.module: [library - [lux {"-" [type]} + [lux {"-" type} [target [jvm ["[0]" type] - ["[0]" field {"+" [Field]}] + ["[0]" field {"+" Field}] [constant - [pool {"+" [Resource]}]]]]]] + [pool {"+" Resource}]]]]]] ["[0]" // [///////// - [arity {"+" [Arity]}]]]) + [arity {"+" Arity}]]]) (def: .public name "arity") (def: .public type type.int) 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 7f5969f7b..9365336e8 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 @@ -1,25 +1,25 @@ (.module: [library - [lux {"-" [Type type]} + [lux {"-" Type type} [data [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]]] [target [jvm - ["[0]" modifier {"+" [Modifier]} ("[1]#[0]" monoid)] - ["[0]" field {"+" [Field]}] - ["_" bytecode {"+" [Bytecode]}] - [type {"+" [Type]} - [category {"+" [Value Class]}]] + ["[0]" modifier {"+" Modifier} ("[1]#[0]" monoid)] + ["[0]" field {"+" Field}] + ["_" bytecode {"+" Bytecode}] + [type {"+" Type} + [category {"+" Value Class}]] [constant - [pool {"+" [Resource]}]]]]]] + [pool {"+" Resource}]]]]]] ["[0]" //// "_" ["[1][0]" type] ["[1][0]" reference] [////// [reference - [variable {"+" [Register]}]]]]) + [variable {"+" Register}]]]]) (def: .public type ////type.value) 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 c21896ac9..7240ff13f 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 @@ -1,14 +1,14 @@ (.module: [library - [lux {"-" [type]} + [lux {"-" type} [control ["[0]" try]] [target [jvm - ["_" bytecode {"+" [Bytecode]}] + ["_" bytecode {"+" Bytecode}] ["[0]" type] [encoding - [name {"+" [External]}] + [name {"+" External}] ["[0]" signed]]]]]] ["[0]" //// "_" ["[1][0]" abstract]]) 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 f1f03af6c..747d53f66 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 @@ -1,27 +1,27 @@ (.module: [library - [lux {"-" [Type]} + [lux {"-" Type} [data [collection ["[0]" list] ["[0]" row]]] [target [jvm - ["_" bytecode {"+" [Bytecode]}] - ["[0]" field {"+" [Field]}] + ["_" bytecode {"+" Bytecode}] + ["[0]" field {"+" Field}] [constant - [pool {"+" [Resource]}]] - [type {"+" [Type]} - [category {"+" [Value Class]}]]]]]] + [pool {"+" Resource}]] + [type {"+" Type} + [category {"+" Value Class}]]]]]] ["[0]" // ["///[1]" //// "_" ["[1][0]" reference] [//// - [analysis {"+" [Environment]}] - [synthesis {"+" [Synthesis]}] + [analysis {"+" Environment}] + [synthesis {"+" Synthesis}] [/// [reference - [variable {"+" [Register]}]]]]]]) + [variable {"+" Register}]]]]]]) (def: .public (closure environment) (-> (Environment Synthesis) (List (Type Value))) 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 67adbe6fb..216c8cba8 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 @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [Type]} + [lux {"-" Type} [abstract ["[0]" monad]] [data @@ -11,12 +11,12 @@ ["[0]" row]]] [target [jvm - ["[0]" field {"+" [Field]}] - ["_" bytecode {"+" [Label Bytecode]} ("[1]#[0]" monad)] - [type {"+" [Type]} - [category {"+" [Class]}]] + ["[0]" field {"+" Field}] + ["_" bytecode {"+" Label Bytecode} ("[1]#[0]" monad)] + [type {"+" Type} + [category {"+" Class}]] [constant - [pool {"+" [Resource]}]]]]]] + [pool {"+" Resource}]]]]]] ["[0]" / "_" ["[1][0]" count] ["/[1]" // @@ -26,9 +26,9 @@ ["//[1]" /// "_" ["[1][0]" reference] [////// - ["[0]" arity {"+" [Arity]}] + ["[0]" arity {"+" Arity}] [reference - [variable {"+" [Register]}]]]]]]]) + [variable {"+" Register}]]]]]]]) (def: .public (initial amount) (-> Nat (Bytecode Any)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method.lux index fcf965365..13adbc953 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method.lux @@ -3,8 +3,8 @@ [lux "*" [target [jvm - ["[0]" modifier {"+" [Modifier]} ("[1]#[0]" monoid)] - ["[0]" method {"+" [Method]}]]]]]) + ["[0]" modifier {"+" Modifier} ("[1]#[0]" monoid)] + ["[0]" method {"+" Method}]]]]]) (def: .public modifier (Modifier Method) 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 de389d38f..93659cad4 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [Type type]} + [lux {"-" Type type} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" try]] [data @@ -14,14 +14,14 @@ ["[0]" list ("[1]#[0]" monoid functor)]]] [target [jvm - ["_" bytecode {"+" [Label Bytecode]} ("[1]#[0]" monad)] - ["[0]" method {"+" [Method]}] + ["_" bytecode {"+" Label Bytecode} ("[1]#[0]" monad)] + ["[0]" method {"+" Method}] [constant - [pool {"+" [Resource]}]] + [pool {"+" Resource}]] [encoding ["[0]" signed]] - ["[0]" type {"+" [Type]} - ["[0]" category {"+" [Class]}]]]]]] + ["[0]" type {"+" Type} + ["[0]" category {"+" Class}]]]]]] ["[0]" // ["[1][0]" reset] ["[1][0]" implementation] @@ -40,12 +40,12 @@ ["[1][0]" value] ["[1][0]" reference] [//// - [analysis {"+" [Environment]}] - [synthesis {"+" [Synthesis]}] + [analysis {"+" Environment}] + [synthesis {"+" Synthesis}] [/// - [arity {"+" [Arity]}] + [arity {"+" Arity}] [reference - [variable {"+" [Register]}]]]]]]]) + [variable {"+" Register}]]]]]]]) (def: (increment by) (-> Nat (Bytecode Any)) 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 9a77e6a62..d031faf07 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 @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [Type type]} + [lux {"-" Type type} [data [collection ["[0]" list]]] [target [jvm - ["[0]" method {"+" [Method]}] - ["_" bytecode {"+" [Label Bytecode]}] + ["[0]" method {"+" Method}] + ["_" bytecode {"+" Label Bytecode}] [constant - [pool {"+" [Resource]}]] - ["[0]" type {"+" [Type]} + [pool {"+" Resource}]] + ["[0]" type {"+" Type} ["[0]" category]]]]]] ["[0]" // ["//[1]" /// "_" ["[1][0]" type] [////// - [arity {"+" [Arity]}]]]]) + [arity {"+" Arity}]]]]) (def: .public name "impl") 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 b5164fca9..6ac774c58 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 @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [Type type]} + [lux {"-" Type type} [abstract ["[0]" monad]] [control @@ -12,14 +12,14 @@ ["[0]" list ("[1]#[0]" monoid functor)]]] [target [jvm - ["_" bytecode {"+" [Bytecode]}] - ["[0]" method {"+" [Method]}] + ["_" bytecode {"+" Bytecode}] + ["[0]" method {"+" Method}] [encoding ["[0]" unsigned]] [constant - [pool {"+" [Resource]}]] - ["[0]" type {"+" [Type]} - ["[0]" category {"+" [Class Value]}]]]]]] + [pool {"+" Resource}]] + ["[0]" type {"+" Type} + ["[0]" category {"+" Class Value}]]]]]] ["[0]" // ["[1][0]" implementation] ["/[1]" // "_" @@ -34,12 +34,12 @@ ["[1][0]" type] ["[1][0]" reference] [//// - [analysis {"+" [Environment]}] - [synthesis {"+" [Synthesis]}] + [analysis {"+" Environment}] + [synthesis {"+" Synthesis}] [/// - ["[0]" arity {"+" [Arity]}] + ["[0]" arity {"+" Arity}] [reference - [variable {"+" [Register]}]]]]]]]) + [variable {"+" Register}]]]]]]]) (def: .public name "") 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 105718c78..fc899ac66 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [Type type]} + [lux {"-" Type type} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data [number ["n" nat]] @@ -10,17 +10,17 @@ ["[0]" list]]] [target [jvm - ["[0]" field {"+" [Field]}] - ["[0]" method {"+" [Method]}] - ["_" bytecode {"+" [Bytecode]}] + ["[0]" field {"+" Field}] + ["[0]" method {"+" Method}] + ["_" bytecode {"+" Bytecode}] ["[0]" constant - [pool {"+" [Resource]}]] - [type {"+" [Type]} - ["[0]" category {"+" [Class Value Return]}]]]] + [pool {"+" Resource}]] + [type {"+" Type} + ["[0]" category {"+" Class Value Return}]]]] [tool [compiler [meta - ["[0]" archive {"+" [Archive]}]]]]]] + ["[0]" archive {"+" Archive}]]]]]] ["[0]" // ["[1][0]" init] ["[1][0]" implementation] @@ -32,14 +32,14 @@ ["[1][0]" foreign] ["[1][0]" partial]]] ["/[1]" // "_" - [runtime {"+" [Operation Phase]}] + [runtime {"+" Operation Phase}] ["[1][0]" value] ["[1][0]" reference] [//// - [analysis {"+" [Environment]}] - [synthesis {"+" [Synthesis]}] + [analysis {"+" Environment}] + [synthesis {"+" Synthesis}] [/// - ["[0]" arity {"+" [Arity]}] + ["[0]" arity {"+" Arity}] ["[0]" phase]]]]]]) (def: .public (instance' foreign_setup class environment arity) 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 d70718d0a..df16fb319 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 @@ -1,17 +1,17 @@ (.module: [library - [lux {"-" [Type type]} + [lux {"-" Type type} [data [collection ["[0]" list ("[1]#[0]" functor)]]] [target [jvm - ["[0]" method {"+" [Method]}] - ["_" bytecode {"+" [Bytecode]}] + ["[0]" method {"+" Method}] + ["_" bytecode {"+" Bytecode}] [constant - [pool {"+" [Resource]}]] - ["[0]" type {"+" [Type]} - ["[0]" category {"+" [Class]}]]]]]] + [pool {"+" Resource}]] + ["[0]" type {"+" Type} + ["[0]" category {"+" Class}]]]]]] ["[0]" // ["[1][0]" new] ["/[1]" // "_" @@ -21,10 +21,10 @@ ["/[1]" // "_" ["[1][0]" reference] [//// - [analysis {"+" [Environment]}] - [synthesis {"+" [Synthesis]}] + [analysis {"+" Environment}] + [synthesis {"+" Synthesis}] [/// - ["[0]" arity {"+" [Arity]}]]]]]]) + ["[0]" arity {"+" Arity}]]]]]]) (def: .public name "reset") 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 bc812c85b..e9b49fa1e 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 @@ -1,36 +1,36 @@ (.module: [library - [lux {"-" [Definition]} - ["[0]" ffi {"+" [import: do_to object]}] + [lux {"-" Definition} + ["[0]" ffi {"+" import: do_to object}] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control pipe - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO io]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO io}] [concurrency - ["[0]" atom {"+" [Atom atom]}]]] + ["[0]" atom {"+" Atom atom}]]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" array] - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" row]] ["[0]" format "_" ["[1]" binary]]] [target [jvm - ["[0]" loader {"+" [Library]}] - ["_" bytecode {"+" [Bytecode]}] - ["[0]" modifier {"+" [Modifier]} ("[1]#[0]" monoid)] - ["[0]" field {"+" [Field]}] - ["[0]" method {"+" [Method]}] + ["[0]" loader {"+" Library}] + ["_" bytecode {"+" Bytecode}] + ["[0]" modifier {"+" Modifier} ("[1]#[0]" monoid)] + ["[0]" field {"+" Field}] + ["[0]" method {"+" Method}] ["[0]" version] - ["[0]" class {"+" [Class]}] + ["[0]" class {"+" Class}] ["[0]" encoding "_" ["[1]/[0]" name]] ["[0]" type @@ -39,7 +39,7 @@ [compiler ["[0]" name]]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Definition]}]] + ["[1][0]" runtime {"+" Definition}]] ) (import: java/lang/reflect/Field 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 7491bcb1f..644287c38 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 @@ -2,7 +2,7 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function]] [data @@ -13,17 +13,17 @@ ["[0]" list ("[1]#[0]" functor)]]] [target [jvm - ["_" bytecode {"+" [Label Bytecode]} ("[1]#[0]" monad)]]]]] + ["_" bytecode {"+" Label Bytecode} ("[1]#[0]" monad)]]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" value] [//// - ["[0]" synthesis {"+" [Path Synthesis]}] + ["[0]" synthesis {"+" Path Synthesis}] ["[0]" generation] [/// ["[0]" phase] [reference - [variable {"+" [Register]}]]]]]) + [variable {"+" Register}]]]]]) (def: (invariant? register changeS) (-> Register Synthesis Bit) 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 daf8fa2fc..b22829f2e 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 @@ -1,12 +1,12 @@ (.module: [library - [lux {"-" [i64]} - ["[0]" ffi {"+" [import:]}] + [lux {"-" i64} + ["[0]" ffi {"+" import:}] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [target [jvm - ["_" bytecode {"+" [Bytecode]}] + ["_" bytecode {"+" Bytecode}] ["[0]" type] [encoding ["[0]" signed]]]]]] 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 da666b3d6..cfe9bace9 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [Definition]} + [lux {"-" Definition} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" try]] [data @@ -12,17 +12,17 @@ ["[1]" binary]]] [target [jvm - ["_" bytecode {"+" [Bytecode]}] - ["[0]" modifier {"+" [Modifier]} ("[1]#[0]" monoid)] - ["[0]" method {"+" [Method]}] + ["_" bytecode {"+" Bytecode}] + ["[0]" modifier {"+" Modifier} ("[1]#[0]" monoid)] + ["[0]" method {"+" Method}] ["[0]" version] - ["[0]" class {"+" [Class]}] + ["[0]" class {"+" Class}] [encoding ["[0]" name]] ["[0]" type ["[0]" reflection]]]]]] ["[0]" // - ["[1][0]" runtime {"+" [Definition]}] + ["[1][0]" runtime {"+" Definition}] ["[1][0]" function/abstract]]) (def: .public class 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 42434a35d..03cb18916 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 @@ -2,18 +2,18 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [data [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [target [jvm - ["_" bytecode {"+" [Bytecode]}] + ["_" bytecode {"+" Bytecode}] ["[0]" type] [encoding ["[0]" unsigned]]]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation]}] + ["[1][0]" runtime {"+" Operation}] ["[1][0]" value] ["[1][0]" type] ["//[1]" /// "_" @@ -22,9 +22,9 @@ [/// ["[1]" phase ("operation#[0]" monad)] [reference - ["[0]" variable {"+" [Register Variable]}]] + ["[0]" variable {"+" Register Variable}]] [meta - [archive {"+" [Archive]}]]]]]]) + [archive {"+" Archive}]]]]]]) (def: .public this (Bytecode Any) 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 d3eb4af34..d8d042c67 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 @@ -1,20 +1,20 @@ (.module: [library - [lux {"-" [Type Definition Label case false true try]} + [lux {"-" Type Definition Label case false true try} [abstract - ["[0]" monad {"+" [do]}] + ["[0]" monad {"+" do}] ["[0]" enum]] [control ["[0]" try]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]] ["[0]" format "_" ["[1]" binary]] [text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [math [number ["n" nat] @@ -22,18 +22,18 @@ ["[0]" i64]]] [target ["[0]" jvm "_" - ["_" bytecode {"+" [Label Bytecode]}] - ["[0]" modifier {"+" [Modifier]} ("[1]#[0]" monoid)] - ["[0]" field {"+" [Field]}] - ["[0]" method {"+" [Method]}] + ["_" bytecode {"+" Label Bytecode}] + ["[0]" modifier {"+" Modifier} ("[1]#[0]" monoid)] + ["[0]" field {"+" Field}] + ["[0]" method {"+" Method}] ["[1]/[0]" version] - ["[0]" class {"+" [Class]}] + ["[0]" class {"+" Class}] ["[0]" constant - [pool {"+" [Resource]}]] + [pool {"+" Resource}]] [encoding ["[0]" name]] - ["[0]" type {"+" [Type]} - ["[0]" category {"+" [Return' Value']}] + ["[0]" type {"+" Type} + ["[0]" category {"+" Return' Value'}] ["[0]" reflection]]]]]] ["[0]" // "_" ["[1][0]" type] @@ -52,12 +52,12 @@ ["[0]" generation] [/// ["[1]" phase] - [arity {"+" [Arity]}] + [arity {"+" Arity}] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [io {"+" [lux_context]}] - [archive {"+" [Archive]}]]]]]]) + [io {"+" lux_context}] + [archive {"+" Archive}]]]]]]) (type: .public Byte_Code Binary) 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 867142e35..8b6eb089a 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 @@ -2,7 +2,7 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data [number ["[0]" i32]] @@ -10,16 +10,16 @@ ["[0]" list]]] [target [jvm - ["_" bytecode {"+" [Bytecode]}] + ["_" bytecode {"+" Bytecode}] ["[0]" type] [encoding ["[0]" signed]]]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] [/// ["[0]" phase]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/value.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/value.lux index 780261e43..bdad01192 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/value.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/value.lux @@ -1,11 +1,11 @@ (.module: [library - [lux {"-" [Type type]} + [lux {"-" Type type} [target [jvm - ["_" bytecode {"+" [Bytecode]}] - ["[0]" type {"+" [Type]} ("[1]#[0]" equivalence) - [category {"+" [Primitive]}] + ["_" bytecode {"+" Bytecode}] + ["[0]" type {"+" Type} ("[1]#[0]" equivalence) + [category {"+" Primitive}] ["[0]" box]]]]]]) (def: .public field "value") 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 2a6a5da82..a6e053c61 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 @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [target ["_" lua]]]] ["[0]" / "_" - [runtime {"+" [Phase]}] + [runtime {"+" Phase}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -23,12 +23,12 @@ [lua ["[1]/[0]" common]]]] ["/[1]" // "_" - [analysis {"+" []}] + [analysis {"+" }] ["[0]" synthesis] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]]) + [reference {"+" } + [variable {"+" }]]]]]]]) (exception: .public cannot_recur_as_an_expression) 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 ff367f923..71ec87fe1 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 @@ -1,18 +1,18 @@ (.module: [library - [lux {"-" [case let if]} + [lux {"-" case let if} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] [target - ["_" lua {"+" [Expression Var Statement]}]]]] + ["_" lua {"+" Expression Var Statement}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Generator Generator!]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Generator Generator!}] ["[1][0]" reference] ["[1][0]" primitive] ["/[1]" // "_" @@ -21,14 +21,14 @@ ["[1][0]" synthesis "_" ["[1]/[0]" case]] ["/[1]" // "_" - ["[1][0]" synthesis {"+" [Member Synthesis Path]}] + ["[1][0]" synthesis {"+" Member Synthesis Path}] ["[1][0]" generation] ["//[1]" /// "_" [reference - ["[1][0]" variable {"+" [Register]}]] + ["[1][0]" variable {"+" Register}]] ["[1][0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]]) + [archive {"+" Archive}]]]]]]]) (def: .public register (-> Register Var) 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 cfe9454bf..0c24ad7df 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 @@ -1,33 +1,33 @@ (.module: [library - [lux {"-" [Tuple Variant function]} + [lux {"-" Tuple Variant function} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control pipe] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [target - ["_" lua {"+" [Var Expression Label Statement]}]]]] + ["_" lua {"+" Var Expression Label Statement}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Generator]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Generator}] ["[1][0]" reference] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant Tuple Abstraction Application Analysis]}] - [synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] + [analysis {"+" Variant Tuple Abstraction Application Analysis}] + [synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" phase ("[1]#[0]" monad)] [reference - [variable {"+" [Register Variable]}]]]]]]) + [variable {"+" Register Variable}]]]]]]) (def: .public (apply expression archive [functionS argsS+]) (Generator (Application Synthesis)) 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 34bd663c7..8e62fd7c8 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 @@ -1,12 +1,12 @@ (.module: [library - [lux {"-" [Scope]} + [lux {"-" Scope} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" set]]] @@ -14,21 +14,21 @@ [number ["n" nat]]] [target - ["_" lua {"+" [Var Expression Label Statement]}]]]] + ["_" lua {"+" Var Expression Label Statement}]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Phase! Generator Generator!]}] + [runtime {"+" Operation Phase Phase! Generator Generator!}] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - ["[0]"synthesis {"+" [Scope Synthesis]}] + ["[0]"synthesis {"+" Scope Synthesis}] ["[1][0]" generation] ["//[1]" /// "_" ["[1][0]" phase] [meta - [archive {"+" [Archive]}]] + [archive {"+" Archive}]] [reference - [variable {"+" [Register]}]]]]]]) + [variable {"+" Register}]]]]]]) (def: @scope (-> Nat Label) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/primitive.lux index d6bd49cd2..5f801a1b1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/primitive.lux @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [target - ["_" lua {"+" [Literal]}]]]]) + ["_" lua {"+" Literal}]]]]) (template [ ] [(def: .public diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/reference.lux index 703e88fe5..decdecf12 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/reference.lux @@ -2,9 +2,9 @@ [library [lux "*" [target - ["_" lua {"+" [Expression]}]]]] + ["_" lua {"+" Expression}]]]] [/// - [reference {"+" [System]}]]) + [reference {"+" System}]]) (implementation: .public system (System Expression) 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 2594b3cff..b8216596f 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 @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [Location]} + [lux {"-" Location} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser @@ -11,32 +11,32 @@ [data ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["[0]" i64]]] ["@" target - ["_" lua {"+" [Expression Location Var Computation Literal Label Statement]}]]]] + ["_" lua {"+" Expression Location Var Computation Literal Label Statement}]]]] ["[0]" /// "_" ["[1][0]" reference] ["//[1]" /// "_" - ["[1][0]" synthesis {"+" [Synthesis]}] + ["[1][0]" synthesis {"+" Synthesis}] ["[1][0]" generation] ["//[1]" /// ["[1][0]" phase] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}]]]]]]) + [archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}]]]]]]) (template [ ] [(type: .public 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 84a223488..b1cb4161c 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 @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [Tuple Variant]} + [lux {"-" Tuple Variant} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [target - ["_" lua {"+" [Expression]}]]]] + ["_" lua {"+" Expression}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)]]]]) 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 65ec8d957..df16028a6 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 @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [target ["_" php]]]] ["[0]" / "_" - [runtime {"+" [Phase Phase!]}] + [runtime {"+" Phase Phase!}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -20,12 +20,12 @@ ["/[1]" // "_" ["[1][0]" extension] ["/[1]" // "_" - [analysis {"+" []}] + [analysis {"+" }] ["[1][0]" synthesis] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]]) + [reference {"+"} + [variable {"+"}]]]]]]]) (def: (statement expression archive synthesis) Phase! 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 ea0937e06..fcdccdb3b 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 @@ -1,12 +1,12 @@ (.module: [library - [lux {"-" [case let if]} + [lux {"-" case let if} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] @@ -14,9 +14,9 @@ [number ["i" int]]] [target - ["_" php {"+" [Expression Var Statement]}]]]] + ["_" php {"+" Expression Var Statement}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Generator Generator!]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Generator Generator!}] ["[1][0]" reference] ["[1][0]" primitive] ["/[1]" // "_" @@ -25,14 +25,14 @@ ["[1][0]" synthesis "_" ["[1]/[0]" case]] ["/[1]" // "_" - ["[1][0]" synthesis {"+" [Member Synthesis Path]}] + ["[1][0]" synthesis {"+" Member Synthesis Path}] ["[1][0]" generation] ["//[1]" /// "_" [reference - ["[1][0]" variable {"+" [Register]}]] + ["[1][0]" variable {"+" Register}]] ["[1][0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]]) + [archive {"+" Archive}]]]]]]]) (def: .public register (-> Register Var) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension.lux index ebdd43f89..359031ab8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension.lux @@ -5,7 +5,7 @@ [collection ["[0]" dictionary]]]]] [// - [runtime {"+" [Bundle]}]] + [runtime {"+" Bundle}]] [/ ["[0]" common]]) 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 2a821d617..050286fc8 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 @@ -2,7 +2,7 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function]] [data @@ -13,13 +13,13 @@ [collection ["[0]" dictionary]]] [target - ["_" php {"+" [Expression]}]]]] + ["_" php {"+" Expression}]]]] ["[0]" /// "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle]}] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle}] ["[1][0]" primitive] [// - [extension {"+" [Nullary Unary Binary Trinary - nullary unary binary trinary]}] + [extension {"+" Nullary Unary Binary Trinary + nullary unary binary trinary}] [// [extension ["[0]" bundle]]]]]) 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 2fc8b837e..3804b8e19 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 @@ -1,33 +1,33 @@ (.module: [library - [lux {"-" [Global function]} + [lux {"-" Global function} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control pipe] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [target - ["_" php {"+" [Var Global Expression Argument Label Statement]}]]]] + ["_" php {"+" Var Global Expression Argument Label Statement}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Phase! Generator]}] + ["[1][0]" runtime {"+" Operation Phase Phase! Generator}] ["[1][0]" reference] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant Tuple Abstraction Application Analysis]}] - [synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] + [analysis {"+" Variant Tuple Abstraction Application Analysis}] + [synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" phase ("[1]#[0]" monad)] [reference - [variable {"+" [Register Variable]}]]]]]]) + [variable {"+" Register Variable}]]]]]]) (def: .public (apply expression archive [functionS argsS+]) (Generator (Application Synthesis)) 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 22e48c266..709daa132 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 @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [Scope]} + [lux {"-" Scope} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" set {"+" [Set]}]]] + ["[0]" set {"+" Set}]]] [math [number ["n" nat]]] [target - ["_" php {"+" [Var Expression Label Statement]}]]]] + ["_" php {"+" Var Expression Label Statement}]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Phase! Generator Generator!]}] + [runtime {"+" Operation Phase Phase! Generator Generator!}] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] @@ -24,14 +24,14 @@ [synthesis ["[0]" case]] ["/[1]" // "_" - ["[0]"synthesis {"+" [Scope Synthesis]}] + ["[0]"synthesis {"+" Scope Synthesis}] ["[1][0]" generation] ["//[1]" /// "_" ["[1][0]" phase] [meta - [archive {"+" [Archive]}]] + [archive {"+" Archive}]] [reference - [variable {"+" [Register]}]]]]]]]) + [variable {"+" Register}]]]]]]]) (def: @scope (-> Nat Label) 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 d70ccee56..24be9312c 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 @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [control - [pipe {"+" [cond> new>]}]] + [pipe {"+" cond> new>}]] [math [number ["[0]" frac]]] [target - ["_" php {"+" [Literal Expression]}]]]] + ["_" php {"+" Literal Expression}]]]] ["[0]" // "_" ["[1][0]" runtime]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/reference.lux index b1528276e..025e81e1c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/reference.lux @@ -2,9 +2,9 @@ [library [lux "*" [target - ["_" php {"+" [Expression]}]]]] + ["_" php {"+" Expression}]]]] [/// - [reference {"+" [System]}]]) + [reference {"+" System}]]) (implementation: .public system (System Expression) 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 822607732..3dc089d50 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 @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [Location]} + [lux {"-" Location} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser @@ -11,32 +11,32 @@ [data ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["[0]" i64]]] ["@" target - ["_" php {"+" [Expression Label Constant Var Computation Literal Statement]}]]]] + ["_" php {"+" Expression Label Constant Var Computation Literal Statement}]]]] ["[0]" /// "_" ["[1][0]" reference] ["//[1]" /// "_" - ["[1][0]" synthesis {"+" [Synthesis]}] + ["[1][0]" synthesis {"+" Synthesis}] ["[1][0]" generation] ["//[1]" /// ["[1][0]" phase] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}]]]]]]) + [archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}]]]]]]) (template [ ] [(type: .public 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 bcc64b14d..984e57acd 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 @@ -2,18 +2,18 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data [collection ["[0]" list]]] [target - ["_" php {"+" [Expression]}]]]] + ["_" php {"+" Expression}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)]]]]) 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 a1235130d..bb6ee4429 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 @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [target ["_" python]]]] ["[0]" / "_" - [runtime {"+" [Phase]}] + [runtime {"+" Phase}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -23,12 +23,12 @@ [python ["[1]/[0]" common]]]] ["/[1]" // "_" - [analysis {"+" []}] + [analysis {"+" }] ["[1][0]" synthesis] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]]) + [reference {"+"} + [variable {"+"}]]]]]]]) (exception: .public cannot_recur_as_an_expression) 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 04e0fdfba..88a0f48ad 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 @@ -1,11 +1,11 @@ (.module: [library - [lux {"-" [case let if]} + [lux {"-" case let if} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] @@ -14,9 +14,9 @@ ["n" nat] ["i" int]]] [target - ["_" python {"+" [Expression SVar Statement]}]]]] + ["_" python {"+" Expression SVar Statement}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator Phase! Generator!]}] + ["[1][0]" runtime {"+" Operation Phase Generator Phase! Generator!}] ["[1][0]" reference] ["[1][0]" primitive] ["/[1]" // "_" @@ -25,14 +25,14 @@ [synthesis ["[0]" case]] ["/[1]" // "_" - ["[1][0]" synthesis {"+" [Member Synthesis Path]}] + ["[1][0]" synthesis {"+" Member Synthesis Path}] ["[1][0]" generation] ["//[1]" /// "_" [reference - ["[1][0]" variable {"+" [Register]}]] + ["[1][0]" variable {"+" Register}]] ["[1][0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]]) + [archive {"+" Archive}]]]]]]]) (def: .public (identifier prefix) (-> Text (Operation SVar)) 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 00eb7732f..941ea9959 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 @@ -1,34 +1,34 @@ (.module: [library - [lux {"-" [function]} + [lux {"-" function} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [target - ["_" python {"+" [SVar Expression Statement]}]]]] + ["_" python {"+" SVar Expression Statement}]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Generator Phase! Generator!]}] + [runtime {"+" Operation Phase Generator Phase! Generator!}] ["[1][0]" reference] ["[1][0]" case] ["[1][0]" loop] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Environment Abstraction Application Analysis]}] - [synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] + [analysis {"+" Environment Abstraction Application Analysis}] + [synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" phase] [reference - [variable {"+" [Register Variable]}]] + [variable {"+" Register Variable}]] [meta - [archive {"+" [Archive]} + [archive {"+" Archive} ["[0]" artifact]]]]]]]) (def: .public (apply expression archive [functionS argsS+]) 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 2eae48279..570d262d7 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 @@ -1,12 +1,12 @@ (.module: [library - [lux {"-" [Scope]} + [lux {"-" Scope} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] @@ -14,9 +14,9 @@ [number ["n" nat]]] [target - ["_" python {"+" [Expression SVar Statement]}]]]] + ["_" python {"+" Expression SVar Statement}]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Generator Phase! Generator!]}] + [runtime {"+" Operation Phase Generator Phase! Generator!}] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] @@ -24,12 +24,12 @@ [synthesis ["[0]" case]] ["/[1]" // "_" - ["[0]" synthesis {"+" [Scope Synthesis]}] + ["[0]" synthesis {"+" Scope Synthesis}] ["[1][0]" generation] ["//[1]" /// "_" ["[1][0]" phase] [reference - ["[1][0]" variable {"+" [Register]}]]]]]]]) + ["[1][0]" variable {"+" Register}]]]]]]]) (def: (setup offset bindings body) (-> Register (List (Expression Any)) (Statement Any) (Statement Any)) 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 7ba155bbd..4d0e580d4 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [target - ["_" python {"+" [Expression]}]]]] + ["_" python {"+" Expression}]]]] ["[0]" // "_" ["[1][0]" runtime]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/reference.lux index 647090e47..c5402b2d7 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/reference.lux @@ -2,9 +2,9 @@ [library [lux "*" [target - ["_" python {"+" [Expression]}]]]] + ["_" python {"+" Expression}]]]] [/// - [reference {"+" [System]}]]) + [reference {"+" System}]]) (implementation: .public system (System (Expression Any)) 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 a6b9decab..a4948041f 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 @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [++]} + [lux {"-" ++} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser @@ -11,34 +11,34 @@ [data ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["f" frac] ["[0]" i64]]] ["@" target - ["_" python {"+" [Expression SVar Computation Literal Statement]}]]]] + ["_" python {"+" Expression SVar Computation Literal Statement}]]]] ["[0]" /// "_" ["[1][0]" reference] ["//[1]" /// "_" ["$" version] - ["[1][0]" synthesis {"+" [Synthesis]}] + ["[1][0]" synthesis {"+" Synthesis}] ["[1][0]" generation] ["//[1]" /// ["[1][0]" phase] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}]]]]]]) + [archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}]]]]]]) (template [ ] [(type: .public 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 86fe0b77c..624e4c077 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 @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [Variant Tuple]} + [lux {"-" Variant Tuple} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [target - ["_" python {"+" [Expression]}]]]] + ["_" python {"+" Expression}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)]]]]) 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 8ef9f3f20..24933ea51 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 @@ -2,11 +2,11 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [target ["_" r]]]] ["[0]" / "_" - [runtime {"+" [Phase]}] + [runtime {"+" Phase}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -18,12 +18,12 @@ ["/[1]" // "_" ["[1][0]" extension] ["/[1]" // "_" - [analysis {"+" []}] + [analysis {"+" }] ["[1][0]" synthesis] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]]) + [reference {"+"} + [variable {"+"}]]]]]]]) (def: .public (generate archive synthesis) Phase 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 7f711dc98..265b1fd46 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 @@ -1,12 +1,12 @@ (.module: [library - [lux {"-" [case let if]} + [lux {"-" case let if} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] @@ -16,9 +16,9 @@ [number ["i" int]]] [target - ["_" r {"+" [Expression SVar]}]]]] + ["_" r {"+" Expression SVar}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" reference] ["[1][0]" primitive] ["/[1]" // "_" @@ -27,14 +27,14 @@ ["[1][0]" synthesis "_" ["[1]/[0]" case]] ["/[1]" // "_" - ["[1][0]" synthesis {"+" [Member Synthesis Path]}] + ["[1][0]" synthesis {"+" Member Synthesis Path}] ["[1][0]" generation] ["//[1]" /// "_" [reference - ["[1][0]" variable {"+" [Register]}]] + ["[1][0]" variable {"+" Register}]] ["[1][0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]]) + [archive {"+" Archive}]]]]]]]) (def: .public register (-> Register SVar) 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 662561521..a0b0428d0 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 @@ -1,33 +1,33 @@ (.module: [library - [lux {"-" [function]} + [lux {"-" function} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control pipe] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [target - ["_" r {"+" [Expression SVar]}]]]] + ["_" r {"+" Expression SVar}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" reference] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant Tuple Abstraction Application Analysis]}] - [synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] + [analysis {"+" Variant Tuple Abstraction Application Analysis}] + [synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" phase ("[1]#[0]" monad)] [reference - [variable {"+" [Register Variable]}]] + [variable {"+" Register Variable}]] [meta [archive ["[0]" artifact]]]]]]]) 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 d66028cb7..29bd92b23 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 @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [Scope]} + [lux {"-" Scope} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" set {"+" [Set]}]]] + ["[0]" set {"+" Set}]]] [math [number ["n" nat]]] [target ["_" r]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Generator]}] + [runtime {"+" Operation Phase Generator}] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] @@ -24,14 +24,14 @@ [synthesis ["[0]" case]] ["/[1]" // "_" - ["[0]"synthesis {"+" [Scope Synthesis]}] + ["[0]"synthesis {"+" Scope Synthesis}] ["[1][0]" generation] ["//[1]" /// "_" ["[1][0]" phase] [meta - [archive {"+" [Archive]}]] + [archive {"+" Archive}]] [reference - [variable {"+" [Register]}]]]]]]]) + [variable {"+" Register}]]]]]]]) (def: .public (scope expression archive [offset initsS+ bodyS]) (Generator (Scope Synthesis)) 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 2aa8b7645..efeb2f6d5 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 @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [target - ["_" r {"+" [Expression]}]]]] + ["_" r {"+" Expression}]]]] ["[0]" // "_" ["[1][0]" runtime]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/common.lux index 2c61e52f2..d61ff76b1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/common.lux @@ -1,23 +1,23 @@ (.module: lux (lux (control [library - [monad {"+" [do]}]] - ["ex" exception {"+" [exception:]}] + [monad {"+" do}]] + ["ex" exception {"+" exception:}] ["p" parser]) (data ["e" error] [text] text/format [number] (coll [list "list/" Functor] - (dictionary ["dict" unordered {"+" [Dict]}]))) - [macro {"+" [with_identifiers]}] + (dictionary ["dict" unordered {"+" Dict}]))) + [macro {"+" with_identifiers}] (macro [code] - ["s" syntax {"+" [syntax:]}]) + ["s" syntax {"+" syntax:}]) [host]) (luxc ["&" lang] (lang ["la" analysis] ["ls" synthesis] - (host [r {"+" [Expression]}]))) + (host [r {"+" Expression}]))) [///] (/// ["[0]T" runtime] ["[0]T" case] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/host.lux index 54a0c637b..e074b2f6a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/host.lux @@ -1,16 +1,16 @@ (.module: lux (lux (control [library - [monad {"+" [do]}]]) + [monad {"+" do}]]) (data [text] text/format (coll [list "list/" Functor] - (dictionary ["dict" unordered {"+" [Dict]}]))) + (dictionary ["dict" unordered {"+" Dict}]))) [macro "macro/" Monad]) (luxc ["&" lang] (lang ["la" analysis] ["ls" synthesis] - (host [ruby {"+" [Ruby Expression Statement]}]))) + (host [ruby {"+" Ruby Expression Statement}]))) [///] (/// ["[0]T" runtime]) (// ["@" common])) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/reference.lux index cfbb6f02c..4ba35fe1a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/reference.lux @@ -2,9 +2,9 @@ [library [lux "*" [target - ["_" r {"+" [Expression]}]]]] + ["_" r {"+" Expression}]]]] [/// - [reference {"+" [System]}]]) + [reference {"+" System}]]) (implementation: .public system (System Expression) 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 6611c77c4..fae9bcf9f 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 @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [Location ++ i64]} + [lux {"-" Location ++ i64} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser @@ -11,35 +11,35 @@ [data ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["n" nat] ["i" int ("[1]#[0]" interval)] ["[0]" i64]]] ["@" target - ["_" r {"+" [SVar Expression]}]]]] + ["_" r {"+" SVar Expression}]]]] ["[0]" /// "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant}] + ["[1][0]" synthesis {"+" Synthesis}] ["[1][0]" generation] ["//[1]" /// ["[1][0]" phase] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}]]]]]]) + [archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}]]]]]]) (def: module_id 0) 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 d28a83f8d..eb5fd0f50 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 @@ -2,18 +2,18 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data [collection ["[0]" list]]] [target - ["_" r {"+" [Expression]}]]]] + ["_" r {"+" Expression}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)]]]]) 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 dfb11895a..7c7c20ea1 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 @@ -1,19 +1,19 @@ (.module: [library - [lux {"-" [local]} + [lux {"-" local} ["@" target] [data [text - ["%" format {"+" [format]}]]]]] + ["%" format {"+" format}]]]]] ["[0]" //// "_" ["[0]" version] - ["[1][0]" generation {"+" [Context]}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - ["[0]" reference {"+" [Reference]} - ["[0]" variable {"+" [Register Variable]}]] + ["[0]" reference {"+" Reference} + ["[0]" variable {"+" Register Variable}]] ["[0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]) + [archive {"+" Archive}]]]]) ... This universe constant is for languages where one can't just turn all compiled definitions ... into the local variables of some scoping function. 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 b8dd0c621..e249ece33 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 @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [target ["_" ruby]]]] ["[0]" / "_" - [runtime {"+" [Phase Phase!]}] + [runtime {"+" Phase Phase!}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -23,12 +23,12 @@ [ruby ["[1]/[0]" common]]]] ["/[1]" // "_" - [analysis {"+" []}] + [analysis {"+" }] ["[1][0]" synthesis] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]]) + [reference {"+" } + [variable {"+" }]]]]]]]) (exception: .public cannot_recur_as_an_expression) 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 b37e129ae..f43fc7a9f 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 @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [case let if]} + [lux {"-" case let if} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - [exception {"+" [exception:]}]] + [exception {"+" exception:}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] @@ -16,9 +16,9 @@ ["n" nat] ["i" int]]] [target - ["_" ruby {"+" [Expression LVar Statement]}]]]] + ["_" ruby {"+" Expression LVar Statement}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator Phase! Generator!]}] + ["[1][0]" runtime {"+" Operation Phase Generator Phase! Generator!}] ["[1][0]" reference] ["[1][0]" primitive] ["/[1]" // "_" @@ -27,14 +27,14 @@ [synthesis ["[0]" case]] ["/[1]" // "_" - ["[1][0]" synthesis {"+" [Member Synthesis Path]}] + ["[1][0]" synthesis {"+" Member Synthesis Path}] ["[1][0]" generation] ["//[1]" /// "_" [reference - ["[1][0]" variable {"+" [Register]}]] + ["[1][0]" variable {"+" Register}]] ["[1][0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]]) + [archive {"+" Archive}]]]]]]]) (def: .public (identifier prefix) (-> Text (Operation LVar)) 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 2fd93bdf3..7804b6fa9 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 @@ -1,34 +1,34 @@ (.module: [library - [lux {"-" [Variant Tuple function]} + [lux {"-" Variant Tuple function} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)]]] [target - ["_" ruby {"+" [LVar GVar Expression Statement]}]]]] + ["_" ruby {"+" LVar GVar Expression Statement}]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Generator Phase! Generator!]}] + [runtime {"+" Operation Phase Generator Phase! Generator!}] ["[1][0]" reference] ["[1][0]" case] ["[1][0]" loop] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant Tuple Environment Abstraction Application Analysis]}] - [synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] + [analysis {"+" Variant Tuple Environment Abstraction Application Analysis}] + [synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" phase] [reference - [variable {"+" [Register Variable]}]] + [variable {"+" Register Variable}]] [meta - [archive {"+" [Archive]} + [archive {"+" Archive} ["[0]" artifact]]]]]]]) (def: .public (apply expression archive [functionS argsS+]) 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 91eb9d7aa..7e6bd24ff 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 @@ -1,12 +1,12 @@ (.module: [library - [lux {"-" [Scope]} + [lux {"-" Scope} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] @@ -14,9 +14,9 @@ [number ["n" nat]]] [target - ["_" ruby {"+" [Expression LVar Statement]}]]]] + ["_" ruby {"+" Expression LVar Statement}]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Generator Phase! Generator!]}] + [runtime {"+" Operation Phase Generator Phase! Generator!}] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] @@ -24,12 +24,12 @@ [synthesis ["[0]" case]] ["/[1]" // "_" - ["[0]" synthesis {"+" [Scope Synthesis]}] + ["[0]" synthesis {"+" Scope Synthesis}] ["[1][0]" generation] ["//[1]" /// "_" ["[1][0]" phase] [reference - ["[1][0]" variable {"+" [Register]}]]]]]]]) + ["[1][0]" variable {"+" Register}]]]]]]]) (def: (setup offset bindings body) (-> Register (List Expression) Statement Statement) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/primitive.lux index 40055af95..3aa0dea20 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/primitive.lux @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [target - ["_" ruby {"+" [Literal]}]]]]) + ["_" ruby {"+" Literal}]]]]) (template [ ] [(def: .public diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/reference.lux index 8ac89ceb9..4647b0d01 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/reference.lux @@ -2,9 +2,9 @@ [library [lux "*" [target - ["_" ruby {"+" [Expression]}]]]] + ["_" ruby {"+" Expression}]]]] [/// - [reference {"+" [System]}]]) + [reference {"+" System}]]) (implementation: .public system (System Expression) 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 9f28d622e..1dd09a7b2 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 @@ -3,7 +3,7 @@ [lux "*" ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser @@ -11,33 +11,33 @@ [data ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["[0]" i64]]] ["@" target - ["_" ruby {"+" [Expression LVar Computation Literal Statement]}]]]] + ["_" ruby {"+" Expression LVar Computation Literal Statement}]]]] ["[0]" /// "_" ["[1][0]" reference] ["//[1]" /// "_" ["$" version] - ["[1][0]" synthesis {"+" [Synthesis]}] + ["[1][0]" synthesis {"+" Synthesis}] ["[1][0]" generation] ["//[1]" /// ["[1][0]" phase] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}]]]]]]) + [archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}]]]]]]) (template [ ] [(type: .public 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 cc645f541..f0a87724a 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 @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [Variant Tuple]} + [lux {"-" Variant Tuple} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [target - ["_" ruby {"+" [Expression]}]]]] + ["_" ruby {"+" Expression}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)]]]]) 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 48a923dd6..12a559202 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 @@ -2,11 +2,11 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [target ["_" scheme]]]] ["[0]" / "_" - [runtime {"+" [Phase]}] + [runtime {"+" Phase}] ["[1][0]" primitive] ["[1][0]" structure] ["[1][0]" reference] @@ -18,12 +18,12 @@ ["/[1]" // "_" ["[1][0]" extension] ["/[1]" // "_" - [analysis {"+" []}] + [analysis {"+" }] ["[1][0]" synthesis] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]]) + [reference {"+"} + [variable {"+"}]]]]]]]) (def: .public (generate archive synthesis) Phase 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 d603237c4..176b4e5dd 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 @@ -1,12 +1,12 @@ (.module: [library - [lux {"-" [case let if]} + [lux {"-" case let if} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] @@ -16,9 +16,9 @@ [number ["i" int]]] [target - ["_" scheme {"+" [Expression Computation Var]}]]]] + ["_" scheme {"+" Expression Computation Var}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" reference] ["[1][0]" primitive] ["/[1]" // "_" @@ -27,14 +27,14 @@ ["[1][0]" synthesis "_" ["[1]/[0]" case]] ["/[1]" // "_" - ["[1][0]" synthesis {"+" [Member Synthesis Path]}] + ["[1][0]" synthesis {"+" Member Synthesis Path}] ["[1][0]" generation] ["//[1]" /// "_" [reference - ["[1][0]" variable {"+" [Register]}]] + ["[1][0]" variable {"+" Register}]] ["[1][0]" phase ("[1]#[0]" monad)] [meta - [archive {"+" [Archive]}]]]]]]]) + [archive {"+" Archive}]]]]]]]) (def: .public register (-> Register Var) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension.lux index ebdd43f89..359031ab8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension.lux @@ -5,7 +5,7 @@ [collection ["[0]" dictionary]]]]] [// - [runtime {"+" [Bundle]}]] + [runtime {"+" Bundle}]] [/ ["[0]" common]]) 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 63c916eae..d070b09b2 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 @@ -2,31 +2,31 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["ex" exception {"+" [exception:]}] + ["ex" exception {"+" exception:}] [parser ["<[0]>" code]]] [data ["[0]" product] ["[0]" text] - [number {"+" [hex]} + [number {"+" hex} ["f" frac]] [collection ["[0]" list ("[1]#[0]" functor)] - ["dict" dictionary {"+" [Dictionary]}]]] - ["[0]" macro {"+" [with_identifiers]} + ["dict" dictionary {"+" Dictionary}]]] + ["[0]" macro {"+" with_identifiers} ["[0]" code] - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] [target - ["_" scheme {"+" [Expression Computation]}]]]] + ["_" scheme {"+" Expression Computation}]]]] ["[0]" /// "_" - ["[1][0]" runtime {"+" [Operation Phase Handler Bundle]}] + ["[1][0]" runtime {"+" Operation Phase Handler Bundle}] ["[1]//" /// ["[1][0]" extension ["[0]" bundle]] ["[1]/" // "_" - ["[1][0]" synthesis {"+" [Synthesis]}]]]]) + ["[1][0]" synthesis {"+" Synthesis}]]]]) (syntax: (Vector [size .nat elemT .any]) 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 fb0127577..810dca8d8 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 @@ -1,33 +1,33 @@ (.module: [library - [lux {"-" [function]} + [lux {"-" function} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control pipe] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [target - ["_" scheme {"+" [Expression Computation Var]}]]]] + ["_" scheme {"+" Expression Computation Var}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" reference] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant Tuple Abstraction Application Analysis]}] - [synthesis {"+" [Synthesis]}] - ["[1][0]" generation {"+" [Context]}] + [analysis {"+" Variant Tuple Abstraction Application Analysis}] + [synthesis {"+" Synthesis}] + ["[1][0]" generation {"+" Context}] ["//[1]" /// "_" - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" phase ("[1]#[0]" monad)] [reference - [variable {"+" [Register Variable]}]]]]]]) + [variable {"+" Register Variable}]]]]]]) (def: .public (apply expression archive [functionS argsS+]) (Generator (Application Synthesis)) 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 fbec9f534..1fef5ee57 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 @@ -1,22 +1,22 @@ (.module: [library - [lux {"-" [Scope]} + [lux {"-" Scope} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" set {"+" [Set]}]]] + ["[0]" set {"+" Set}]]] [math [number ["n" nat]]] [target ["_" scheme]]]] ["[0]" // "_" - [runtime {"+" [Operation Phase Generator]}] + [runtime {"+" Operation Phase Generator}] ["[1][0]" case] ["/[1]" // "_" ["[1][0]" reference] @@ -24,14 +24,14 @@ [synthesis ["[0]" case]] ["/[1]" // "_" - ["[0]"synthesis {"+" [Scope Synthesis]}] + ["[0]"synthesis {"+" Scope Synthesis}] ["[1][0]" generation] ["//[1]" /// "_" ["[1][0]" phase] [meta - [archive {"+" [Archive]}]] + [archive {"+" Archive}]] [reference - [variable {"+" [Register]}]]]]]]]) + [variable {"+" Register}]]]]]]]) (def: @scope (_.var "scope")) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/primitive.lux index 05ce654e2..599f30a2f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/primitive.lux @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [i64]} + [lux {"-" i64} [target - ["_" scheme {"+" [Expression]}]]]]) + ["_" scheme {"+" Expression}]]]]) (template [ ] [(def: .public diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/reference.lux index e72101b5b..79015435a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/reference.lux @@ -2,9 +2,9 @@ [library [lux "*" [target - ["_" scheme {"+" [Expression]}]]]] + ["_" scheme {"+" Expression}]]]] [/// - [reference {"+" [System]}]]) + [reference {"+" System}]]) (implementation: .public system (System Expression) 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 2b0006269..59fb09719 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 @@ -1,9 +1,9 @@ (.module: [library - [lux {"-" [Location]} + [lux {"-" Location} ["[0]" meta] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" function] ["<>" parser @@ -11,33 +11,33 @@ [data ["[0]" product] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" row]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math - [number {"+" [hex]} + [number {"+" hex} ["[0]" i64]]] ["@" target - ["_" scheme {"+" [Expression Computation Var]}]]]] + ["_" scheme {"+" Expression Computation Var}]]]] ["[0]" /// "_" ["[1][0]" reference] ["//[1]" /// "_" - [analysis {"+" [Variant]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant}] + ["[1][0]" synthesis {"+" Synthesis}] ["[1][0]" generation] ["//[1]" /// ["[1][0]" phase] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [meta - [archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Registry]}]]]]]]) + [archive {"+" Output Archive} + ["[0]" artifact {"+" Registry}]]]]]]) (def: module_id 0) 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 e06ff9743..01a90936b 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 @@ -2,18 +2,18 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [data [collection ["[0]" list]]] [target - ["_" scheme {"+" [Expression]}]]]] + ["_" scheme {"+" Expression}]]]] ["[0]" // "_" - ["[1][0]" runtime {"+" [Operation Phase Generator]}] + ["[1][0]" runtime {"+" Operation Phase Generator}] ["[1][0]" primitive] ["///[1]" //// "_" - [analysis {"+" [Variant Tuple]}] - ["[1][0]" synthesis {"+" [Synthesis]}] + [analysis {"+" Variant Tuple}] + ["[1][0]" synthesis {"+" Synthesis}] ["//[1]" /// "_" ["[1][0]" phase ("[1]#[0]" monad)]]]]) 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 c3531d0fe..173da80a2 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 @@ -1,15 +1,15 @@ (.module: [library - [lux {"-" [primitive]} + [lux {"-" primitive} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["[0]" try]] [data [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" dictionary {"+" [Dictionary]}]]]]] + ["[0]" dictionary {"+" Dictionary}]]]]] ["[0]" / "_" ["[1][0]" function] ["[1][0]" case] @@ -17,12 +17,12 @@ ["/[1]" // "_" ["[1][0]" extension] ["/[1]" // "_" - ["[1][0]" analysis {"+" [Analysis]}] - ["/" synthesis {"+" [Synthesis Phase]}] + ["[1][0]" analysis {"+" Analysis}] + ["/" synthesis {"+" Synthesis Phase}] [/// ["[0]" phase ("[1]#[0]" monad)] - [reference {"+" []} - [variable {"+" []}]]]]]]) + [reference {"+"} + [variable {"+"}]]]]]]) (def: (primitive analysis) (-> ///analysis.Primitive /.Primitive) 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 8beed67e5..2c2d1784b 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 @@ -2,17 +2,17 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - ["[0]" monad {"+" [do]}]] + [equivalence {"+" Equivalence}] + ["[0]" monad {"+" do}]] [control - [pipe {"+" [when> new> case>]}]] + [pipe {"+" when> new> case>}]] [data ["[0]" product] ["[0]" bit ("[1]#[0]" equivalence)] ["[0]" text ("[1]#[0]" equivalence)] [collection ["[0]" list ("[1]#[0]" functor mix monoid)] - ["[0]" set {"+" [Set]}]]] + ["[0]" set {"+" Set}]]] [math [number ["n" nat] @@ -20,14 +20,14 @@ ["[0]" frac ("[1]#[0]" equivalence)]]]]] ["[0]" /// "_" [// - ["[1][0]" analysis {"+" [Pattern Match Analysis]}] - ["/" synthesis {"+" [Path Synthesis Operation Phase]}] + ["[1][0]" analysis {"+" Pattern Match Analysis}] + ["/" synthesis {"+" Path Synthesis Operation Phase}] [/// ["[1]" phase ("[1]#[0]" monad)] ["[1][0]" reference - ["[1]/[0]" variable {"+" [Register Variable]}]] + ["[1]/[0]" variable {"+" Register Variable}]] [meta - [archive {"+" [Archive]}]]]]]) + [archive {"+" Archive}]]]]]) (def: clean_up (-> Path Path) 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 347527c3d..7dfef8a48 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 @@ -2,29 +2,29 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}] + ["[0]" monad {"+" do}] ["[0]" enum]] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["[0]" maybe ("[1]#[0]" functor)] - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor monoid)]]] [math [number ["n" nat]]]]] ["[0]" // "_" - ["[1][0]" loop {"+" [Transform]}] + ["[1][0]" loop {"+" Transform}] ["//[1]" /// "_" - ["[1][0]" analysis {"+" [Environment Analysis]}] - ["/" synthesis {"+" [Path Abstraction Synthesis Operation Phase]}] + ["[1][0]" analysis {"+" Environment Analysis}] + ["/" synthesis {"+" Path Abstraction Synthesis Operation Phase}] [/// - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[1][0]" reference - ["[1]/[0]" variable {"+" [Register Variable]}]] + ["[1]/[0]" variable {"+" Register Variable}]] ["[0]" phase ("[1]#[0]" monad)]]]]) (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 eb8f7e4cb..ff6818b83 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 @@ -2,7 +2,7 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe ("[1]#[0]" monad)]] [data @@ -12,12 +12,12 @@ [number ["n" nat]]]]] [//// - ["[0]" analysis {"+" [Environment]}] - ["/" synthesis {"+" [Path Abstraction Synthesis]}] + ["[0]" analysis {"+" Environment}] + ["/" synthesis {"+" Path Abstraction Synthesis}] [/// - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[0]" reference - ["[0]" variable {"+" [Register Variable]}]]]]) + ["[0]" variable {"+" Register Variable}]]]]) (type: .public (Transform a) (-> a (Maybe 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 303671914..b423da2a7 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 @@ -2,29 +2,29 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe ("[1]#[0]" functor)] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" product] ["[0]" text ["%" format]] [collection - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" list ("[1]#[0]" functor mix)] ["[0]" set]]] [math [number ["n" nat]]]]] [//// - ["/" synthesis {"+" [Path Synthesis]}] + ["/" synthesis {"+" Path Synthesis}] ["[0]" analysis] [/// - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[0]" reference - ["[0]" variable {"+" [Register Variable]}]]]]) + ["[0]" variable {"+" Register Variable}]]]]) (def: (prune redundant register) (-> Register Register Register) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/program.lux b/stdlib/source/library/lux/tool/compiler/language/lux/program.lux index fc13a5999..52ebf8d6b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/program.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/program.lux @@ -1,24 +1,24 @@ (.module: [library - [lux {"-" [Module]} + [lux {"-" Module} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}]] [data ["[0]" product] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]]]] [// - [generation {"+" [Context]}] + [generation {"+" Context}] [/// [meta - ["[0]" archive {"+" [Archive]} - ["[0]" descriptor {"+" [Module]}] + ["[0]" archive {"+" Archive} + ["[0]" descriptor {"+" Module}] ["[0]" artifact]]]]]) (type: .public (Program expression directive) 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 340c71298..d9e8a1c99 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux @@ -32,15 +32,15 @@ monad] [control ["[0]" maybe] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] [parser - [text {"+" [Offset]}]]] + [text {"+" Offset}]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [macro ["[0]" template]] [math 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 7888c15f3..f310d43cd 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux @@ -1,23 +1,23 @@ (.module: [library - [lux {"-" [i64 Scope]} + [lux {"-" i64 Scope} [abstract - [monad {"+" [do]}] - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [monad {"+" do}] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["[0]" maybe] - ["[0]" exception {"+" [exception:]}]] + ["[0]" exception {"+" exception:}]] [data ["[0]" sum] ["[0]" product] ["[0]" bit ("[1]#[0]" equivalence)] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [Format format]}]] + ["%" format {"+" Format format}]] [collection ["[0]" list ("[1]#[0]" functor)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [math [number ["[0]" i64] @@ -25,14 +25,14 @@ ["i" int] ["f" frac]]]]] [// - ["[0]" analysis {"+" [Environment Composite Analysis]}] + ["[0]" analysis {"+" Environment Composite Analysis}] [phase - ["[0]" extension {"+" [Extension]}]] + ["[0]" extension {"+" Extension}]] [/// - [arity {"+" [Arity]}] + [arity {"+" Arity}] ["[0]" phase] - ["[0]" reference {"+" [Reference]} - ["[0]" variable {"+" [Register Variable]}]]]]) + ["[0]" reference {"+" Reference} + ["[0]" variable {"+" Register Variable}]]]]) (type: .public Resolver (Dictionary Variable Variable)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/version.lux b/stdlib/source/library/lux/tool/compiler/language/lux/version.lux index e472c3a03..1dd8b3e6d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/version.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/version.lux @@ -2,7 +2,7 @@ [library [lux "*"]] [//// - [version {"+" [Version]}]]) + [version {"+" Version}]]) (def: .public version Version diff --git a/stdlib/source/library/lux/tool/compiler/meta.lux b/stdlib/source/library/lux/tool/compiler/meta.lux index c15c11ee4..8f660f1de 100644 --- a/stdlib/source/library/lux/tool/compiler/meta.lux +++ b/stdlib/source/library/lux/tool/compiler/meta.lux @@ -2,7 +2,7 @@ [library [lux "*"]] [// - [version {"+" [Version]}]]) + [version {"+" Version}]]) (def: .public version Version diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive.lux b/stdlib/source/library/lux/tool/compiler/meta/archive.lux index 16486e75b..1d9a35692 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive.lux @@ -1,29 +1,29 @@ (.module: [library - [lux {"-" [Module]} + [lux {"-" Module} [abstract - ["[0]" equivalence {"+" [Equivalence]}] - ["[0]" monad {"+" [do]}]] + ["[0]" equivalence {"+" Equivalence}] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["[0]" function] ["<>" parser - ["<[0]>" binary {"+" [Parser]}]]] + ["<[0]>" binary {"+" Parser}]]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" bit] ["[0]" product] ["[0]" name] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [format - ["[0]" binary {"+" [Writer]}]] + ["[0]" binary {"+" Writer}]] [collection ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" set] - ["[0]" row {"+" [Row]}]]] + ["[0]" row {"+" Row}]]] [math [number ["n" nat ("[1]#[0]" equivalence)]]] @@ -31,12 +31,12 @@ abstract]]] [/ ["[0]" artifact] - ["[0]" signature {"+" [Signature]}] - ["[0]" key {"+" [Key]}] - ["[0]" descriptor {"+" [Module Descriptor]}] - ["[0]" document {"+" [Document]}] + ["[0]" signature {"+" Signature}] + ["[0]" key {"+" Key}] + ["[0]" descriptor {"+" Module Descriptor}] + ["[0]" document {"+" Document}] [/// - [version {"+" [Version]}]]]) + [version {"+" Version}]]]) (type: .public Output (Row [artifact.ID (Maybe Text) Binary])) 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 5295241d4..178b8fa4a 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux @@ -2,22 +2,22 @@ [library [lux "*" [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - [pipe {"+" [case>]}] - ["[0]" exception {"+" [exception:]}] + [pipe {"+" case>}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" binary {"+" [Parser]}]]] + ["<[0]>" binary {"+" Parser}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list] - ["[0]" row {"+" [Row]} ("[1]#[0]" functor mix)] - ["[0]" dictionary {"+" [Dictionary]}]] + ["[0]" row {"+" Row} ("[1]#[0]" functor mix)] + ["[0]" dictionary {"+" Dictionary}]] [format - ["[0]" binary {"+" [Writer]}]]] + ["[0]" binary {"+" Writer}]]] [type abstract]]]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/descriptor.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/descriptor.lux index 622cf2d59..9ec41c54b 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/descriptor.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/descriptor.lux @@ -1,19 +1,19 @@ (.module: [library - [lux {"-" [Module]} + [lux {"-" Module} [control ["<>" parser - ["" binary {"+" [Parser]}]]] + ["" binary {"+" Parser}]]] [data ["[0]" text] [collection - [set {"+" [Set]}]] + [set {"+" Set}]] [format - ["[0]" binary {"+" [Writer]}]]] + ["[0]" binary {"+" Writer}]]] [world - [file {"+" [Path]}]]]] + [file {"+" Path}]]]] [// - ["[0]" artifact {"+" [Registry]}]]) + ["[0]" artifact {"+" Registry}]]) (type: .public Module Text) diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/document.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/document.lux index bbb14191a..0df391ab4 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/document.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/document.lux @@ -1,24 +1,24 @@ (.module: [library - [lux {"-" [Module]} + [lux {"-" Module} [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] ["<>" parser - [binary {"+" [Parser]}]]] + [binary {"+" Parser}]]] [data [collection - ["[0]" dictionary {"+" [Dictionary]}]] + ["[0]" dictionary {"+" Dictionary}]] [format - ["[0]" binary {"+" [Writer]}]]] - [type {"+" [:sharing]} + ["[0]" binary {"+" Writer}]]] + [type {"+" :sharing} abstract]]] [// - ["[0]" signature {"+" [Signature]}] - ["[0]" key {"+" [Key]}] - [descriptor {"+" [Module]}]]) + ["[0]" signature {"+" Signature}] + ["[0]" key {"+" Key}] + [descriptor {"+" Module}]]) (exception: .public (invalid_signature [expected Signature actual Signature]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/key.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/key.lux index 034e61388..c1e56c7a8 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/key.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/key.lux @@ -4,7 +4,7 @@ [type abstract]]] [// - [signature {"+" [Signature]}]]) + [signature {"+" Signature}]]) (abstract: .public (Key k) Signature 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 2ad3b7b96..ccc605ef2 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux @@ -2,22 +2,22 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control ["<>" parser - ["" binary {"+" [Parser]}]]] + ["" binary {"+" Parser}]]] [data ["[0]" product] ["[0]" name] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [format - ["[0]" binary {"+" [Writer]}]]] + ["[0]" binary {"+" Writer}]]] [math [number ["[0]" nat]]]]] [//// - [version {"+" [Version]}]]) + [version {"+" Version}]]) (type: .public Signature (Record diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/dependency.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/dependency.lux index a7bc82364..953b23605 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/dependency.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/dependency.lux @@ -1,26 +1,26 @@ (.module: [library - [lux {"-" [Module]} + [lux {"-" Module} [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe ("[1]#[0]" functor)] - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] ["[0]" state] ["[0]" function - ["[0]" memo {"+" [Memo]}]]] + ["[0]" memo {"+" Memo}]]] [data ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" dictionary {"+" [Dictionary]}] - ["[0]" set {"+" [Set]}]]]]] + ["[0]" dictionary {"+" Dictionary}] + ["[0]" set {"+" Set}]]]]] [/// - ["[0]" archive {"+" [Output Archive]} - [key {"+" [Key]}] - ["[0]" descriptor {"+" [Module Descriptor]}] - ["[0]" document {"+" [Document]}]]]) + ["[0]" archive {"+" Output Archive} + [key {"+" Key}] + ["[0]" descriptor {"+" Module Descriptor}] + ["[0]" document {"+" Document}]]]) (type: Ancestry (Set Module)) diff --git a/stdlib/source/library/lux/tool/compiler/meta/io.lux b/stdlib/source/library/lux/tool/compiler/meta/io.lux index 0dc406820..aae2226d3 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/io.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/io.lux @@ -1,10 +1,10 @@ (.module: [library - [lux {"-" [Code]} + [lux {"-" Code} [data ["[0]" text]] [world - [file {"+" [Path System]}]]]]) + [file {"+" Path System}]]]]) (type: .public Context Path) 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 11b6414f6..f54bca93b 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux @@ -1,27 +1,27 @@ (.module: [library - [lux {"-" [Module]} - [target {"+" [Target]}] + [lux {"-" Module} + [target {"+" Target}] [abstract - [predicate {"+" [Predicate]}] - ["[0]" monad {"+" [do]}]] + [predicate {"+" Predicate}] + ["[0]" monad {"+" do}]] [control - [pipe {"+" [case>]}] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + [pipe {"+" case>}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] [concurrency - ["[0]" async {"+" [Async]} ("[1]#[0]" monad)]] + ["[0]" async {"+" Async} ("[1]#[0]" monad)]] ["<>" parser - ["<[0]>" binary {"+" [Parser]}]]] + ["<[0]>" binary {"+" Parser}]]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" product] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" dictionary {"+" [Dictionary]}] - ["[0]" row {"+" [Row]}] + ["[0]" dictionary {"+" Dictionary}] + ["[0]" row {"+" Row}] ["[0]" set]]] [math [number @@ -30,18 +30,18 @@ ["[0]" file]]]] [program [compositor - [import {"+" [Import]}] - ["[0]" static {"+" [Static]}]]] - ["[0]" // {"+" [Context]} + [import {"+" Import}] + ["[0]" static {"+" Static}]]] + ["[0]" // {"+" Context} ["[1][0]" context] ["/[1]" // - ["[0]" archive {"+" [Output Archive]} - ["[0]" artifact {"+" [Artifact]}] - ["[0]" descriptor {"+" [Module Descriptor]}] - ["[0]" document {"+" [Document]}]] + ["[0]" archive {"+" Output Archive} + ["[0]" artifact {"+" Artifact}] + ["[0]" descriptor {"+" Module Descriptor}] + ["[0]" document {"+" Document}]] [cache ["[0]" dependency]] - ["/[1]" // {"+" [Input]} + ["/[1]" // {"+" Input} [language ["$" lux ["[0]" version] 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 95a122edd..04830e5b2 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/io/context.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/io/context.lux @@ -1,35 +1,35 @@ (.module: [library - [lux {"-" [Module Code]} + [lux {"-" Module Code} ["@" target] [abstract - [predicate {"+" [Predicate]}] - ["[0]" monad {"+" [Monad do]}]] + [predicate {"+" Predicate}] + ["[0]" monad {"+" Monad do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] [concurrency - ["[0]" async {"+" [Async]} ("[1]#[0]" monad)]]] + ["[0]" async {"+" Async} ("[1]#[0]" monad)]]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" list]]] [world ["[0]" file]]]] [program [compositor - [import {"+" [Import]}]]] - ["[0]" // {"+" [Context Code]} + [import {"+" Import}]]] + ["[0]" // {"+" Context Code} ["/[1]" // "_" [archive - [descriptor {"+" [Module]}]] - ["/[1]" // {"+" [Input]}]]]) + [descriptor {"+" Module}]] + ["/[1]" // {"+" Input}]]]) (exception: .public (cannot_find_module [importer Module module Module]) diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager.lux b/stdlib/source/library/lux/tool/compiler/meta/packager.lux index 86e5af12b..1b96d7b64 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager.lux @@ -2,11 +2,11 @@ [library [lux "*" [control - [try {"+" [Try]}]] + [try {"+" Try}]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] [collection - [dictionary {"+" [Dictionary]}] + [dictionary {"+" Dictionary}] ["[0]" row] ["[0]" list ("[1]#[0]" functor)]]] [world @@ -14,13 +14,13 @@ [// [cache ["[0]" dependency]] - ["[0]" archive {"+" [Archive]} + ["[0]" archive {"+" Archive} ["[0]" descriptor] ["[0]" artifact]] [// [language [lux - [generation {"+" [Context]}]]]]]) + [generation {"+" Context}]]]]]) (type: .public Packager (-> (Dictionary file.Path Binary) 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 10433ddf5..0e8c265c7 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux @@ -1,21 +1,21 @@ (.module: [library - [lux {"-" [Module Definition]} - ["[0]" ffi {"+" [import: do_to]}] + [lux {"-" Module Definition} + ["[0]" ffi {"+" import: do_to}] [abstract - ["[0]" monad {"+" [Monad do]}]] + ["[0]" monad {"+" Monad do}]] [control ["[0]" maybe ("[1]#[0]" functor)] - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data - ["[0]" binary {"+" [Binary]}] + ["[0]" binary {"+" Binary}] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" row] ["[0]" list ("[1]#[0]" functor)] ["[0]" dictionary] - ["[0]" set {"+" [Set]}]]] + ["[0]" set {"+" Set}]]] [math [number ["n" nat] @@ -28,11 +28,11 @@ ["[0]" file]]]] [program [compositor - ["[0]" static {"+" [Static]}]]] - ["[0]" // {"+" [Packager]} + ["[0]" static {"+" Static}]]] + ["[0]" // {"+" Packager} [// - ["[0]" archive {"+" [Output]} - ["[0]" descriptor {"+" [Module]}] + ["[0]" archive {"+" Output} + ["[0]" descriptor {"+" Module}] ["[0]" artifact]] [cache ["[0]" dependency]] @@ -41,11 +41,11 @@ [// [language ["$" lux - [generation {"+" [Context]}] + [generation {"+" Context}] [phase [generation [jvm - ["[0]" runtime {"+" [Definition]}]]]]]]]]]) + ["[0]" runtime {"+" Definition}]]]]]]]]]) (import: java/lang/Object) 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 0b7857b58..d9380b3d3 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux @@ -1,21 +1,21 @@ (.module: [library - [lux {"-" [Module]} - [type {"+" [:sharing]}] + [lux {"-" Module} + [type {"+" :sharing}] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" product] ["[0]" text - ["%" format {"+" [format]}] + ["%" format {"+" format}] ["[0]" encoding]] [collection ["[0]" row] ["[0]" list ("[1]#[0]" functor mix)] - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" set]] [format ["[0]" tar] @@ -23,18 +23,18 @@ [target ["_" scheme]] [time - ["[0]" instant {"+" [Instant]}]] + ["[0]" instant {"+" Instant}]] [world ["[0]" file]]]] [program [compositor - ["[0]" static {"+" [Static]}]]] - ["[0]" // {"+" [Packager]} + ["[0]" static {"+" Static}]]] + ["[0]" // {"+" Packager} [// - ["[0]" archive {"+" [Output]} - ["[0]" descriptor {"+" [Module Descriptor]}] + ["[0]" archive {"+" Output} + ["[0]" descriptor {"+" Module Descriptor}] ["[0]" artifact] - ["[0]" document {"+" [Document]}]] + ["[0]" document {"+" Document}]] [cache ["[0]" dependency]] ["[0]" io "_" @@ -42,7 +42,7 @@ [// [language ["$" lux - [generation {"+" [Context]}]]]]]]) + [generation {"+" Context}]]]]]]) ... TODO: Delete ASAP (type: (Action ! a) 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 8399ce409..2476f3c6c 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux @@ -1,16 +1,16 @@ (.module: [library [lux "*" - [type {"+" [:sharing]}] + [type {"+" :sharing}] [abstract - ["[0]" monad {"+" [Monad do]}]] + ["[0]" monad {"+" Monad do}]] [control - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [data - [binary {"+" [Binary]}] + [binary {"+" Binary}] ["[0]" product] [text - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection @@ -18,10 +18,10 @@ ["[0]" list ("[1]#[0]" functor)]]]]] [program [compositor - ["[0]" static {"+" [Static]}]]] - ["[0]" // {"+" [Packager]} + ["[0]" static {"+" Static}]]] + ["[0]" // {"+" Packager} [// - ["[0]" archive {"+" [Output]} + ["[0]" archive {"+" Output} ["[0]" descriptor] ["[0]" artifact]] [cache @@ -31,7 +31,7 @@ [// [language ["$" lux - [generation {"+" [Context]}]]]]]]) + [generation {"+" Context}]]]]]]) (def: (write_module sequence [module output] so_far) (All (_ directive) diff --git a/stdlib/source/library/lux/tool/compiler/phase.lux b/stdlib/source/library/lux/tool/compiler/phase.lux index 7140df44f..fc4851b5d 100644 --- a/stdlib/source/library/lux/tool/compiler/phase.lux +++ b/stdlib/source/library/lux/tool/compiler/phase.lux @@ -3,26 +3,26 @@ [lux "*" ["[0]" debug] [abstract - [monad {"+" [Monad do]}]] + [monad {"+" Monad do}]] [control ["[0]" state] - ["[0]" try {"+" [Try]} ("[1]#[0]" functor)] - ["ex" exception {"+" [Exception exception:]}] + ["[0]" try {"+" Try} ("[1]#[0]" functor)] + ["ex" exception {"+" Exception exception:}] ["[0]" io] [parser ["<[0]>" code]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [time ["[0]" instant] ["[0]" duration]] [macro - [syntax {"+" [syntax:]}]]]] + [syntax {"+" syntax:}]]]] [// [meta - [archive {"+" [Archive]}]]]) + [archive {"+" Archive}]]]) (type: .public (Operation s o) (state.+State Try s o)) diff --git a/stdlib/source/library/lux/tool/compiler/reference.lux b/stdlib/source/library/lux/tool/compiler/reference.lux index 91d80c4a7..c5adb07f3 100644 --- a/stdlib/source/library/lux/tool/compiler/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/reference.lux @@ -1,20 +1,20 @@ (.module: [library - [lux {"-" [local]} + [lux {"-" local} [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [control - [pipe {"+" [case>]}]] + [pipe {"+" case>}]] [data ["[0]" name] [text - ["%" format {"+" [Format]}]]] + ["%" format {"+" Format}]]] [math [number ["n" nat]]]]] ["[0]" / "_" - ["[1][0]" variable {"+" [Variable]}]]) + ["[1][0]" variable {"+" Variable}]]) (type: .public Constant Name) diff --git a/stdlib/source/library/lux/tool/compiler/reference/variable.lux b/stdlib/source/library/lux/tool/compiler/reference/variable.lux index 99b9d0e9b..002c892cd 100644 --- a/stdlib/source/library/lux/tool/compiler/reference/variable.lux +++ b/stdlib/source/library/lux/tool/compiler/reference/variable.lux @@ -2,13 +2,13 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [control - [pipe {"+" [case>]}]] + [pipe {"+" case>}]] [data [text - ["%" format {"+" [Format]}]]] + ["%" format {"+" Format}]]] [math [number ["n" nat] diff --git a/stdlib/source/library/lux/tool/interpreter.lux b/stdlib/source/library/lux/tool/interpreter.lux index a318dedfc..b08b79461 100644 --- a/stdlib/source/library/lux/tool/interpreter.lux +++ b/stdlib/source/library/lux/tool/interpreter.lux @@ -2,13 +2,13 @@ [library [lux "*" [control - [monad {"+" [Monad do]}] - ["[0]" try {"+" [Try]}] - ["ex" exception {"+" [exception:]}]] + [monad {"+" Monad do}] + ["[0]" try {"+" Try}] + ["ex" exception {"+" exception:}]] [data ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]]] - [type {"+" [:sharing]} + ["%" format {"+" format}]]] + [type {"+" :sharing} ["[0]" check]] [compiler ["[0]" phase @@ -16,17 +16,17 @@ ["[0]" module] ["[0]" type]] ["[0]" generation] - ["[0]" directive {"+" [State+ Operation]} + ["[0]" directive {"+" State+ Operation} ["[0]" total]] ["[0]" extension]] ["[0]" default ["[0]" syntax] - ["[0]" platform {"+" [Platform]}] + ["[0]" platform {"+" Platform}] ["[0]" init]] - ["[0]" cli {"+" [Configuration]}]] + ["[0]" cli {"+" Configuration}]] [world - ["[0]" file {"+" [File]}] - ["[0]" console {"+" [Console]}]]]] + ["[0]" file {"+" File}] + ["[0]" console {"+" Console}]]]] ["[0]" /type]) (exception: .public (error [message Text]) diff --git a/stdlib/source/library/lux/tool/mediator.lux b/stdlib/source/library/lux/tool/mediator.lux index 9f214862e..21d1268e5 100644 --- a/stdlib/source/library/lux/tool/mediator.lux +++ b/stdlib/source/library/lux/tool/mediator.lux @@ -1,14 +1,14 @@ (.module: [library - [lux {"-" [Source Module]} + [lux {"-" Source Module} [world - ["[0]" binary {"+" [Binary]}] - ["[0]" file {"+" [Path]}]]]] + ["[0]" binary {"+" Binary}] + ["[0]" file {"+" Path}]]]] [// - [compiler {"+" [Compiler]} + [compiler {"+" Compiler} [meta - ["[0]" archive {"+" [Archive]} - [descriptor {"+" [Module]}]]]]]) + ["[0]" archive {"+" Archive} + [descriptor {"+" Module}]]]]]) (type: .public Source Path) diff --git a/stdlib/source/library/lux/type.lux b/stdlib/source/library/lux/type.lux index ae9314628..296bd0b96 100644 --- a/stdlib/source/library/lux/type.lux +++ b/stdlib/source/library/lux/type.lux @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [function :as]} + [lux {"-" function :as} ["@" target] [abstract - [equivalence {"+" [Equivalence]}] - [monad {"+" [Monad do]}]] + [equivalence {"+" Equivalence}] + [monad {"+" Monad do}]] [control ["[0]" function] ["[0]" maybe] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" monoid equivalence)] @@ -19,7 +19,7 @@ ["[0]" array] ["[0]" list ("[1]#[0]" functor monoid mix)]]] ["[0]" macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code]] [math [number diff --git a/stdlib/source/library/lux/type/abstract.lux b/stdlib/source/library/lux/type/abstract.lux index db929aa88..1748d9ed4 100644 --- a/stdlib/source/library/lux/type/abstract.lux +++ b/stdlib/source/library/lux/type/abstract.lux @@ -3,11 +3,11 @@ [lux "*" ["[0]" meta] [abstract - [monad {"+" [Monad do]}]] + [monad {"+" Monad do}]] [control - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" name ("[1]#[0]" codec)] ["[0]" text ("[1]#[0]" equivalence monoid)] @@ -15,7 +15,7 @@ ["[0]" list ("[1]#[0]" functor monoid)]]] [macro ["[0]" code] - [syntax {"+" [syntax:]} + [syntax {"+" syntax:} ["|[0]|" export]]]]] ["[0]" //]) diff --git a/stdlib/source/library/lux/type/check.lux b/stdlib/source/library/lux/type/check.lux index 1af82bec0..b93188bb1 100644 --- a/stdlib/source/library/lux/type/check.lux +++ b/stdlib/source/library/lux/type/check.lux @@ -3,19 +3,19 @@ [lux "*" ["@" target] [abstract - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - ["[0]" monad {"+" [Monad do]}]] + [functor {"+" Functor}] + [apply {"+" Apply}] + ["[0]" monad {"+" Monad do}]] [control ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [Exception exception:]}]] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" Exception exception:}]] [data ["[0]" product] ["[0]" text ("[1]#[0]" monoid equivalence)] [collection ["[0]" list] - ["[0]" set {"+" [Set]}]]] + ["[0]" set {"+" Set}]]] [math [number ["n" nat ("[1]#[0]" decimal)]]]]] diff --git a/stdlib/source/library/lux/type/dynamic.lux b/stdlib/source/library/lux/type/dynamic.lux index 0f0bf07d8..d0a042d07 100644 --- a/stdlib/source/library/lux/type/dynamic.lux +++ b/stdlib/source/library/lux/type/dynamic.lux @@ -3,15 +3,15 @@ [lux "*" ["[0]" debug] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] [parser ["<[0]>" code]]] [data [text ["%" format]]] - [macro {"+" [with_identifiers]} - ["[0]" syntax {"+" [syntax:]}]] + [macro {"+" with_identifiers} + ["[0]" syntax {"+" syntax:}]] ["[0]" type abstract]]]) diff --git a/stdlib/source/library/lux/type/implicit.lux b/stdlib/source/library/lux/type/implicit.lux index c94abe40c..97f14222f 100644 --- a/stdlib/source/library/lux/type/implicit.lux +++ b/stdlib/source/library/lux/type/implicit.lux @@ -2,29 +2,29 @@ [library [lux "*" [abstract - ["[0]" monad {"+" [do]}] + ["[0]" monad {"+" do}] ["[0]" equivalence]] [control ["[0]" maybe] ["[0]" try] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" monad mix)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] ["[0]" macro ["[0]" code] - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] [math ["[0]" number ["n" nat]]] ["[0]" meta] ["[0]" type ("[1]#[0]" equivalence) - ["[0]" check {"+" [Check]}]]]]) + ["[0]" check {"+" Check}]]]]) (def: (type_var id env) (-> Nat Type_Context (Meta Type)) diff --git a/stdlib/source/library/lux/type/poly.lux b/stdlib/source/library/lux/type/poly.lux index acafa53e0..fbd910be4 100644 --- a/stdlib/source/library/lux/type/poly.lux +++ b/stdlib/source/library/lux/type/poly.lux @@ -4,21 +4,21 @@ ["[0]" meta] ["[0]" type] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control ["[0]" maybe] ["<>" parser ("[1]#[0]" monad) - ["<[0]>" type {"+" [Env]}] - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" type {"+" Env}] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" product] ["[0]" text] [collection ["[0]" list ("[1]#[0]" functor)] ["[0]" dictionary]]] - [macro {"+" [with_identifiers]} + [macro {"+" with_identifiers} ["[0]" code] - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] [math [number ["n" nat]]]]]) diff --git a/stdlib/source/library/lux/type/quotient.lux b/stdlib/source/library/lux/type/quotient.lux index e38951591..099d14b53 100644 --- a/stdlib/source/library/lux/type/quotient.lux +++ b/stdlib/source/library/lux/type/quotient.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [type]} + [lux {"-" type} [abstract - [equivalence {"+" [Equivalence]}]] + [equivalence {"+" Equivalence}]] [control [parser ["<[0]>" code]]] - [macro {"+" [with_identifiers]} - [syntax {"+" [syntax:]}]] + [macro {"+" with_identifiers} + [syntax {"+" syntax:}]] ["[0]" type abstract]]]) diff --git a/stdlib/source/library/lux/type/refinement.lux b/stdlib/source/library/lux/type/refinement.lux index 8e4f23952..52421e0a1 100644 --- a/stdlib/source/library/lux/type/refinement.lux +++ b/stdlib/source/library/lux/type/refinement.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [type]} + [lux {"-" type} [abstract - [predicate {"+" [Predicate]}]] + [predicate {"+" Predicate}]] [control [parser ["<[0]>" code]]] ["[0]" macro - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] ["[0]" type abstract]]]) diff --git a/stdlib/source/library/lux/type/resource.lux b/stdlib/source/library/lux/type/resource.lux index baad50a5b..9d562cbd4 100644 --- a/stdlib/source/library/lux/type/resource.lux +++ b/stdlib/source/library/lux/type/resource.lux @@ -3,22 +3,22 @@ [lux "*" ["[0]" meta] [abstract - ["[0]" monad {"+" [Monad do]} - [indexed {"+" [IxMonad]}]]] + ["[0]" monad {"+" Monad do} + [indexed {"+" IxMonad}]]] [control ["[0]" maybe] - ["[0]" exception {"+" [exception:]}] + ["[0]" exception {"+" exception:}] ["<>" parser - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" set] - ["[0]" row {"+" [Row]}] + ["[0]" row {"+" Row}] ["[0]" list ("[1]#[0]" functor mix)]]] ["[0]" macro - [syntax {"+" [syntax:]}]] + [syntax {"+" syntax:}]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/type/unit.lux b/stdlib/source/library/lux/type/unit.lux index 8da26b424..5822d2103 100644 --- a/stdlib/source/library/lux/type/unit.lux +++ b/stdlib/source/library/lux/type/unit.lux @@ -3,26 +3,26 @@ [lux "*" ["[0]" meta] [abstract - [monad {"+" [Monad do]}] - [equivalence {"+" [Equivalence]}] - [order {"+" [Order]}] - [enum {"+" [Enum]}]] + [monad {"+" Monad do}] + [equivalence {"+" Equivalence}] + [order {"+" Order}] + [enum {"+" Enum}]] [control ["<>" parser ("[1]#[0]" monad) - ["<[0]>" code {"+" [Parser]}]]] + ["<[0]>" code {"+" Parser}]]] [data ["[0]" text - ["%" format {"+" [format]}]]] + ["%" format {"+" format}]]] [macro ["[0]" code] ["[0]" template] - [syntax {"+" [syntax:]} + [syntax {"+" syntax:} ["|[0]|" export]]] [math [number ["n" nat] ["i" int] - ["[0]" ratio {"+" [Ratio]}]]] + ["[0]" ratio {"+" Ratio}]]] [type abstract]]]) diff --git a/stdlib/source/library/lux/world/console.lux b/stdlib/source/library/lux/world/console.lux index 937d05187..9d61a3d27 100644 --- a/stdlib/source/library/lux/world/console.lux +++ b/stdlib/source/library/lux/world/console.lux @@ -1,20 +1,20 @@ (.module: [library [lux "*" - [ffi {"+" [import:]}] + [ffi {"+" import:}] ["@" target] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO io]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO io}] [concurrency - ["[0]" async {"+" [Async]}] + ["[0]" async {"+" Async}] ["[0]" atom]]] [data - ["[0]" text {"+" [Char]} - ["%" format {"+" [format]}]]]]]) + ["[0]" text {"+" Char} + ["%" format {"+" format}]]]]]) (type: .public (Console !) (Interface diff --git a/stdlib/source/library/lux/world/db/jdbc.lux b/stdlib/source/library/lux/world/db/jdbc.lux index d086a743d..e1541ea12 100644 --- a/stdlib/source/library/lux/world/db/jdbc.lux +++ b/stdlib/source/library/lux/world/db/jdbc.lux @@ -1,29 +1,29 @@ (.module: [library - [lux {"-" [and int]} + [lux {"-" and int} [control - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}] - ["[0]" try {"+" [Try]}] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}] + ["[0]" try {"+" Try}] ["ex" exception] [concurrency - ["[0]" async {"+" [Async]} ("[1]#[0]" monad)]] + ["[0]" async {"+" Async} ("[1]#[0]" monad)]] [security - ["!" capability {"+" [capability:]}]]] + ["!" capability {"+" capability:}]]] [data ["[0]" product] [text - ["%" format {"+" [format]}]]] - ["[0]" io {"+" [IO]}] + ["%" format {"+" format}]]] + ["[0]" io {"+" IO}] [world - [net {"+" [URL]}]] - [host {"+" [import:]}]]] + [net {"+" URL}]] + [host {"+" import:}]]] [// ["[0]" sql]] ["[0]" / "_" - ["[1][0]" input {"+" [Input]}] - ["[1][0]" output {"+" [Output]}]]) + ["[1][0]" input {"+" Input}] + ["[1][0]" output {"+" Output}]]) (import: java/lang/String) diff --git a/stdlib/source/library/lux/world/db/jdbc/input.lux b/stdlib/source/library/lux/world/db/jdbc/input.lux index 117edaab3..b29e064eb 100644 --- a/stdlib/source/library/lux/world/db/jdbc/input.lux +++ b/stdlib/source/library/lux/world/db/jdbc/input.lux @@ -1,16 +1,16 @@ (.module: [library - [lux {"-" [and int]} - [ffi {"+" [import:]}] + [lux {"-" and int} + [ffi {"+" import:}] [control - [functor {"+" [Contravariant]}] - [monad {"+" [Monad do]}] - ["[0]" try {"+" [Try]}]] + [functor {"+" Contravariant}] + [monad {"+" Monad do}] + ["[0]" try {"+" Try}]] [time - ["[0]" instant {"+" [Instant]}]] - ["[0]" io {"+" [IO]}] + ["[0]" instant {"+" Instant}]] + ["[0]" io {"+" IO}] [world - [binary {"+" [Binary]}]]]]) + [binary {"+" Binary}]]]]) (import: java/lang/String) diff --git a/stdlib/source/library/lux/world/db/jdbc/output.lux b/stdlib/source/library/lux/world/db/jdbc/output.lux index 0ec397faf..c44667bf9 100644 --- a/stdlib/source/library/lux/world/db/jdbc/output.lux +++ b/stdlib/source/library/lux/world/db/jdbc/output.lux @@ -1,18 +1,18 @@ (.module: [library - [lux {"-" [and int]} - [ffi {"+" [import:]}] + [lux {"-" and int} + [ffi {"+" import:}] [control - [functor {"+" [Functor]}] - [apply {"+" [Apply]}] - [monad {"+" [Monad do]}] + [functor {"+" Functor}] + [apply {"+" Apply}] + [monad {"+" Monad do}] ["ex" exception] - ["[0]" try {"+" [Try]}]] + ["[0]" try {"+" Try}]] [time - ["[0]" instant {"+" [Instant]}]] - ["[0]" io {"+" [IO]}] + ["[0]" instant {"+" Instant}]] + ["[0]" io {"+" IO}] [world - [binary {"+" [Binary]}]]]]) + [binary {"+" Binary}]]]]) (import: java/lang/String) diff --git a/stdlib/source/library/lux/world/db/sql.lux b/stdlib/source/library/lux/world/db/sql.lux index dd3472474..52f2fabca 100644 --- a/stdlib/source/library/lux/world/db/sql.lux +++ b/stdlib/source/library/lux/world/db/sql.lux @@ -1,13 +1,13 @@ (.module: [library - [lux {"-" [Source Definition function and or not type int]} + [lux {"-" Source Definition function and or not type int} [control - [monad {"+" [do]}]] + [monad {"+" do}]] [data [number ["i" int]] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection ["[0]" list ("[1]#[0]" functor)]]] [macro diff --git a/stdlib/source/library/lux/world/file.lux b/stdlib/source/library/lux/world/file.lux index 2aee13222..0ec5f4a2c 100644 --- a/stdlib/source/library/lux/world/file.lux +++ b/stdlib/source/library/lux/world/file.lux @@ -4,27 +4,27 @@ ["@" target] ["[0]" ffi] [abstract - ["[0]" monad {"+" [Monad do]}]] + ["[0]" monad {"+" Monad do}]] [control - [pipe {"+" [case>]}] + [pipe {"+" case>}] ["[0]" maybe ("[1]#[0]" functor)] - ["[0]" try {"+" [Try]} ("[1]#[0]" functor)] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO]} ("[1]#[0]" functor)] + ["[0]" try {"+" Try} ("[1]#[0]" functor)] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO} ("[1]#[0]" functor)] ["[0]" function] [concurrency - ["[0]" async {"+" [Async]}] - ["[0]" stm {"+" [Var STM]}]]] + ["[0]" async {"+" Async}] + ["[0]" stm {"+" Var STM}]]] [data ["[0]" bit ("[1]#[0]" equivalence)] ["[0]" product] - ["[0]" binary {"+" [Binary]}] + ["[0]" binary {"+" Binary}] ["[0]" text ("[1]#[0]" equivalence) - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" list ("[1]#[0]" functor)] - ["[0]" dictionary {"+" [Dictionary]}]]] + ["[0]" dictionary {"+" Dictionary}]]] [macro ["[0]" template]] [math @@ -32,7 +32,7 @@ ["i" int] ["f" frac]]] [time - ["[0]" instant {"+" [Instant]}] + ["[0]" instant {"+" Instant}] ["[0]" duration]]]]) (type: .public Path diff --git a/stdlib/source/library/lux/world/file/watch.lux b/stdlib/source/library/lux/world/file/watch.lux index de05e5185..b3796ed38 100644 --- a/stdlib/source/library/lux/world/file/watch.lux +++ b/stdlib/source/library/lux/world/file/watch.lux @@ -2,24 +2,24 @@ [library [lux "*" ["@" target] - ["[0]" ffi {"+" [import:]}] + ["[0]" ffi {"+" import:}] [abstract - [predicate {"+" [Predicate]}] - ["[0]" monad {"+" [do]}]] + [predicate {"+" Predicate}] + ["[0]" monad {"+" do}]] [control - ["[0]" io {"+" [IO]}] + ["[0]" io {"+" IO}] ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] [concurrency - ["[0]" async {"+" [Async]}] - ["[0]" stm {"+" [STM Var]}]]] + ["[0]" async {"+" Async}] + ["[0]" stm {"+" STM Var}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" list ("[1]#[0]" functor monoid mix)] ["[0]" set] ["[0]" array]]] @@ -27,9 +27,9 @@ [number ["n" nat]]] [time - ["[0]" instant {"+" [Instant]} ("[1]#[0]" equivalence)]] + ["[0]" instant {"+" Instant} ("[1]#[0]" equivalence)]] [type - [abstract {"+" [abstract: :representation :abstraction]}]]]] + [abstract {"+" abstract: :representation :abstraction}]]]] ["[0]" //]) (abstract: .public Concern diff --git a/stdlib/source/library/lux/world/net.lux b/stdlib/source/library/lux/world/net.lux index 940c86fec..1cd25c6b8 100644 --- a/stdlib/source/library/lux/world/net.lux +++ b/stdlib/source/library/lux/world/net.lux @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [Location]}]]) + [lux {"-" Location}]]) (type: .public Address Text) diff --git a/stdlib/source/library/lux/world/net/http.lux b/stdlib/source/library/lux/world/net/http.lux index 8e61f33a0..2cd70e23c 100644 --- a/stdlib/source/library/lux/world/net/http.lux +++ b/stdlib/source/library/lux/world/net/http.lux @@ -2,15 +2,15 @@ [library [lux "*" [control - [try {"+" [Try]}] + [try {"+" Try}] [concurrency - [frp {"+" [Channel]}]] + [frp {"+" Channel}]] [parser - ["[0]" environment {"+" [Environment]}]]] + ["[0]" environment {"+" Environment}]]] [data - [binary {"+" [Binary]}]]]] - [// {"+" [URL]} - [uri {"+" [URI]}]]) + [binary {"+" Binary}]]]] + [// {"+" URL} + [uri {"+" URI}]]) (type: .public Version Text) diff --git a/stdlib/source/library/lux/world/net/http/client.lux b/stdlib/source/library/lux/world/net/http/client.lux index 03b4cc26d..a34c8a7fc 100644 --- a/stdlib/source/library/lux/world/net/http/client.lux +++ b/stdlib/source/library/lux/world/net/http/client.lux @@ -4,23 +4,23 @@ ["@" target] ["[0]" ffi] [abstract - ["[0]" monad {"+" [do]}]] + ["[0]" monad {"+" do}]] [control - [pipe {"+" [case>]}] - ["[0]" io {"+" [IO]}] + [pipe {"+" case>}] + ["[0]" io {"+" IO}] ["[0]" maybe ("[1]#[0]" functor)] - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] [concurrency - ["[0]" async {"+" [Async]}]] + ["[0]" async {"+" Async}]] [parser ["<[0]>" code]]] [data - ["[0]" binary {"+" [Binary]}] + ["[0]" binary {"+" Binary}] ["[0]" text] [collection ["[0]" dictionary]]] [macro - [syntax {"+" [syntax:]}] + [syntax {"+" syntax:}] ["[0]" code] ["[0]" template]] [math @@ -28,7 +28,7 @@ ["n" nat] ["i" int]]]]] ["[0]" // - [// {"+" [URL]}]]) + [// {"+" URL}]]) (type: .public (Client !) (Interface diff --git a/stdlib/source/library/lux/world/net/http/cookie.lux b/stdlib/source/library/lux/world/net/http/cookie.lux index 834dc1d81..39dad0676 100644 --- a/stdlib/source/library/lux/world/net/http/cookie.lux +++ b/stdlib/source/library/lux/world/net/http/cookie.lux @@ -2,22 +2,22 @@ [library [lux "*" [control - [monad {"+" [do]}] - ["[0]" try {"+" [Try]}] + [monad {"+" do}] + ["[0]" try {"+" Try}] ["p" parser ("[1]#[0]" monad) - ["l" text {"+" [Parser]}]]] + ["l" text {"+" Parser}]]] [data [number ["i" int]] [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [format - ["[0]" context {"+" [Context]}]] + ["[0]" context {"+" Context}]] [collection ["[0]" dictionary]]] [time - ["[0]" duration {"+" [Duration]}]]]] - ["[0]" // {"+" [Header]} + ["[0]" duration {"+" Duration}]]]] + ["[0]" // {"+" Header} ["[0]" header]]) (type: .public Directive diff --git a/stdlib/source/library/lux/world/net/http/header.lux b/stdlib/source/library/lux/world/net/http/header.lux index ec716819d..451397394 100644 --- a/stdlib/source/library/lux/world/net/http/header.lux +++ b/stdlib/source/library/lux/world/net/http/header.lux @@ -2,15 +2,15 @@ [library [lux "*" [control - [pipe {"+" [case>]}]] + [pipe {"+" case>}]] [data [text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" dictionary {"+" [Dictionary]}]]]]] - [// {"+" [Header]} - ["[0]" mime {"+" [MIME]}] - [// {"+" [URL]}]]) + ["[0]" dictionary {"+" Dictionary}]]]]] + [// {"+" Header} + ["[0]" mime {"+" MIME}] + [// {"+" URL}]]) (def: .public (has name value) (-> Text Text Header) diff --git a/stdlib/source/library/lux/world/net/http/mime.lux b/stdlib/source/library/lux/world/net/http/mime.lux index fb80bdc86..e76bfab18 100644 --- a/stdlib/source/library/lux/world/net/http/mime.lux +++ b/stdlib/source/library/lux/world/net/http/mime.lux @@ -3,8 +3,8 @@ [lux "*" [data ["[0]" text - ["%" format {"+" [format]}] - ["[0]" encoding {"+" [Encoding]}]]] + ["%" format {"+" format}] + ["[0]" encoding {"+" Encoding}]]] [type abstract]]]) diff --git a/stdlib/source/library/lux/world/net/http/query.lux b/stdlib/source/library/lux/world/net/http/query.lux index 78ed13a06..585325112 100644 --- a/stdlib/source/library/lux/world/net/http/query.lux +++ b/stdlib/source/library/lux/world/net/http/query.lux @@ -3,17 +3,17 @@ [lux "*" [control pipe - [monad {"+" [do]}] - ["[0]" try {"+" [Try]}] + [monad {"+" do}] + ["[0]" try {"+" Try}] ["p" parser - ["l" text {"+" [Parser]}]]] + ["l" text {"+" Parser}]]] [data [number ["[0]" nat]] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [format - ["[0]" context {"+" [Context]}]] + ["[0]" context {"+" Context}]] [collection ["[0]" dictionary]]]]]) diff --git a/stdlib/source/library/lux/world/net/http/request.lux b/stdlib/source/library/lux/world/net/http/request.lux index 4b60936a6..fd5c7cd19 100644 --- a/stdlib/source/library/lux/world/net/http/request.lux +++ b/stdlib/source/library/lux/world/net/http/request.lux @@ -3,11 +3,11 @@ [lux "*" [control pipe - ["[0]" monad {"+" [do]}] + ["[0]" monad {"+" do}] ["[0]" maybe] - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] [concurrency - ["[0]" async {"+" [Async]}] + ["[0]" async {"+" Async}] ["[0]" frp]] [parser ["<[0]>" json]]] @@ -17,14 +17,14 @@ ["[0]" text ["[0]" encoding]] [format - ["[0]" json {"+" [JSON]}] - ["[0]" context {"+" [Context Property]}]] + ["[0]" json {"+" JSON}] + ["[0]" context {"+" Context Property}]] [collection ["[0]" list ("[1]#[0]" functor mix)] ["[0]" dictionary]]] [world - ["[0]" binary {"+" [Binary]}]]]] - ["[0]" // {"+" [Body Response Server]} + ["[0]" binary {"+" Binary}]]]] + ["[0]" // {"+" Body Response Server} ["[1][0]" response] ["[1][0]" query] ["[1][0]" cookie]]) diff --git a/stdlib/source/library/lux/world/net/http/response.lux b/stdlib/source/library/lux/world/net/http/response.lux index 77b2ef773..7ef261f89 100644 --- a/stdlib/source/library/lux/world/net/http/response.lux +++ b/stdlib/source/library/lux/world/net/http/response.lux @@ -1,6 +1,6 @@ (.module: [library - [lux {"-" [static]} + [lux {"-" static} [control [concurrency ["[0]" async] @@ -10,17 +10,17 @@ ["[0]" encoding]] [format ["[0]" html] - ["[0]" css {"+" [CSS]}] + ["[0]" css {"+" CSS}] ["[0]" context] - ["[0]" json {"+" [JSON]} ("[1]#[0]" codec)]]] + ["[0]" json {"+" JSON} ("[1]#[0]" codec)]]] ["[0]" io] [world - ["[0]" binary {"+" [Binary]}]]]] - ["[0]" // {"+" [Status Body Response Server]} + ["[0]" binary {"+" Binary}]]]] + ["[0]" // {"+" Status Body Response Server} ["[0]" status] - ["[0]" mime {"+" [MIME]}] + ["[0]" mime {"+" MIME}] ["[0]" header] - [// {"+" [URL]}]]) + [// {"+" URL}]]) (def: .public (static response) (-> Response Server) diff --git a/stdlib/source/library/lux/world/net/http/route.lux b/stdlib/source/library/lux/world/net/http/route.lux index 92b522254..9f6b6bf69 100644 --- a/stdlib/source/library/lux/world/net/http/route.lux +++ b/stdlib/source/library/lux/world/net/http/route.lux @@ -1,8 +1,8 @@ (.module: [library - [lux {"-" [or]} + [lux {"-" or} [control - [monad {"+" [do]}] + [monad {"+" do}] ["[0]" maybe] [concurrency ["[0]" async]]] @@ -10,7 +10,7 @@ ["[0]" text] [number ["n" nat]]]]] - ["[0]" // {"+" [URI Server]} + ["[0]" // {"+" URI Server} ["[1][0]" status] ["[1][0]" response]]) diff --git a/stdlib/source/library/lux/world/net/http/status.lux b/stdlib/source/library/lux/world/net/http/status.lux index 829f078f1..1a3964751 100644 --- a/stdlib/source/library/lux/world/net/http/status.lux +++ b/stdlib/source/library/lux/world/net/http/status.lux @@ -1,7 +1,7 @@ (.module: [library [lux "*"]] - [// {"+" [Status]}]) + [// {"+" Status}]) ... https://en.wikipedia.org/wiki/List_of_HTTP_status_codes (template [ ] diff --git a/stdlib/source/library/lux/world/net/http/version.lux b/stdlib/source/library/lux/world/net/http/version.lux index 7f6cf852b..356de35b2 100644 --- a/stdlib/source/library/lux/world/net/http/version.lux +++ b/stdlib/source/library/lux/world/net/http/version.lux @@ -1,7 +1,7 @@ (.module: [library [lux "*"]] - [// {"+" [Version]}]) + [// {"+" Version}]) (template [ ] [(def: .public Version )] diff --git a/stdlib/source/library/lux/world/output/video/resolution.lux b/stdlib/source/library/lux/world/output/video/resolution.lux index af2870923..3fe36c5d8 100644 --- a/stdlib/source/library/lux/world/output/video/resolution.lux +++ b/stdlib/source/library/lux/world/output/video/resolution.lux @@ -2,8 +2,8 @@ [library [lux "*" [abstract - [equivalence {"+" [Equivalence]}] - [hash {"+" [Hash]}]] + [equivalence {"+" Equivalence}] + [hash {"+" Hash}]] [data ["[0]" product]] [math diff --git a/stdlib/source/library/lux/world/program.lux b/stdlib/source/library/lux/world/program.lux index 48c5f6ada..e69b0524b 100644 --- a/stdlib/source/library/lux/world/program.lux +++ b/stdlib/source/library/lux/world/program.lux @@ -2,27 +2,27 @@ [library [lux "*" ["@" target] - ["[0]" ffi {"+" [import:]}] + ["[0]" ffi {"+" import:}] [abstract - ["[0]" monad {"+" [Monad do]}]] + ["[0]" monad {"+" Monad do}]] [control ["[0]" function] - ["[0]" io {"+" [IO]}] + ["[0]" io {"+" IO}] ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] [concurrency ["[0]" atom] - ["[0]" async {"+" [Async]}]] + ["[0]" async {"+" Async}]] [parser - ["[0]" environment {"+" [Environment]}]]] + ["[0]" environment {"+" Environment}]]] [data ["[0]" bit ("[1]#[0]" equivalence)] ["[0]" text - ["%" format {"+" [format]}]] + ["%" format {"+" format}]] [collection - ["[0]" array {"+" [Array]}] - ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" array {"+" Array}] + ["[0]" dictionary {"+" Dictionary}] ["[0]" list ("[1]#[0]" functor)]]] ["[0]" macro ["[0]" template]] @@ -32,8 +32,8 @@ [type abstract]]] [// - [file {"+" [Path]}] - [shell {"+" [Exit]}]]) + [file {"+" Path}] + [shell {"+" Exit}]]) (exception: .public (unknown_environment_variable [name Text]) (exception.report diff --git a/stdlib/source/library/lux/world/service/authentication.lux b/stdlib/source/library/lux/world/service/authentication.lux index 141f24e55..069eac560 100644 --- a/stdlib/source/library/lux/world/service/authentication.lux +++ b/stdlib/source/library/lux/world/service/authentication.lux @@ -2,9 +2,9 @@ [library [lux "*" [control - [try {"+" [Try]}] + [try {"+" Try}] [security - [capability {"+" [Capability]}]]]]]) + [capability {"+" Capability}]]]]]) (type: .public (Can_Register ! account secret value) (Capability [account secret value] (! (Try Any)))) diff --git a/stdlib/source/library/lux/world/service/crud.lux b/stdlib/source/library/lux/world/service/crud.lux index eeb245fea..db6145c55 100644 --- a/stdlib/source/library/lux/world/service/crud.lux +++ b/stdlib/source/library/lux/world/service/crud.lux @@ -2,11 +2,11 @@ [library [lux "*" [control - ["[0]" try {"+" [Try]}] + ["[0]" try {"+" Try}] [security - ["!" capability {"+" [capability:]}]]] + ["!" capability {"+" capability:}]]] [time - ["[0]" instant {"+" [Instant]}]]]]) + ["[0]" instant {"+" Instant}]]]]) (type: .public ID Nat) diff --git a/stdlib/source/library/lux/world/service/inventory.lux b/stdlib/source/library/lux/world/service/inventory.lux index 964809212..114227887 100644 --- a/stdlib/source/library/lux/world/service/inventory.lux +++ b/stdlib/source/library/lux/world/service/inventory.lux @@ -2,9 +2,9 @@ [library [lux "*" [control - [try {"+" [Try]}] + [try {"+" Try}] [security - ["!" capability {"+" [capability:]}]]]]]) + ["!" capability {"+" capability:}]]]]]) (type: .public ID Nat) diff --git a/stdlib/source/library/lux/world/service/journal.lux b/stdlib/source/library/lux/world/service/journal.lux index 414b65017..49ac101ba 100644 --- a/stdlib/source/library/lux/world/service/journal.lux +++ b/stdlib/source/library/lux/world/service/journal.lux @@ -2,15 +2,15 @@ [library [lux "*" [control - [equivalence {"+" [Equivalence]}] - [interval {"+" [Interval]}] - [try {"+" [Try]}] + [equivalence {"+" Equivalence}] + [interval {"+" Interval}] + [try {"+" Try}] [security - ["!" capability {"+" [capability:]}]]] + ["!" capability {"+" capability:}]]] [data ["[0]" text ("[1]#[0]" equivalence)]] [time - ["[0]" instant {"+" [Instant]} ("[1]#[0]" equivalence)]]]]) + ["[0]" instant {"+" Instant} ("[1]#[0]" equivalence)]]]]) (type: .public (Entry a) (Record diff --git a/stdlib/source/library/lux/world/service/mail.lux b/stdlib/source/library/lux/world/service/mail.lux index 5d4256c20..6f189d485 100644 --- a/stdlib/source/library/lux/world/service/mail.lux +++ b/stdlib/source/library/lux/world/service/mail.lux @@ -2,11 +2,11 @@ [library [lux "*" [control - [try {"+" [Try]}] + [try {"+" Try}] [concurrency - [frp {"+" [Channel]}]] + [frp {"+" Channel}]] [security - ["!" capability {"+" [capability:]}]]]]]) + ["!" capability {"+" capability:}]]]]]) (capability: .public (Can_Send ! address message) (can_send [address message] (! (Try Any)))) diff --git a/stdlib/source/library/lux/world/shell.lux b/stdlib/source/library/lux/world/shell.lux index c195cb24a..c5f626e09 100644 --- a/stdlib/source/library/lux/world/shell.lux +++ b/stdlib/source/library/lux/world/shell.lux @@ -2,36 +2,36 @@ [library [lux "*" ["@" target] - ["jvm" ffi {"+" [import:]}] + ["jvm" ffi {"+" import:}] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control ["[0]" function] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO}] [security - ["?" policy {"+" [Context Safety Safe]}]] + ["?" policy {"+" Context Safety Safe}]] [concurrency - ["[0]" atom {"+" [Atom]}] - ["[0]" async {"+" [Async]}]] + ["[0]" atom {"+" Atom}] + ["[0]" async {"+" Async}]] [parser - [environment {"+" [Environment]}]]] + [environment {"+" Environment}]]] [data ["[0]" product] ["[0]" text - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" list ("[1]#[0]" mix functor)] ["[0]" dictionary]]] [math - [number {"+" [hex]} + [number {"+" hex} ["n" nat]]]]] [// - [file {"+" [Path]}]]) + [file {"+" Path}]]) (type: .public Exit Int) -- cgit v1.2.3