|
|
Class: ReadEvalPrintLoop
Object
|
+--ReadEvalPrintLoop
- Package:
- stx:libbasic
- Category:
- System-Support
- Version:
- rev:
1.26
date: 2007/07/04 16:00:58
- user: cg
- file: ReadEvalPrintLoop.st directory: libbasic
- module: stx stc-classLibrary: libbasic
A simple read-eval-print loop for non-GUI or stscript operation.
A line starting with '?' shows the usage message.
Lines starting with '#' are directives:
#exit - exit the rep-loop
accessing
-
compiler: something
-
-
doChunkFormat
-
-
doChunkFormat: something
-
-
error: something
-
-
errorStream
-
-
input: something
-
-
inputStream
-
-
output: something
-
-
outputStream
-
-
prompt: something
-
compiler interface-error handling
-
correctableError: message position: pos1 to: pos2 from: aCompiler
-
compiler notifies us of an error - ignore it
-
correctableSelectorWarning: aString position: relPos to: relEndPos from: aCompiler
-
compiler notifies us of a warning - ignore it
-
error: aString position: relPos to: relEndPos from: aCompiler
-
compiler notifies us of a warning - ignore it
-
unusedVariableWarning: aString position: relPos to: relEndPos from: aCompiler
-
compiler notifies us of a warning - ignore it
-
warning: aString position: relPos to: relEndPos from: aCompiler
-
compiler notifies us of a warning - ignore it
directives
-
cmd_clear: lineStream
-
-
cmd_exit: lineStream
-
-
cmd_help: lineStream
-
-
cmd_set: lineStream
-
-
cmd_setOrClear: lineStream to: aBoolean
-
-
cmd_show: lineStream
-
-
cmd_use: lineStream
-
-
directive: line
-
evaluation
-
readEvalPrintLoop
-
simple read-eval-print loop for non-graphical Minitalk.
If the chunkFormat-argument is true, chunks are read.
Otherwise, lines up to an empty line (or EOF) are read.
|