harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jin Mingjian" <jin....@gmail.com>
Subject Re: What should we choose for Harmony: JavaCC or AntLR? Was: Google Summer of Code and Harmony
Date Sun, 30 Mar 2008 11:39:35 GMT
How about LPG?(LALR Parser Generator[1])

LPG is ANTLR/JavaCC like tools, it has been uesd for the former of
JDT, CDT, MDT.OCL, WTP projects et. al. in Eclipse platform. So do not
doubt its capability.

The license is EPL. It's just the friend of  APL^_^ LPG has a runtime
dependence lib, but you can modify and embed the runtime into your
code for the EPL license.

In fact, all parser generators are similar. The baisc part of parser
is trivial. But, of course, to making the best use of parser
generator, you should be familiar with the  compiler principle
relatives first. A tool is just a tool.

lastly, there is a initial editor support in eclipse platform now, if
you like to try, see imp project[2].


[1] http://sourceforge.net/projects/lpg/
[2] http://www.eclipse.org/imp/

Mime
View raw message