[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
[console] How to use the StLoop utility?
The Console platform contribution includes a smalltalk file named "StLoop.st".
This file implements a smalltalk evaluation loop.
It read the standard input line per line and print to standard output the result of evaluating the line as smalltalk code.
While in the loop you can enter smalltalk code (in one line), following the "?" prompt and press Enter to evaluate the expression you entered.
After evaluation, the result will be shown (or the exception thrown in case of failure).