[grammarians] Ruby grammar for v3

Martin Traverso mtraverso at gmail.com
Mon Dec 26 15:54:48 EST 2005


Hi all!

Here's my first attempt at putting together a grammar for Ruby. It is still
fairly incomplete, but I thought it'd be more beneficial to let it loose and
have other people hacking on it, too. It requires ANTLR v3.

Things that still needs to be done:
- method calls
- case statements
- heredocs
- %q and double quoted strings
- build AST
- fix the existing indeterminisms
- lots of other stuff I have missed

I'm making it available under the Ruby license.

Regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rubygrammar-grammarians/attachments/20051226/9594907e/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby.g
Type: application/octet-stream
Size: 5442 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rubygrammar-grammarians/attachments/20051226/9594907e/ruby-0001.obj


More information about the Rubygrammar-grammarians mailing list