Marnen Laibow-Koser wrote:
> Rubinius, perhaps?  Or make your own with Treetop?

I'm pretty familiar with CFGs and tools like yacc, or at least, I was 
some years ago. What bothers me about ruby syntax is that there are a 
number of aspects that I'm not sure how to map to a CFG, for example

  puts (a).abs

being different from

  puts(a).abs

... or,

  a = b
  + c

being treated differently to

  a = b +
  c

So basically I was looking to steal ideas how to deal with these sorts 
of cases.

Indeed, an existing grammar for ruby would be a good starting point, and 
goggling for this I see there's a project "rubygrammar", with Charles 
Nutter as one of the admins. Anyone know what state this is in? I see 61 
commits in the repo, nothing in the last three years, and the grammar 
looks too simple to be true :-)
-- 
Posted via http://www.ruby-forum.com/.