From: Robert Klemme Date: 2007-07-27T17:39:52+09:00 Subject: Re: How to write a ruby compiler using Java??? 2007/7/27, shiwei zhang : > I am using Java to write a Ruby compiler. I build up the editor by > Java SWing. > Now the tough task for me is syntax parser. Does someone have some > suggestions about how to check the validity of ruby codes in the editor > and how to mark the grammar-incompliant points? Are there some plugins I > can make use of, or do I need to parse the grammar by myself? If I want > to parse the grammar by myself, where is the complete grammar definition > for ruby lang? E.G., like C99(ISO 9899:1999) for C lang. Seems there is > not a complete grammar definition for ruby lang at http://www.ruby-lang.org. Why not join http://jruby.codehaus.org/? There you might also find answers to your questions. Kind regards robert