News for hackers. Stuff that matters.
Re:How to Parse Ruby by masklinn on Thursday February 07, 2013 @01:13PM (#5183608)
> If anyone's interested, this definition of Ruby 1.4 is pretty good

The question is whether what it defines corresponds to Ruby. It's easy enough to define an unambiguous subset of the language and declare you're done, but it's irrelevant if the grammar does not match what the language actually is.

Re:How to Parse Ruby by joeroot on Thursday February 07, 2013 @07:21PM (#5185435)
You'll never reduce Ruby to a pure grammar, there are too many ambiguous cases - my point was simply that it covers a subset which incorporates almost all common idioms. As far as I am aware it is one of the few openly available, non-trivial attempts to do so and thought it might be of interest.