aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/tool.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/tool.lux')
-rw-r--r--stdlib/source/documentation/lux/tool.lux28
1 files changed, 28 insertions, 0 deletions
diff --git a/stdlib/source/documentation/lux/tool.lux b/stdlib/source/documentation/lux/tool.lux
new file mode 100644
index 000000000..1cd0a11a1
--- /dev/null
+++ b/stdlib/source/documentation/lux/tool.lux
@@ -0,0 +1,28 @@
+(.module:
+ [library
+ [lux {"-" [char]}
+ ["$" documentation {"+" [documentation:]}]
+ [data
+ [text {"+" [\n]}
+ ["%" format {"+" [format]}]]
+ [collection
+ ["." list]]]]]
+ ["." / "_"
+ [compiler
+ ["#." phase]
+ [language
+ [lux
+ ["#." analysis]
+ ["#." directive]
+ ["#." generation]
+ ["#." synthesis]]]]])
+
+(.def: .public documentation
+ (.List $.Module)
+ (list.together
+ (list /phase.documentation
+ /analysis.documentation
+ /directive.documentation
+ /generation.documentation
+ /synthesis.documentation
+ )))