From: Bob Calco Date: 2002-11-07T21:31:13+09:00 Subject: Re: bRuby? (Yet another Ruby parser) %% Are there other Ruby parsers out there? I am working on a parser - which I'm dubbing "Parse-R" - that will run as a standalone shared library and that is _not_ limited to being used as a Ruby Extension. In fact, direct hooks into the Ruby runtime are not a feature of my parser, on purpose; what I'm aiming for a is a generic Ruby parser that allows you to supply the necessary low-level hooks into the parser to do something interesting. The goal is to create a standard Ruby parser that can be used as the front end to many different tools - the interpreter, a source browser, a once-and-future byte-code compiler, etc. I started working in earnest again on it yesterday, as a matter of fact, and I hope to have a first release very soon. I know I have been saying this for a while... but I renewed my efforts to work on it yesterday (my birthday, not coincidentally), after having endured many challenges to spending any significant time on it. One of those have gone away, and measurable progress is expected in the near-term, like within a week or two. I have been conspicuously long on promises and short on results for this and other Ruby related projects to which I have long wanted to contribute. That will change, now that my situation has changed. Sincerely, Bob %% -----Original Message----- %% From: Phil Tomson [mailto:ptkwt@shell1.aracnet.com] %% Sent: Thursday, November 07, 2002 3:28 AM %% To: ruby-talk ML %% Subject: Re: bRuby? (Yet another Ruby parser) %% %% %% In article <20021107151904lBE13F@ohmsha.co.jp>, %% hmorita wrote: %% >In "Re: bRuby?" %% > on Fri, 1 Nov 2002 13:06:55 +0900 %% > Matt Gushee wrote: %% > %% >| On Fri, Nov 01, 2002 at 11:40:51AM +0900, Austin Ziegler wrote: %% >| > Can anyone explain to me what Yuya's package bRuby %% >| > is about? %% >| %% >| Well, since none of our native Japanese speakers have responded yet, %% >| I'll attempt a superficial explanation. If you can read %% Japanese at all, %% >| you may have as good an idea as I do. But anyway: %% >| %% >| "bRuby is an extension library for dumping or un-dumping the %% >| internal tree structure of a Ruby interpreter." %% > %% >Right. It seems that it is a library for %% >dumping/un-dumping ruby's internal syntax tree. %% %% Yet another Ruby parser.... Let's see, there's: %% Ripper: http://i.loveruby.net/archive/ripper/ %% Ruth: http://sourceforge.net/project/showfiles.php?group_id=26000 %% %% and now bRuby. %% %% All three of these seem to modify Matz's Ruby Yacc file and create an %% extension from the resulting c file. %% %% %% Phil %% %% %%