Quoting MauricioFernández <[EMAIL PROTECTED]>: > Have you seen the following? > > EBNF corresponding to Ruby 1.4 > http://www.outerbody.com/ruby/ruby-man-1.4/yacc.html > > The same with some changes towards Ruby 1.6 > http://www.ruby-lang.org/ja/man/?cmd=view;name=%B5%BF%BB%F7BNF%A4%CB%A4%E8%A4%EBRuby%A4%CE%CA%B8%CB%A1
Unfortunately, now that I've had time to read it, it looks plainly wrong in some places (c.f. the definition of HERE_DOC, for example, or the lack of attention to operator precedence). So we've still got our work cut out for us. (Guess I'm not shocked though. Stuff like HEREDOCs isn't really expressable in EBNF anyway.) That doesn't mean it's useless, though. It's actually better than anything else I've personally seen so far. Good work, fellow Grammarian. Please continue digging; you're turning up some great stuff I never knew we had available. -mental _______________________________________________ Rubygrammar-grammarians mailing list [EMAIL PROTECTED] http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians
