Package org.asturlinux.frade.currin.program.type

Examples of org.asturlinux.frade.currin.program.type.CurrinRef.evaluate()


  logger.debug("Primitive 62 62 ");

  CurrinRef action1 = (CurrinRef)_param_refs.get(0);
  //evaluateSubExpr(m, action1);
  while (!action1.inHNF() ) {
      action1.evaluate(m);
  }
  CurrinRef action2 = (CurrinRef)_param_refs.get(1);
  //evaluateSubExpr(m, action2);
  while (!action2.inHNF() ) {
      action2.evaluate(m);
View Full Code Here


      action1.evaluate(m);
  }
  CurrinRef action2 = (CurrinRef)_param_refs.get(1);
  //evaluateSubExpr(m, action2);
  while (!action2.inHNF() ) {
      action2.evaluate(m);
  }

  m.setResult( new CurrinRef(new CurrinConstr("EMPTY", new Vector())));
    }
View Full Code Here

  CurrinRef first_op = (CurrinRef)_param_refs.get(0);
  CurrinRef second_op = (CurrinRef)_param_refs.get(1);

  first_op.evaluate(m);
  second_op.evaluate(m);

  int a = ((CurrinInt)first_op.getReference()).getValue();
  int b = ((CurrinInt)second_op.getReference()).getValue();

  m.setResult( new CurrinRef(new CurrinInt(a - b)));
View Full Code Here

  logger.debug("Running Enter instruction");
  Memory mem = m.getContextStack().currentContext().getMemory();
  CurrinRef cr = mem.getElementAt(_what);
  if ( cr == null )
      logger.debug("Chungo");
  cr.evaluate(m);
  m.setResult(cr);

    }

    public void debug() {
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.