[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ripper (Ruby Language Parser) to be imported in the standard library?

surrender_it

11/21/2003 3:08:00 PM

Hi gurus and nubys,

I just read the blog from Jim Weirich about RC3 and discovered that
people talked about the need for a ruby parser usable from ruby.
Now I even remember that people pointed out the need for this, and
for the ability to access the built-in parsed representation a few
times.

I wonder if there is will to provide such a functionality in newer
release
(i.e. 1.9 or even better 1.8.2 ;).

I think the need to use a parser/lexer for the ruby syntax is quite
important for everyone taht wants to write tools to enhance the
programming experience

(syntax highlight for editors, refactoring stuff, possibly
rubyToWhateverOtherLang compilers, code beautyfiers, even IRB lexer
sometimes goes out of sync with the change to the syntax..)

Some info ?
5 Answers

Minero Aoki

11/22/2003 1:59:00 AM

0

Richard Kilmer

11/22/2003 2:36:00 AM

0

Wonderful Minero!

I just checked it out, built it (and turned it into a Ruby gem ;-)

Now its time to install this in FreeRIDE.

-rich

On Nov 21, 2003, at 8:59 PM, Minero Aoki wrote:

> FYI, I'm developping newer version of Ripper, Ruby Parser Extention.
> Now almost all works are done. Notable change is:
>
> * Ruby 1.8 syntax support.
> * Ruby's parse.y compatible. (Just #undef RIPPER)
> * NO backward compatibility :-


Gavin Sinclair

11/22/2003 6:33:00 AM

0

On Saturday, November 22, 2003, 1:35:30 PM, Richard wrote:

> Wonderful Minero!

> I just checked it out, built it (and turned it into a Ruby gem ;-)

Are you a (semi-)official gatekeeper for Ruby gems? That'd be nice,
as least while we're still in the groundwork stage.

Gavin



Martin DeMello

11/22/2003 7:41:00 AM

0

Richard Kilmer <rich@infoether.com> wrote:
> Wonderful Minero!
>
> I just checked it out, built it (and turned it into a Ruby gem ;-)

Is that still active? Nice to know! What's the current status, and is
there a guide anywhere on porting existing packages?

martin

gabriele renzi

11/22/2003 3:22:00 PM

0

il Sat, 22 Nov 2003 10:59:24 +0900, Minero Aoki <aamine@loveruby.net>
ha scritto::

>Hi,
>

>agreed.
>
>FYI, I'm developping newer version of Ripper, Ruby Parser Extention.
>Now almost all works are done. Notable change is:
>
> * Ruby 1.8 syntax support.
> * Ruby's parse.y compatible. (Just #undef RIPPER)
> * NO backward compatibility :-
hey, we can accept the #3 fact and have a party for the other two.
I have to ask questions more often :)


>If you are interested in the latest ripper, check it out from
>my CVS repository:
>
> % cvs -d :pserver:anonymous@cvs.loveruby.net:/src co ripper

still, I think this should go in the standard library CVS.. someone
would start a poll please? ;)

thank you very much for this