From: Scott Weeks Date: 2006-01-21T19:33:01+09:00 Subject: Re: Ruby Parser Combinator > > Take a look here: > > http://rubyforge.org/projects/grammar/ > Nice! It's a bit different since it seems to be a classic style parser library and not quite in the same vein but still very cool. I especially like how you overrode | and + to make expressing production rules more natural ... Hey Christian, I couldn't find the code for your parser combinator in that blog entry, could you post a link? I'd love to look at your implementation because it seems like you've done it in a more elegant way (at least from the examples you gave). Cheers, Scott On 21/01/2006, at 3:01 AM, Christian Neukirchen wrote: > Scott Weeks writes: > >> Hello all, >> >> this is my first post on the ruby-talk list. I've been using ruby for >> a while though :-) >> >> Anyway, just horsing around I tried my hand at writing a ruby parser >> combinator. It (along with an explanation) is at >> >> http://twelvestone.com/forum_thread/view/29249 >> >> (the explanation and link to the gem and source tar are most of the >> way down the page (the post with the catapult in it)). >> >> Anyway I'm still a bit of a noob when it comes to fp and parsing >> stuffs so if anyone wants to correct me I'd be grateful for the help >> :) > > You may be interested in > http://chneukirchen.org/blog/archive/2005/10/the-rightyear-parsing- > library.html > >> Cheers, >> Scott > -- > Christian Neukirchen http://chneukirchen.org > > >