aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/parser
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/parser/lux/data/binary.lux4
-rw-r--r--stdlib/source/parser/lux/data/format/json.lux8
-rw-r--r--stdlib/source/parser/lux/data/format/xml.lux6
-rw-r--r--stdlib/source/parser/lux/data/text.lux8
-rw-r--r--stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux4
-rw-r--r--stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux2
6 files changed, 16 insertions, 16 deletions
diff --git a/stdlib/source/parser/lux/data/binary.lux b/stdlib/source/parser/lux/data/binary.lux
index 117f07a34..61256d42a 100644
--- a/stdlib/source/parser/lux/data/binary.lux
+++ b/stdlib/source/parser/lux/data/binary.lux
@@ -1,4 +1,4 @@
-(.using
+(.require
[library
[lux (.except and or nat int rev list type symbol)
[ffi (.only)]
@@ -7,7 +7,7 @@
[hash (.only Hash)]
[monad (.only do)]]
[control
- ["//" parser (.open: "[1]#[0]" monad)]
+ ["//" parser (.use "[1]#[0]" monad)]
["[0]" try (.only Try)]
["[0]" exception (.only exception:)]]
[data
diff --git a/stdlib/source/parser/lux/data/format/json.lux b/stdlib/source/parser/lux/data/format/json.lux
index 2f54560e9..5d1c757bc 100644
--- a/stdlib/source/parser/lux/data/format/json.lux
+++ b/stdlib/source/parser/lux/data/format/json.lux
@@ -1,17 +1,17 @@
-(.using
+(.require
[library
[lux (.except symbol)
[abstract
["[0]" monad (.only do)]]
[control
- ["//" parser (.open: "[1]#[0]" functor)]
+ ["//" parser (.use "[1]#[0]" functor)]
["[0]" try (.only Try)]
["[0]" exception (.only exception:)]]
[data
["[0]" bit]
- ["[0]" text (.open: "[1]#[0]" equivalence monoid)]
+ ["[0]" text (.use "[1]#[0]" equivalence monoid)]
[collection
- ["[0]" list (.open: "[1]#[0]" functor)]
+ ["[0]" list (.use "[1]#[0]" functor)]
["[0]" sequence]
["[0]" dictionary (.only Dictionary)]]]
[macro
diff --git a/stdlib/source/parser/lux/data/format/xml.lux b/stdlib/source/parser/lux/data/format/xml.lux
index 6b2ddf79c..c71f3d20f 100644
--- a/stdlib/source/parser/lux/data/format/xml.lux
+++ b/stdlib/source/parser/lux/data/format/xml.lux
@@ -1,11 +1,11 @@
-(.using
+(.require
[library
[lux (.except)
[abstract
[monad (.only do)]]
[control
["//" parser]
- ["[0]" try (.only Try) (.open: "[1]#[0]" functor)]
+ ["[0]" try (.only Try) (.use "[1]#[0]" functor)]
["[0]" exception (.only exception:)]]
[data
["[0]" text
@@ -14,7 +14,7 @@
["[0]" list]
["[0]" dictionary]]]
[meta
- ["[0]" symbol (.open: "[1]#[0]" equivalence codec)]]]]
+ ["[0]" symbol (.use "[1]#[0]" equivalence codec)]]]]
[\\library
["[0]" / (.only Attribute Attrs Tag XML)]])
diff --git a/stdlib/source/parser/lux/data/text.lux b/stdlib/source/parser/lux/data/text.lux
index b6d86b35a..d18a01d6b 100644
--- a/stdlib/source/parser/lux/data/text.lux
+++ b/stdlib/source/parser/lux/data/text.lux
@@ -1,4 +1,4 @@
-(.using
+(.require
[library
[lux (.except and not local)
[abstract
@@ -9,17 +9,17 @@
["[0]" try (.only Try)]
["[0]" exception (.only exception:)]]
[data
- ["/" text (.only Char) (.open: "[1]#[0]" monoid)]
+ ["/" text (.only Char) (.use "[1]#[0]" monoid)]
["[0]" product]
[collection
- ["[0]" list (.open: "[1]#[0]" mix)]]]
+ ["[0]" list (.use "[1]#[0]" mix)]]]
[macro
["^" pattern]
["[0]" code]
["[0]" template]]
[math
[number
- ["n" nat (.open: "[1]#[0]" decimal)]]]]])
+ ["n" nat (.use "[1]#[0]" decimal)]]]]])
(type: .public Offset
Nat)
diff --git a/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux b/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux
index eb2695e96..a8c00087d 100644
--- a/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux
+++ b/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux
@@ -1,4 +1,4 @@
-(.using
+(.require
[library
[lux (.except nat int rev local)
[abstract
@@ -12,7 +12,7 @@
["[0]" text (.only)
["%" \\format (.only format)]]
[collection
- ["[0]" list (.open: "[1]#[0]" functor)]]]
+ ["[0]" list (.use "[1]#[0]" functor)]]]
[macro
["[0]" template]]
[math
diff --git a/stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux b/stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux
index 535e03cc0..fa2a7a3af 100644
--- a/stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux
+++ b/stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux
@@ -1,4 +1,4 @@
-(.using
+(.require
[library
[lux (.except function loop i64 local)
[abstract