Skip to content

Instantly share code, notes, and snippets.

@vito
Created November 6, 2010 03:12
Show Gist options
  • Save vito/665158 to your computer and use it in GitHub Desktop.
Save vito/665158 to your computer and use it in GitHub Desktop.
pretty errors
atomo $ rlwrap atomo repl.atomo
[0]> 1 +
------------------------------------------------------------------------------
*** parse error:
*** "<input>" (line 1, column 3):
*** unexpected '+'
*** expecting end of input
restarts:
0: @retry
1: @abort
[!]> :1
[1]> use: "therie"
<object (delegates to 1 object)>
*nesting-level* := <object>
stats := <object>
indentation := ' ' repeat: (*nesting-level* _? * 2)
[2]> use: "therie" version: 2
------------------------------------------------------------------------------
*** package 'therie' with version constraint { == 2 } required, but an
*** incompatible version has already been loaded
restarts:
0: @retry
1: @abort
[!]> :1
[3]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment