diff options
Diffstat (limited to 'stdlib/source/program/aedifex/command')
-rw-r--r-- | stdlib/source/program/aedifex/command/auto.lux | 22 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/build.lux | 54 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/clean.lux | 14 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/deploy.lux | 62 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/deps.lux | 32 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/install.lux | 50 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/pom.lux | 18 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/test.lux | 24 | ||||
-rw-r--r-- | stdlib/source/program/aedifex/command/version.lux | 12 |
9 files changed, 144 insertions, 144 deletions
diff --git a/stdlib/source/program/aedifex/command/auto.lux b/stdlib/source/program/aedifex/command/auto.lux index 5e3b425fe..dc065c399 100644 --- a/stdlib/source/program/aedifex/command/auto.lux +++ b/stdlib/source/program/aedifex/command/auto.lux @@ -2,26 +2,26 @@ [library [lux "*" [abstract - ["." monad {"+" [do]}]] + ["[0]" monad {"+" [do]}]] [control - ["." try {"+" [Try]}] + ["[0]" try {"+" [Try]}] [concurrency - ["." async {"+" [Async]}]]] + ["[0]" async {"+" [Async]}]]] [data [collection - ["." list] - ["." set]]] + ["[0]" list] + ["[0]" set]]] [world [program {"+" [Program]}] [shell {"+" [Exit Shell]}] [console {"+" [Console]}] - ["." file - ["." watch {"+" [Watcher]}]]]]] - ["." // "_" - ["/#" // "_" + ["[0]" file + ["[0]" watch {"+" [Watcher]}]]]]] + ["[0]" // "_" + ["/[1]" // "_" [command {"+" [Command]}] - ["#" profile] - ["#." action] + ["[1]" profile] + ["[1][0]" action] [dependency [resolution {"+" [Resolution]}]]]]) diff --git a/stdlib/source/program/aedifex/command/build.lux b/stdlib/source/program/aedifex/command/build.lux index fea5ab74a..7d4592179 100644 --- a/stdlib/source/program/aedifex/command/build.lux +++ b/stdlib/source/program/aedifex/command/build.lux @@ -1,46 +1,46 @@ (.module: [library [lux {"-" [Name]} - ["." ffi {"+" [import:]}] + ["[0]" ffi {"+" [import:]}] [abstract [order {"+" [Order]}] [monad {"+" [do]}]] [control - ["." try {"+" [Try]}] - ["." exception {"+" [exception:]}] - ["." io {"+" [IO]}] + ["[0]" try {"+" [Try]}] + ["[0]" exception {"+" [exception:]}] + ["[0]" io {"+" [IO]}] [concurrency - ["." async {"+" [Async]} ("#\." monad)]]] + ["[0]" async {"+" [Async]} ("[1]\[0]" monad)]]] [data - ["." product] - ["." text ("#\." order) + ["[0]" product] + ["[0]" text ("[1]\[0]" order) ["%" format {"+" [format]}]] [collection - ["." list ("#\." functor mix)] - ["." dictionary {"+" [Dictionary]}] - ["." set]]] + ["[0]" list ("[1]\[0]" functor mix)] + ["[0]" dictionary {"+" [Dictionary]}] + ["[0]" set]]] [math [number ["n" nat] ["i" int]]] [world - ["." program {"+" [Program]}] - ["." file {"+" [Path]}] - ["." shell {"+" [Exit Process Shell]}] - ["." console {"+" [Console]}] + ["[0]" program {"+" [Program]}] + ["[0]" file {"+" [Path]}] + ["[0]" shell {"+" [Exit Process Shell]}] + ["[0]" console {"+" [Console]}] [net - ["." uri]]]]] - ["." /// "_" - ["#" profile] - ["#." action] - ["#." command {"+" [Command]}] - ["#." local] - ["#." repository] - ["#." runtime] - ["#." dependency {"+" [Dependency]} - ["#/." resolution {"+" [Resolution]}]] - ["#." artifact {"+" [Group Name Version Artifact]} - ["#/." type]]]) + ["[0]" uri]]]]] + ["[0]" /// "_" + ["[1]" profile] + ["[1][0]" action] + ["[1][0]" command {"+" [Command]}] + ["[1][0]" local] + ["[1][0]" repository] + ["[1][0]" runtime] + ["[1][0]" dependency {"+" [Dependency]} + ["[1]/[0]" resolution {"+" [Resolution]}]] + ["[1][0]" artifact {"+" [Group Name Version Artifact]} + ["[1]/[0]" type]]]) (type: Finder (-> Resolution (Maybe Dependency))) @@ -226,7 +226,7 @@ ) (import: java/lang/System - ["#::." + ["[1]::[0]" ("static" getProperty [java/lang/String] "io" "try" java/lang/String)]) (def: windows? diff --git a/stdlib/source/program/aedifex/command/clean.lux b/stdlib/source/program/aedifex/command/clean.lux index 0d8a62512..232bde793 100644 --- a/stdlib/source/program/aedifex/command/clean.lux +++ b/stdlib/source/program/aedifex/command/clean.lux @@ -2,21 +2,21 @@ [library [lux "*" [abstract - ["." monad {"+" [do]}]] + ["[0]" monad {"+" [do]}]] [control [try {"+" [Try]}] [concurrency - ["." async {"+" [Async]}]]] + ["[0]" async {"+" [Async]}]]] [data [text ["%" format {"+" [format]}]]] [world - ["." file {"+" [Path]}] - ["." console {"+" [Console]}]]]] - ["." /// "_" + ["[0]" file {"+" [Path]}] + ["[0]" console {"+" [Console]}]]]] + ["[0]" /// "_" [command {"+" [Command]}] - ["#" profile] - ["#." action {"+" [Action]}]]) + ["[1]" profile] + ["[1][0]" action {"+" [Action]}]]) (def: (clean_files! fs root) (-> (file.System Async) Path (Async (Try Any))) diff --git a/stdlib/source/program/aedifex/command/deploy.lux b/stdlib/source/program/aedifex/command/deploy.lux index 49837055c..ee2cc3c71 100644 --- a/stdlib/source/program/aedifex/command/deploy.lux +++ b/stdlib/source/program/aedifex/command/deploy.lux @@ -5,53 +5,53 @@ [monad {"+" [do]}]] [control [pipe {"+" [do>]}] - ["." try {"+" [Try]}] + ["[0]" try {"+" [Try]}] [concurrency - ["." async {"+" [Async]} ("#\." monad)]] + ["[0]" async {"+" [Async]} ("[1]\[0]" monad)]] ["<>" parser - ["<.>" xml]]] + ["<[0]>" xml]]] [data [binary {"+" [Binary]}] [text ["%" format {"+" [format]}] [encoding - ["." utf8]]] + ["[0]" utf8]]] [collection - ["." set]] + ["[0]" set]] [format - ["." binary] - ["." tar] - ["." xml]]] + ["[0]" binary] + ["[0]" tar] + ["[0]" xml]]] [time - ["." instant {"+" [Instant]}]] + ["[0]" instant {"+" [Instant]}]] [world - ["." file] - ["." console {"+" [Console]}]]]] + ["[0]" file] + ["[0]" console {"+" [Console]}]]]] [program [compositor - ["." export]]] - ["." // "_" - ["#." clean] - ["/#" // "_" + ["[0]" export]]] + ["[0]" // "_" + ["[1][0]" clean] + ["/[1]" // "_" [command {"+" [Command]}] ["/" profile] - ["#." action {"+" [Action]}] - ["#." pom] - ["#." hash] - ["#." package] - ["#." dependency - ["#/." deployment] - ["#/." status {"+" [Status]}]] - ["#." repository {"+" [Repository]} + ["[1][0]" action {"+" [Action]}] + ["[1][0]" pom] + ["[1][0]" hash] + ["[1][0]" package] + ["[1][0]" dependency + ["[1]/[0]" deployment] + ["[1]/[0]" status {"+" [Status]}]] + ["[1][0]" repository {"+" [Repository]} [identity {"+" [Identity]}] - ["#/." remote] - ["#/." origin]] - ["#." metadata - ["#/." artifact] - ["#/." snapshot]] - ["#." artifact {"+" [Artifact]} - ["#/." extension {"+" [Extension]}] - ["#/." type]]]]) + ["[1]/[0]" remote] + ["[1]/[0]" origin]] + ["[1][0]" metadata + ["[1]/[0]" artifact] + ["[1]/[0]" snapshot]] + ["[1][0]" artifact {"+" [Artifact]} + ["[1]/[0]" extension {"+" [Extension]}] + ["[1]/[0]" type]]]]) (def: .public success "Successfully deployed the project.") diff --git a/stdlib/source/program/aedifex/command/deps.lux b/stdlib/source/program/aedifex/command/deps.lux index a5c27f5ac..0cce84d7c 100644 --- a/stdlib/source/program/aedifex/command/deps.lux +++ b/stdlib/source/program/aedifex/command/deps.lux @@ -4,32 +4,32 @@ [abstract [monad {"+" [do]}]] [control - ["." exception] + ["[0]" exception] [concurrency - ["." async {"+" [Async]}]]] + ["[0]" async {"+" [Async]}]]] [data [collection - ["." set {"+" [Set]}] - ["." list ("#\." mix)] - ["." dictionary]] + ["[0]" set {"+" [Set]}] + ["[0]" list ("[1]\[0]" mix)] + ["[0]" dictionary]] [text ["%" format]]] [world [net {"+" [URL]}] [program {"+" [Program]}] - ["." file] - ["." console {"+" [Console]}]]]] - ["." // "_" - ["#." clean] - ["/#" // "_" + ["[0]" file] + ["[0]" console {"+" [Console]}]]]] + ["[0]" // "_" + ["[1][0]" clean] + ["/[1]" // "_" [command {"+" [Command]}] [repository {"+" [Repository]}] - ["#" profile] - ["#." action {"+" [Action]}] - ["#." artifact {"+" [Artifact]}] - ["#." dependency {"+" [Dependency]} - ["#/." resolution {"+" [Resolution]}] - ["#/." deployment]]]]) + ["[1]" profile] + ["[1][0]" action {"+" [Action]}] + ["[1][0]" artifact {"+" [Artifact]}] + ["[1][0]" dependency {"+" [Dependency]} + ["[1]/[0]" resolution {"+" [Resolution]}] + ["[1]/[0]" deployment]]]]) (def: format (%.Format Dependency) diff --git a/stdlib/source/program/aedifex/command/install.lux b/stdlib/source/program/aedifex/command/install.lux index 023b2cc84..660d82477 100644 --- a/stdlib/source/program/aedifex/command/install.lux +++ b/stdlib/source/program/aedifex/command/install.lux @@ -4,44 +4,44 @@ [abstract [monad {"+" [do]}]] [control - ["." try {"+" [Try]}] - ["." exception] + ["[0]" try {"+" [Try]}] + ["[0]" exception] [concurrency - ["." async {"+" [Async]}]]] + ["[0]" async {"+" [Async]}]]] [data [binary {"+" [Binary]}] [text [encoding - ["." utf8]]] + ["[0]" utf8]]] [collection - ["." set]] + ["[0]" set]] [format - ["." binary] - ["." tar] - ["." xml]]] + ["[0]" binary] + ["[0]" tar] + ["[0]" xml]]] [world [program {"+" [Program]}] - ["." file] - ["." console {"+" [Console]}]]]] + ["[0]" file] + ["[0]" console {"+" [Console]}]]]] [program [compositor - ["." export]]] - ["." // "_" - ["#." clean] - ["/#" // "_" + ["[0]" export]]] + ["[0]" // "_" + ["[1][0]" clean] + ["/[1]" // "_" ["/" profile {"+" [Profile]}] - ["#." action {"+" [Action]}] - ["#." command {"+" [Command]}] - ["#." local] - ["#." pom] - ["#." package] + ["[1][0]" action {"+" [Action]}] + ["[1][0]" command {"+" [Command]}] + ["[1][0]" local] + ["[1][0]" pom] + ["[1][0]" package] [repository {"+" [Repository]} - ["#." origin]] - ["#." dependency "_" - ["#/." deployment] - ["#/." status]] - ["#." artifact {"+" [Artifact]} - ["#/." type]]]]) + ["[1][0]" origin]] + ["[1][0]" dependency "_" + ["[1]/[0]" deployment] + ["[1]/[0]" status]] + ["[1][0]" artifact {"+" [Artifact]} + ["[1]/[0]" type]]]]) (def: .public success "Successfully installed the project locally.") diff --git a/stdlib/source/program/aedifex/command/pom.lux b/stdlib/source/program/aedifex/command/pom.lux index fed4f8771..b176232aa 100644 --- a/stdlib/source/program/aedifex/command/pom.lux +++ b/stdlib/source/program/aedifex/command/pom.lux @@ -4,23 +4,23 @@ [abstract [monad {"+" [do]}]] [control - ["." try ("#\." functor)] + ["[0]" try ("[1]\[0]" functor)] [concurrency - ["." async {"+" [Async]} ("#\." monad)]]] + ["[0]" async {"+" [Async]} ("[1]\[0]" monad)]]] [data [text ["%" format {"+" [format]}] [encoding - ["." utf8]]] + ["[0]" utf8]]] [format - ["." xml]]] + ["[0]" xml]]] [world - ["." file] - ["." console {"+" [Console]}]]]] - ["." /// "_" + ["[0]" file] + ["[0]" console {"+" [Console]}]]]] + ["[0]" /// "_" [command {"+" [Command]}] - ["#." action] - ["#." pom]]) + ["[1][0]" action] + ["[1][0]" pom]]) (def: .public success (format "Successfully created POM file: " ///pom.file)) diff --git a/stdlib/source/program/aedifex/command/test.lux b/stdlib/source/program/aedifex/command/test.lux index 8c18e45be..35c805645 100644 --- a/stdlib/source/program/aedifex/command/test.lux +++ b/stdlib/source/program/aedifex/command/test.lux @@ -5,22 +5,22 @@ [monad {"+" [do]}]] [control [concurrency - ["." async {"+" [Async]} ("#\." monad)]]] + ["[0]" async {"+" [Async]} ("[1]\[0]" monad)]]] [math [number ["i" int]]] [world - ["." program {"+" [Program]}] - ["." file] - ["." shell {"+" [Exit Shell]}] - ["." console {"+" [Console]}]]]] - ["." // "_" - ["#." build] - ["/#" // "_" - ["#" profile] - ["#." action] - ["#." command {"+" [Command]}] - ["#." runtime] + ["[0]" program {"+" [Program]}] + ["[0]" file] + ["[0]" shell {"+" [Exit Shell]}] + ["[0]" console {"+" [Console]}]]]] + ["[0]" // "_" + ["[1][0]" build] + ["/[1]" // "_" + ["[1]" profile] + ["[1][0]" action] + ["[1][0]" command {"+" [Command]}] + ["[1][0]" runtime] [dependency [resolution {"+" [Resolution]}]]]]) diff --git a/stdlib/source/program/aedifex/command/version.lux b/stdlib/source/program/aedifex/command/version.lux index 640277699..11883dd86 100644 --- a/stdlib/source/program/aedifex/command/version.lux +++ b/stdlib/source/program/aedifex/command/version.lux @@ -3,15 +3,15 @@ [lux "*" [control [concurrency - ["." async {"+" [Async]}]]] + ["[0]" async {"+" [Async]}]]] [tool [compiler - ["." version] - ["." language "_" - ["#/." lux "_" - ["#" version]]]]] + ["[0]" version] + ["[0]" language "_" + ["[1]/[0]" lux "_" + ["[1]" version]]]]] [world - ["." console {"+" [Console]}]]]] + ["[0]" console {"+" [Console]}]]]] [/// [command {"+" [Command]}]]) |