Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
REPLServer
Last updated at 1:49 am UTC on 11 March 2007
A simple interactive command line for Squeak, accessed over telnet.
Original source available from http://www.beta4.com/squeak/aubergines/source/REPL.st.
It is now maintained at the repository for SecureSqueak.

A sample session:

[avi@yukon avi]$ telnet localhost 8087
Trying 127.0.0.1...
Connected to yukon (127.0.0.1).
Escape character is '^]'.
Password: foo
>>> 1+1
2
>>> 1+
^^^ Argument expected
nil
>>> 3 timesRepeat: [Transcript show: 'foo']
foofoofoo3
>>> 1 size
Error: SmallIntegers are not indexable (1)
>>> 1 fooz
^^^^ Error: Compilation error (a REPLServer)
>>> exit

Requires Comanche (or at least ConnectionHandler and SocketStream).
Start with
REPLServer startOn: portNumber

Avi Bryant