From: shiwei zhang Date: 2007-07-27T17:28:49+09:00 Subject: How to write a ruby compiler using Java??? Hi, 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. Many Thanks. Best Rgds, Shiwei