Package org.asturlinux.frade.currin.machine

Examples of org.asturlinux.frade.currin.machine.Machine.evaluate()


      Logger log = Logger.getLogger("Main");
      log.debug("En la ejecucion de Main");
      Program _p = parseFile(file);
      _p.debug();
      Machine _m = new Machine(_p);
            _m.evaluate(function);
      System.out.println(_m.printResult());
  } catch ( ParsingException pe ) {
      System.out.println("ERROR parseando el fichero");
  } catch ( InterpreterException ie) {
      System.out.println("ERROR ejecutando funcion");
View Full Code Here


      log.debug("  File: " + file + " function: " + function);
      log.debug("================================================");
      Program _p = parseFile(file);
      _p.debug();
      Machine _m = new Machine(_p);
            _m.evaluate(function);
      return _m.printResult();
  } catch ( ParsingException pe ) {
      System.out.println("ERROR parseando el fichero");
  } catch ( InterpreterException ie) {
      System.out.println("ERROR ejecutando funcion");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.