|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.Session
org.millscript.millscript.Interactive
public class Interactive
This class is used to start an interactive MillScript session.
| Field Summary |
|---|
| Fields inherited from class org.millscript.millscript.Session |
|---|
config, engine, state |
| Constructor Summary | |
|---|---|
Interactive()
Constructs a new interactive session object. |
|
| Method Summary | |
|---|---|
void |
compile(java.lang.String origin,
java.io.Reader r)
Compiles code read from the specified reader, with the specified origin message. |
static void |
main(java.lang.String[] args)
Runs an interactive session first compiling and executing the specified MillScript files. |
| Methods inherited from class org.millscript.millscript.Session |
|---|
compile, compile, compile, printStatistics, summarizeResults |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Interactive()
| Method Detail |
|---|
public void compile(java.lang.String origin,
java.io.Reader r)
Session
compile in class Sessionorigin - the origin message for any problems.r - the reader to read code from.Session.compile(java.lang.String, java.io.Reader)public static void main(java.lang.String[] args)
args - array of String arguments, treated as files to compile and
execute before starting an interactive session
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||