Esempio n. 1
0
 public static RAny eval(ASTNode expr) {
   try {
     return (RAny) truffleize.createLazyRootTree(expr).execute(null); // null means top-level
   } catch (RError e) {
     if (DEBUG) {
       e.printStackTrace();
     }
     error(e); // throws an error
   }
   throw new Error("Never reached");
 }
Esempio n. 2
0
 public static RNode createNode(ASTNode expr) {
   return truffleize.createTree(expr);
 }