diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/documentation/lux/control/parser/code.lux | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/stdlib/source/documentation/lux/control/parser/code.lux b/stdlib/source/documentation/lux/control/parser/code.lux index c2a4cf27f..e11fb64b8 100644 --- a/stdlib/source/documentation/lux/control/parser/code.lux +++ b/stdlib/source/documentation/lux/control/parser/code.lux @@ -1,14 +1,14 @@ (.using - [library - [lux {"-" nat int rev local not symbol} - ["$" documentation {"+" documentation:}] - [data - [text {"+" \n} - ["%" format {"+" format}]]] - [macro - ["[0]" template]]]] - [\\library - ["[0]" /]]) + [library + [lux {"-" nat int rev local not symbol} + ["$" documentation {"+" documentation:}] + [data + [text {"+" \n} + ["%" format {"+" format}]]] + [macro + ["[0]" template]]]] + [\\library + ["[0]" /]]) (documentation: (/.Parser it) "A Lux code parser.") @@ -22,18 +22,18 @@ (`` (documentation: <check> (format "Checks for a specific " (~~ (template.text [<query>])) " input.")))] - [/.bit /.bit!] - [/.nat /.nat!] - [/.int /.int!] - [/.rev /.rev!] - [/.frac /.frac!] - [/.text /.text!] - [/.symbol /.symbol!] + [/.bit /.this_bit] + [/.nat /.this_nat] + [/.int /.this_int] + [/.rev /.this_rev] + [/.frac /.this_frac] + [/.text /.this_text] + [/.symbol /.this_symbol] ) -(documentation: /.this! +(documentation: /.this "Ensures the given Code is the next input." - [(this! code)]) + [(this code)]) (template [<query> <check> <desc>] [(documentation: <query> @@ -41,7 +41,7 @@ (documentation: <check> (format "Checks for a specific local " <desc> " (a " <desc> " that has no module prefix)."))] - [/.local_symbol /.local_symbol! "local symbol"] + [/.local /.this_local "local symbol"] ) (template [<name>] @@ -53,7 +53,7 @@ [/.tuple] ) -(documentation: /.end! +(documentation: /.end "Verifies there are no more inputs.") (documentation: /.end? @@ -82,30 +82,30 @@ ..any ..bit - ..bit! + ..this_bit ..nat - ..nat! + ..this_nat ..int - ..int! + ..this_int ..rev - ..rev! + ..this_rev ..frac - ..frac! + ..this_frac ..text - ..text! + ..this_text ..symbol - ..symbol! + ..this_symbol - ..this! + ..this - ..local_symbol - ..local_symbol! + ..local + ..this_local ..form ..tuple ..variant - ..end! + ..end ..end? ..result ..local |