[ANN] Syntax 0.7.0

K

Kent Sibilev

ripper is part of Ruby 1.9 which you can get from the cvs HEAD branch.

Cheers,
Kent.

Jamis Buck said:
Odd, doesn't it come bundled with Ruby already?

Just doing require 'ripper' worked for me. (I'm on the win32
one-click installer.)

I'm on MacOSX and built Ruby myself, and there is no 'ripper' lib...

ruby -v --> ruby 1.8.2 (2004-12-25) [powerpc-darwin7.8.0]

- Jamis
 
P

Patrick Hurley

There is also a version included in the 1-Click windows install;
however, it is hiding under the freeride install.

Patrick


ripper is part of Ruby 1.9 which you can get from the cvs HEAD branch.

Cheers,
Kent.

Jamis Buck said:
Sam Roberts wrote:

Quoting (e-mail address removed), on Fri, Mar 25, 2005 at 02:34:48AM +0900:
Florian Gross wrote:

Ripper basically is Ruby's integrated Ruby parser. It will invoke
callbacks for every kind of construct it encounters.

This code snippet ought to get you started with it:

Oh, and you need to do require 'ripper' before you can use it,
of course.
There is no files released, and the cvs is not building for me, I'll
have to try later.

Odd, doesn't it come bundled with Ruby already?

Just doing require 'ripper' worked for me. (I'm on the win32
one-click installer.)

I'm on MacOSX and built Ruby myself, and there is no 'ripper' lib...

ruby -v --> ruby 1.8.2 (2004-12-25) [powerpc-darwin7.8.0]

- Jamis
 
G

gabriele renzi

Patrick Hurley ha scritto:
There is also a version included in the 1-Click windows install;
however, it is hiding under the freeride install.

Patrick

but the problem of that ripper is that it is based on a very old (and
IIRC buggy) code, while the one in cvs head is kept in sync with current
ruby.

PS
guys, please try to avoid top-posting..

A: because it messes up reading
Q: why?
A: no you should avoid it
Q: should I use top-posting when replying?

PPS
please consider this a kind suggestion, I'm always afraid to sound rude :/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,166
Messages
2,570,901
Members
47,442
Latest member
KevinLocki

Latest Threads

Top