Documentation
¶
Overview ¶
Package repl is for the read-eval-print-loop
Index ¶
Constants ¶
View Source
const ( InitialPrompt = "-- Type 'exit' to close the repl.\n----------\n" Prompt = ">> " )
Prompt are the characters that are displayed for the REPL
View Source
const CatBug = "" +
"CAN I HAS NO BUGZ PLEASE?!\n" +
" _ \n" +
" \\`*-. \n" +
" ) _`-. \n" +
" . : `. . \n" +
" : _ ' \\ \n" +
" ; *` _. `*-._ \n" +
" `-.-' `-. \n" +
" ; ` `. \n" +
" :. . \\ \n" +
" . \\ . : .-' . \n" +
" ' `+.; ; ' : \n" +
" : ' | ; ;-. \n" +
" ; ' : :`-: _.`* ;\n" +
"[bug] .*' / .*' ; .*`- +' `*' \n" +
" `*-* `*-* `*-*'\n"
CatBug is the "picture" displayed when an error has been detected by either the parse or the evaluator
Variables ¶
This section is empty.
Functions ¶
func PrintParserErrors ¶
PrintParserErrors simply prints the error returned by the parser and also prints the "picture" CatBug
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.