aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/macro/syntax/input.lux
blob: 9e24666c0921384b730874ee32477cac8aaad153 (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
(.require
 [library
  [lux (.except char)
   ["$" documentation (.only documentation:)]
   [data
    [text
     ["%" \\format (.only format)]]
    [collection
     ["[0]" list]]]]]
 [\\library
  ["[0]" /]])

(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)]
            []))