next up previous contents index
Next: SaM Instruction Set Architecture Up: SaM Text User Interface Previous: SaM Text User Interface   Contents   Index

SamText - Text UI

SamText is a small console front-end designed to execute a program, and report its return value. This front-end is great for quick testing, or grading of student programs. This front-end also allows a user to type a program at the console and execute it without saving. It also allows piping a program in as the input.


java ui.SamText <filename> <options>

If the options are omitted, the program runs without limits. If the filename is omitted, is used for input
+tl <integer>: Time limit in miliseconds
+il <integer>: Instruction limit
-load <class>: Loads a new instruction from the provided class

David Levitan 2006-02-12