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
Connected to yukon (
Escape character is '^]'.
Password: foo
>>> 1+1
>>> 1+
^^^ Argument expected
>>> 3 timesRepeat: [Transcript show: 'foo']
>>> 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