[antlr-interest] Ruby Target

Wei-ju Wu weiju.wu at gmail.com
Tue Sep 16 12:08:52 PDT 2008


Hi,

the code generator for the Ruby target should be part of the distribution if
you
download the package for version 3.0.1.
You just need to provide 'Ruby' as the target language like this:

options { language = Ruby; }

Wei-ju

On Tue, Sep 16, 2008 at 4:15 AM, Arcadio Rubio García <
arcadiorubiogarcia at gmail.com> wrote:

> Hi everyone,
>
> I'm in the process of migrating a YACC grammar to ANTLR and everything
> is going fine so far.
>
> However, since the rest of the project is written in Ruby, I'd like to
> generate the ANTLR code in Ruby, if possible. Currently I'm generating
> Java and using JRuby to circumvent this limitation.
>
> I've read the wiki page related to the Ruby Target (
> http://www.antlr.org/wiki/display/ANTLR3/Antlr3RubyTarget
> ), and the blog of its developer (
> http://split-s.blogspot.com/2005/12/antlr-for-ruby.html
> ). The development seems to have halted in version 3.0b4. This version
> could suit my needs as I'm only using basic Lexer and Parser
> generation. No tree parsers.
>
> Does anyone know where to get this version? It's not listed in the
> Download directory (http://www.antlr.org/download/) and I couldn't
> find it in the development repository.
>
> Thanks in advance.
>
> - Arcadio
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080916/a8ec35d2/attachment.html 


More information about the antlr-interest mailing list