diff options
Diffstat (limited to '')
7 files changed, 81 insertions, 64 deletions
diff --git a/stdlib/source/lux/language/compiler/extension.lux b/stdlib/source/lux/language/compiler/extension.lux index 91b48dfb7..478c90564 100644 --- a/stdlib/source/lux/language/compiler/extension.lux +++ b/stdlib/source/lux/language/compiler/extension.lux @@ -1,10 +1,12 @@ (.module: - lux - (lux (control [monad (#+ do)] - ["ex" exception (#+ exception:)]) - (data [error (#+ Error)] - [text] - (collection ["dict" dictionary (#+ Dictionary)]))) + [lux #* + [control + [monad (#+ do)] + ["ex" exception (#+ exception:)]] + [data + [error (#+ Error)] + [text] + [collection ["dict" dictionary (#+ Dictionary)]]]] [// (#+ Operation Compiler)]) (type: #export (Extension i) diff --git a/stdlib/source/lux/language/compiler/extension/analysis.lux b/stdlib/source/lux/language/compiler/extension/analysis.lux index a34dcae77..ba37b4578 100644 --- a/stdlib/source/lux/language/compiler/extension/analysis.lux +++ b/stdlib/source/lux/language/compiler/extension/analysis.lux @@ -1,8 +1,10 @@ (.module: - lux - (lux (data [text] - (collection [list ("list/" Functor<List>)] - ["dict" dictionary (#+ Dictionary)]))) + [lux #* + [data + [text] + [collection + [list ("list/" Functor<List>)] + ["dict" dictionary (#+ Dictionary)]]]] [///analysis (#+ Analysis State)] [///synthesis (#+ Synthesis)] [//] diff --git a/stdlib/source/lux/language/compiler/extension/analysis/common.lux b/stdlib/source/lux/language/compiler/extension/analysis/common.lux index c099a9648..66189cec8 100644 --- a/stdlib/source/lux/language/compiler/extension/analysis/common.lux +++ b/stdlib/source/lux/language/compiler/extension/analysis/common.lux @@ -1,22 +1,26 @@ (.module: - lux - (lux (control [monad (#+ do)] - ["ex" exception (#+ exception:)] - [thread (#+ Box)]) - (concurrency [atom (#+ Atom)]) - (data [text] - text/format - (collection [list ("list/" Functor<List>)] - [array] - ["dict" dictionary (#+ Dictionary)])) - [language] - (language (type ["tc" check])) - [io (#+ IO)]) + [lux #* + [control + [monad (#+ do)] + ["ex" exception (#+ exception:)] + [thread (#+ Box)]] + [concurrency [atom (#+ Atom)]] + [data + ["." text + format] + [collection + [list ("list/" Functor<List>)] + [array] + ["dict" dictionary (#+ Dictionary)]]] + ["." language + [type ["tc" check]]] + [io (#+ IO)]] [////] - (//// [analysis (#+ Analysis)] - (analysis [".A" type] - [".A" case] - [".A" function])) + [//// + [analysis (#+ Analysis) + [".A" type] + [".A" case] + [".A" function]]] [///] [///bundle]) diff --git a/stdlib/source/lux/language/compiler/extension/analysis/host.jvm.lux b/stdlib/source/lux/language/compiler/extension/analysis/host.jvm.lux index 1985706c2..e13b32c08 100644 --- a/stdlib/source/lux/language/compiler/extension/analysis/host.jvm.lux +++ b/stdlib/source/lux/language/compiler/extension/analysis/host.jvm.lux @@ -1,29 +1,33 @@ (.module: - [lux (#- char int)] - (lux (control [monad (#+ do)] - ["p" parser] - ["ex" exception (#+ exception:)]) - (data ["e" error] - [maybe] - [product] - [bool ("bool/" Equivalence<Bool>)] - [text ("text/" Equivalence<Text>)] - (text format - ["l" lexer]) - (collection [list ("list/" Fold<List> Functor<List> Monoid<List>)] - [array] - ["dict" dictionary (#+ Dictionary)])) - [macro ("macro/" Monad<Meta>)] - (macro [code] - ["s" syntax]) - [language] - (language [type] - (type ["tc" check])) - [host]) + [lux (#- char int) + [control + [monad (#+ do)] + ["p" parser] + ["ex" exception (#+ exception:)]] + [data + ["e" error] + [maybe] + [product] + [bool ("bool/" Equivalence<Bool>)] + [text ("text/" Equivalence<Text>) + format + ["l" lexer]] + [collection + [list ("list/" Fold<List> Functor<List> Monoid<List>)] + [array] + ["dict" dictionary (#+ Dictionary)]]] + [macro ("macro/" Monad<Meta>) + [code] + ["s" syntax]] + ["." language + ["." type + ["tc" check]]] + [host]] ["/" //common] - (//// [".L" analysis (#+ Analysis)] - (analysis [".A" type] - [".A" inference])) + [//// + [".L" analysis (#+ Analysis) + [".A" type] + [".A" inference]]] [///] ) diff --git a/stdlib/source/lux/language/compiler/extension/bundle.lux b/stdlib/source/lux/language/compiler/extension/bundle.lux index 57bae70ed..315d05523 100644 --- a/stdlib/source/lux/language/compiler/extension/bundle.lux +++ b/stdlib/source/lux/language/compiler/extension/bundle.lux @@ -1,11 +1,14 @@ (.module: - lux - (lux (control [monad (#+ do)] - ["ex" exception (#+ exception:)]) - (data [text] - text/format - (collection [list ("list/" Functor<List>)] - ["dict" dictionary (#+ Dictionary)]))) + [lux #* + [control + [monad (#+ do)] + ["ex" exception (#+ exception:)]] + [data + ["." text + format] + [collection + [list ("list/" Functor<List>)] + ["dict" dictionary (#+ Dictionary)]]]] [//]) (exception: #export (incorrect-arity {name Text} {arity Nat} {args Nat}) diff --git a/stdlib/source/lux/language/compiler/extension/synthesis.lux b/stdlib/source/lux/language/compiler/extension/synthesis.lux index db1671c93..d907808a8 100644 --- a/stdlib/source/lux/language/compiler/extension/synthesis.lux +++ b/stdlib/source/lux/language/compiler/extension/synthesis.lux @@ -1,7 +1,8 @@ (.module: - lux - (lux (data [text] - (collection ["dict" dictionary (#+ Dictionary)]))) + [lux #* + [data + [text] + [collection ["dict" dictionary (#+ Dictionary)]]]] [//]) (def: #export defaults diff --git a/stdlib/source/lux/language/compiler/extension/translation.lux b/stdlib/source/lux/language/compiler/extension/translation.lux index 345333a8a..3a43e0dcb 100644 --- a/stdlib/source/lux/language/compiler/extension/translation.lux +++ b/stdlib/source/lux/language/compiler/extension/translation.lux @@ -1,7 +1,8 @@ (.module: - lux - (lux (data [text] - (collection ["dict" dictionary (#+ Dictionary)]))) + [lux #* + [data + [text] + [collection ["dict" dictionary (#+ Dictionary)]]]] [//]) (def: #export defaults |