/**
 * Main method for the SILLY Interpreter. 
 *   @author Dave Reed 
 *   @version 2/8/17
 */
public class Interpreter {
    public static MemorySpace MEMORY = new MemorySpace();
    
    /** 
     * Main method for starting the SILLY interpreter.
     */
    public static void main(String[] args) throws Exception {        
        TokenStream input = new TokenStream();
        
        while (true) {
            System.out.print(">>> ");
            Statement stmt = Statement.getStatement(input);
            //System.out.println(stmt);
            stmt.execute();
        }
    }
}
