Augur docs

Standard Library

Input & Output

FormDirectionDescription
ask "prompt"inRead a line from the console; yields text.
proclaim exproutPrint to stdout.
whisper exproutPrint to stderr.
read exprinRead a file (path string); yields its text.
write data to pathoutWrite a value to a file path.
summon name = ask "What is your name? "
proclaim "Hello, " + name

summon body = read "input.txt"
write body to "output.txt"
whisper "done"        // goes to stderr

read and write are always native (real files), in every zone.