aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/macro/syntax/annotations.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/macro/syntax/annotations.lux')
-rw-r--r--stdlib/source/documentation/lux/macro/syntax/annotations.lux25
1 files changed, 25 insertions, 0 deletions
diff --git a/stdlib/source/documentation/lux/macro/syntax/annotations.lux b/stdlib/source/documentation/lux/macro/syntax/annotations.lux
new file mode 100644
index 000000000..2fbb28d35
--- /dev/null
+++ b/stdlib/source/documentation/lux/macro/syntax/annotations.lux
@@ -0,0 +1,25 @@
+(.module:
+ [library
+ [lux (#- char)
+ ["$" documentation (#+ documentation:)]
+ [data
+ [text
+ ["%" format (#+ format)]]
+ [collection
+ ["." list]]]]]
+ [\\library
+ ["." /]])
+
+(documentation: /.Annotations
+ "Definition/module annotations.")
+
+(.def: .public documentation
+ (.List $.Module)
+ ($.module /._
+ ""
+ [..Annotations
+ ($.default /.equivalence)
+ ($.default /.empty)
+ ($.default /.format)
+ ($.default /.parser)]
+ []))