Hello,

I am getting started with ANTLR and I am really impressed.
Congratulations and thanks a lot for the amazing work, you make
designing and experimenting with a language a lot of fun!

Ruby is my programming language of choice and ideally, for the project
I am currently working on, I would love to:

 * Use ANTLR to generate a (Ruby) parser that would expose the AST
 * Walk the AST with my own code (I have to walk the tree in a couple of ways)

Nevertheless it seems that the Ruby runtime packaged with ANTLR 3.0.1
does not support AST output. Is that correct?

If yes, is anybody already working on it?

If I am out of luck, I might be crazy enough to try to implement it
myself. Is there any public VCS repository for ANTLR that I could base
my changes on? Any documentation/pointer/example/gotcha I should be
aware of? At this point all I know is
http://www.antlr.org/wiki/display/ANTLR3/How+to+build+an+ANTLR+code+generation+target
and a first glance at the AST.stg template from the Java directory...

Thanks in advance,
- Philippe Hanrigou
  http://ph7spot.com
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org:8080/mailman/listinfo/antlr-dev

Reply via email to