ANTLR and Eclipse (or any decent IDE)

筅森魡賤 提交于 2019-12-03 13:10:30

Antlr4 plugin for Eclipse is here:

https://github.com/jknack/antlr4ide

  • ANTLRWorks 2 uses many non-public interfaces from NetBeans, which means it will always be bound to a particular version. The standalone download will always work because it bundles the dependencies itself.

  • The standalone build of ANTLRWorks 2.1 is available. This build includes support for ANTLR 4.1.

  • A new plugin build of ANTLRWorks 2.1 will be available once NetBeans 7.4 is released.

  • Moving forward, the code for ANTLRWorks post-2.1 is open-source under an LGPL license.

I think you have downloaded Netbeans 7.3.1. Try download 7.3 from https://netbeans.org/downloads/7.3/ and install the ANTLRworks plugin there. (Link to the ANTLRworks Update Center: http://tunnelvisionlabs.com/downloads/nbupdates/nb73/aw2/updates.xml ).

Note that ANTLRworks v2 contains ANTLR v4.0, which is not the current version of ANTLR (4.1). So also download ANTLR v4.0 from the ANTLR download folder (The antlr-4.0-complete.jar file) and use it as library for compilation.

Now you can use nearly all things you wanted.

ANTLRv3IDE was opensourced. It should be compile-able for Juno. For stringtemplate (ST4) look at the Hastee plugin. It supports some of ST4 constructs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!