aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/macro/syntax/input.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/macro/syntax/input.lux')
-rw-r--r--stdlib/source/documentation/lux/macro/syntax/input.lux27
1 files changed, 27 insertions, 0 deletions
diff --git a/stdlib/source/documentation/lux/macro/syntax/input.lux b/stdlib/source/documentation/lux/macro/syntax/input.lux
new file mode 100644
index 000000000..bd1a5daa5
--- /dev/null
+++ b/stdlib/source/documentation/lux/macro/syntax/input.lux
@@ -0,0 +1,27 @@
+(.module:
+ [library
+ [lux (#- char)
+ ["$" documentation (#+ documentation:)]
+ [data
+ [text
+ ["%" format (#+ format)]]
+ [collection
+ ["." list]]]]]
+ [\\library
+ ["." /]])
+
+(documentation: /.Input
+ "The common typed-argument syntax used by many macros.")
+
+(documentation: /.parser
+ "Parser for the common typed-argument syntax used by many macros.")
+
+(.def: .public documentation
+ (.List $.Module)
+ ($.module /._
+ ""
+ [..Input
+ ..parser
+ ($.default /.equivalence)
+ ($.default /.format)]
+ []))