System.err.println(" -l user@host email log to user@host");
System.err.println(" -l host:port emit log to TCP socket");
System.err.println(" -l <file> write log to a file on disk");
- System.err.println(" -a check assertions");
+ //System.err.println(" -a check assertions");
System.err.println(" -w <window-id> reserved for libibex");
System.err.println(" -p dump profiling information [not yet supported]");
Runtime.getRuntime().exit(-1);
int startargs = 0;
while (true) {
if (startargs > args.length - 1) printUsage();
- else if (args[startargs].equals("-a")) JS.checkAssertions = true;
+ // FEATURE: This should be enabled at the parser level - there shouldn't even be an assert bytecode
+ /*else if (args[startargs].equals("-a")) JS.checkAssertions = true;*/
else if (args[startargs].equals("-l")) {
startargs++;
StringTokenizer opts = new StringTokenizer(args[startargs], ",");
startargs++;
}
- Platform.forceLoad();
+ org.ibex.plat.Platform.forceLoad();
if (Log.on) for(int i=0; i<args.length; i++) Log.info(Main.class, "argument " + i + ": " + args[i]);
initialTemplate = args.length > startargs + 1 ? args[startargs + 1] : "main";
final Ibex ibex = new Ibex(rr);
org.ibex.graphics.Surface.scarImage =
- Picture.load((Stream)Main.builtin.get("org/ibex/builtin/scar.png"),
+ Picture.load(Main.builtin.get(JS.S("org/ibex/core/builtin/scar.png")),
new Task() { public void perform() throws JSExn, UnknownHostException {
if (Log.on) Log.info(Main.class, "invoking initial template");
ibex.resolveString(startupTemplate, false).call(new Box(), null, null, null, 1);