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

Attachment: ruby.g
Description: Binary data

_______________________________________________
Rubygrammar-grammarians mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians

Reply via email to