Examples of compile()


Examples of Compilers.Compiler.compile()

        try {
            if (!Configuration.isCompiled(p.lang)) {
                return true;
            }
            Compiler c = CompilerFactory.getInstance().getCompiler(p.lang);
            c.compile(p);
            return true;
        } catch (CompilationInternalServerErrorException e) {
            comment.append(ExitCodes.getMsg(ExitCodes.INTERNAL_ERROR));
            error.append("Error while program compilation: " + e.getMessage());
            res = ExitCodes.INTERNAL_ERROR;
View Full Code Here

Examples of abstrasy.Interpreter.compile()

            return Node.createNothing();
        }
        String serial2str = new String(sbuff, "UTF-8");
        Interpreter interpreter = Interpreter.interpr_getNewChildInterpreter();
        interpreter.setSource(serial2str);
        interpreter.compile();
        return interpreter.execute();
    }

    public Node external_mutator_load_gz(Node startAt) throws Exception {
        startAt.isGoodArgsCnt(1);
View Full Code Here

Examples of anvil.doc.Doc.compile()

          code.dup();
          code.iconst(i++);
          Doc doc = type.getDocument();
          if (doc != null) {
            doc.compile(code);
          } else {
            code.aconst_null();
          }
          code.aastore();     
View Full Code Here

Examples of anvil.script.compiler.ByteCompiler.compile()

  public void compile(Smith smith)
  {
    if (_script1 != null) {
      ByteCompiler c = new ByteCompiler(smith, this);
      if (c.compile()) {
        _address.getZone().log().info("code generated: " + _descriptor);
      } else {
        _address.getZone().log().info("code generation failed: " + _descriptor);
      }
    }
View Full Code Here

Examples of anvil.script.expression.Expression.compile()

            if (expr.needLineNumbers()) {
              context.location(expr.getLocation());     
            }
            code.aload_first();
            if (_conversions == 0) {
              expr.compile(context, Expression.GET);
              code.invokevirtual(code.getPool().addMethodRef(context.TYPE_CONTEXT,
                newline ? "println" : "print" , "(Lanvil/core/Any;)V"));
            } else {
              _converters.compile(context, expr);
              code.invokevirtual(code.getPool().addMethodRef(context.TYPE_CONTEXT,
View Full Code Here

Examples of anvil.script.expression.VariableNode.compile()

      }
      FunctionStatement function = getFunctionStatement();
      if (_autoreturn && function != null) {
        VariableNode var = function.getReturnVariable();
        if (var != null) {
          var.compile(context, _expression);
        } else {
          _expression.compile(context, Expression.GET);
        }
      } else {
        _expression.compile(context, Expression.GET);
View Full Code Here

Examples of br.ufal.ic.joint.module.ontology.operations.OntologyCompiler.compile()

        ontologias.add(o5);
        ontologias.add(o6);
        ontologias.add(o7);
        String jar = ".\\lib\\ontoApp.jar";
        OntologyCompiler compiler = new OntologyCompiler(jar, ontologias);
        compiler.compile();
    }

}
View Full Code Here

Examples of ceylon.modules.api.compiler.CompilerAdapterFactory.compile()

     * @throws IOException for any I/O error
     */
    protected synchronized File getClassFile() throws IOException {
        if (classFile == null) {
            CompilerAdapterFactory factory = CompilerAdapterFactory.getInstance();
            classFile = factory.compile(sourceFile, name, classesRoot);
        }
        return classFile;
    }

    public String getName() {
View Full Code Here

Examples of ch.grengine.code.Compiler.compile()

            code = stateNow.cache.get(source);
            if (code != null && code.getLastModifiedAtCompileTime() == source.getLastModified()) {
                return code;
            }
            Compiler compiler = compilerFactory.newCompiler(stateNow.parent);
            code = (SingleSourceCode)compiler.compile(SourcesUtil.sourceToSources(source, compilerFactory));
            stateNow.cache.put(source, code);
            return code;
        }
    }
   
View Full Code Here

Examples of ch.mtSystems.jnc.model.NativeCompiler.compile()

    {
      public void run()
      {
        try
        {
          if(jc.compile()) syncLog("\n\ndone", d);
          else             syncLog("\n\nfailed...", d);
        } catch(Exception ex)
        {
          ex.printStackTrace();
          syncLog("\n\nfailed:\n", d);
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.