sisc
Class REPL
java.lang.Object
sisc.REPL
public class REPL
- extends java.lang.Object
Entry point for the SISC Read Eval Print Loop. Responsible for
command line parsing and invoking the REPL Scheme code
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
primordialThread
public SchemeThread primordialThread
REPL
public REPL(DynamicEnvironment dynenv,
Procedure repl)
- Construct a new REPL which will invoke the given
Scheme procedure as the REPL in the provided dynamic environment.
- Parameters:
dynenv
- The dynamic environment for the REPLrepl
- The procedural entry-point of the REPL
REPL
public REPL(SchemeThread primordialThread)
go
public void go()
getCliProc
public static Procedure getCliProc(AppContext ctx)
main
public static void main(java.lang.String[] argv)
throws java.lang.Exception
- Throws:
java.lang.Exception
listen
public static void listen(AppContext ctx,
java.net.ServerSocket ssocket)
throws java.io.IOException
- Throws:
java.io.IOException
printUsage
public static void printUsage()
parseOpts
public static java.util.Map parseOpts(java.lang.String[] args)