Package org.asturlinux.frade.currin.program

Examples of org.asturlinux.frade.currin.program.Program.debug()


    public void testHelloWorldParse()
  throws ParsingException {
 
      Program p = Main.parseFile("prog-test/holamundo.cam");
     
      p.debug();
    }
}
View Full Code Here


  BasicConfigurator.configure();
  try {
      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");
View Full Code Here

      Logger log = Logger.getLogger("RuntimeLogger");
      log.debug("================================================");
      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");
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.