code / nomsu

Lines6.6K Lua5.1K PEG1.3K make117
2 others 83
Markdown60 Bourne Again Shell23
(21 lines)
1 #!/usr/bin/env nomsu -V7.0.0
2 ###
3 This file contains basic input/output code
5 use "core/metaprogramming"
6 use "core/operators"
7 use "core/control_flow"
9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 external:
12 (say (*extra arguments*)) means:
13 for $ in (1 to (select "#" (*extra arguments*))):
14 $arg = (select $ (*extra arguments*))
15 $io.write ($arg as text)
16 $io.write "\n"
17 $io.flush()
18 (say $message inline) means ($io.write $message)
19 (ask $prompt) means:
20 $io.write $prompt
21 return ($io.read())