Antlr (or other LR) and Ruby

Here is what you want:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/138450

When I wrote this, I was thinking about ANTLR. Personally, I
think this is better than anything else out there because you
write the grammar in the same language as the target language
(i.e. Ruby) with NO translation needed - it is Ruby.

I'm still working on it now. I am changing the name to
"Grammar" because there is a module in Rubyforge called Syntax.
I'm also making a general external iterator API called Cursor.
I'll be putting both on rubyforge.

ยทยทยท

--- cdf <nospam@nospam.nospam> wrote:

Hi,

A while ago I asked if it was possible to generate Ruby
parsers for
Antlr defined trees. Since no answer was received I guess
it's not
currently possible.

Does anyone use Ruby in an application with a custom language
(say, as
an interface for user queries)? If so, what do you use to
generate the
language parser?

Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around