aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux.lux
blob: 4365ea0eb2b81071938d6cc475276432c443edbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
(.module:
  [library
   [lux
    [program (#+ program:)]
    ["$" documentation (#+ documentation:)]
    ["." debug]
    [control
     ["." io]]]]
  [\\library
   ["." /]]
  ["." / #_
   ["#." abstract]
   ["#." control]
   ["#." data]
   ["#." debug]
   ["#." documentation]
   ["#." ffi]
   ["#." locale]
   ["#." macro]
   ["#." math]
   ["#." meta]
   ["#." program]
   ["#." static]
   ["#." target]
   ["#." test]
   ["#." time]
   ... ["#." tool] ... TODO: Documentation for this
   ["#." type]
   ... ["#." world]
   ... ["#." extension]
   ... ["#." target #_
   ...  <target>]
   ])

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            ""
            []
            [/abstract.documentation
             /control.documentation
             /data.documentation
             /debug.documentation
             /documentation.documentation
             /ffi.documentation
             /locale.documentation
             /macro.documentation
             /math.documentation
             /meta.documentation
             /program.documentation
             /static.documentation
             /target.documentation
             /test.documentation
             /time.documentation
             /type.documentation]))

(program: inputs
  (io.io (debug.log! ($.documentation ..documentation))))