kawa
Class repl
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure0or1
kawa.repl
- All Implemented Interfaces:
- Named
public class repl
- extends Procedure0or1
Start a "Read-Eval-Print-Loop" for the Kawa Scheme evaluator.
Methods inherited from class gnu.mapping.Procedure |
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getReturnType, getSetter, getSourceLocation, isSideEffectFree, match0, match1, match2, match3, match4, matchN, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
compilationTopname
public static java.lang.String compilationTopname
homeDirectory
public static java.lang.String homeDirectory
noConsole
public static boolean noConsole
repl
public repl(Language language)
apply0
public java.lang.Object apply0()
- Specified by:
apply0
in class Procedure0or1
apply1
public java.lang.Object apply1(java.lang.Object env)
- Specified by:
apply1
in class Procedure0or1
printOption
public static void printOption(java.io.PrintStream out,
java.lang.String option,
java.lang.String doc)
printOptions
public static void printOptions(java.io.PrintStream out)
setArgs
public static void setArgs(java.lang.String[] args,
int arg_start)
getLanguageFromFilenameExtension
public static void getLanguageFromFilenameExtension(java.lang.String name)
getLanguage
public static void getLanguage()
processArgs
public static int processArgs(java.lang.String[] args,
int iArg,
int maxArg)
compileFiles
public static void compileFiles(java.lang.String[] args,
int iArg,
int maxArg)
main
public static void main(java.lang.String[] args)
shouldUseGuiConsole
public static boolean shouldUseGuiConsole()