Thanks for all your answers. Jin, thanks for the information about LPG. I'll try to find necessary information to make a decision on what parser generator is more suitable for RTF task. And of course I'll improve my knowledge about compilers.
Thanks again. 2008/3/30, Jin Mingjian <[EMAIL PROTECTED]>: > > 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/ > -- Thanks, Aleksey
