Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
REPLServer #2
Last updated at 5:38 pm UTC on 16 January 2006
A simple interactive command line for Squeak, accessed over telnet.
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