Command line compiler for XTend

后端 未结 2 845
谎友^
谎友^ 2021-02-15 15:34

Hi all
I\'ve found XTend (http://xtend-lang.org) and it really sounds great! But, I can\'t see any standalone command line compiler for this language. It seems only to run un

2条回答
  •  借酒劲吻你
    2021-02-15 16:21

    It is not documented, but there is indeed a command line compiler in the Xtend code base - the same one used by the Maven plug-in (that is documented in the Xtend homepage).

    If Maven plug-in does not work for you, then you could download the standalone jar version directly from the Maven repository at http://build.eclipse.org/common/xtend/maven/org/eclipse/xtend/org.eclipse.xtend.standalone/2.3.1/ (for version 2.3.1), and execute the org.eclipse.xtend.core.compiler.batch.Main class from it.

    This class executes the xtend compiler, and usage information can be displayed (also readable from the source file).

提交回复
热议问题