From: Lothar Scholz Date: 2005-05-11T05:16:34+09:00 Subject: Re: Does any Ruby parser exist ? Hello Florian, >> Does any Ruby parser existother then the internal one inside the ruby >> interpreter. I found a few projects but most of them seems to be dead. >> >> bRuby (not really a parser) and Ripper are old and not touched since >> 2003. FG> Ripper has been merged into 1.9 and is part of the windows one-click FG> installer -- its grammar rules will thus always be up-to-date in the future. How compatible are these rules with 1.8 ? FG> I think that Ripper will do what you want, but I think you will have to FG> build the tree by yourself. Okay i will see if i can use Ripper, as i must add it to a running 1.8.2 ruby system. FG> That aside there is also a few lexers like the IRB one and the one used FG> by the syntax library that does Ruby code highlighting. They are all ugly hacks that are just doing a fraction of the ruby grammer. Good for there special purpose but i need something different. And none of them can give me line/column positions of an indentifier. -- Best regards, emailto: scholz at scriptolutions dot com Lothar Scholz http://www.ruby-ide.com CTO Scriptolutions Ruby, PHP, Python IDE 's