public class REPL
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
REPL.SchemeSocketThread |
| Modifier and Type | Field and Description |
|---|---|
SchemeThread |
primordialThread |
| Constructor and Description |
|---|
REPL(DynamicEnvironment dynenv,
Procedure repl)
Construct a new REPL which will invoke the given
Scheme procedure as the REPL in the provided dynamic environment.
|
REPL(SchemeThread primordialThread) |
| Modifier and Type | Method and Description |
|---|---|
static Procedure |
getCliProc(AppContext ctx) |
void |
go() |
static void |
listen(AppContext ctx,
java.net.ServerSocket ssocket) |
static void |
main(java.lang.String[] argv) |
static java.util.Map |
parseOpts(java.lang.String[] args) |
static void |
printUsage() |
public SchemeThread primordialThread
public REPL(DynamicEnvironment dynenv, Procedure repl)
dynenv - The dynamic environment for the REPLrepl - The procedural entry-point of the REPLpublic REPL(SchemeThread primordialThread)
public void go()
public static Procedure getCliProc(AppContext ctx)
public static void main(java.lang.String[] argv)
throws java.lang.Exception
java.lang.Exceptionpublic static void listen(AppContext ctx, java.net.ServerSocket ssocket) throws java.io.IOException
java.io.IOExceptionpublic static void printUsage()
public static java.util.Map parseOpts(java.lang.String[] args)