Happy !

Guille / Roll

Project infos

License MIT
Tags repl, pharo
Creation date 2015-04-21
Website

Monticello registration

About Roll

Roll is a simple repl for Pharo.

You can start it by using

RORepl default start

This will create a new pharo process to handle the repl safely. Going to the console you'll see a welcome and a prompt.

 ===================================================================
Hi! Here ROLL, your Pharo REPL. Type expressions in me. I will evaluate them and print the result. In ROLL you can
  - store local variables to the ROLL execution context (like a workspace).
  - Use multiline expressions (if you don't finish your expression with a dot).

  Enjoy.
  Me (ROLL)
 ===================================================================
 Pharo >>

You can then issue commands/expressions to the repl. Interesting thing, ""self"" is the repl object and you can send him messages:

 Pharo >> self help.
  quit: quits the command line. In a command line specific deployment it quits the system.
  help: prints this help

Also, take into account that all commands should be finished by a dot (.). If not, Roll will think you are issuing a command/expression in a multiline fashion (and tell you so with a star*).

 Pharo >> self help
*Pharo >> .
  quit: quits the command line. In a command line specific deployment it quits the system.
  help: prints this help