From: "Berger, Daniel" Date: 2003-09-24T06:46:55+09:00 Subject: Re: Is Rockit abandoned? > -----Original Message----- > From: Robert Feldt [mailto:feldt@ce.chalmers.se] > Sent: Tuesday, September 23, 2003 3:38 PM > To: ruby-talk@ruby-lang.org > Subject: Re: Is Rockit abandoned? > > > Berger, Daniel skrev den Wed, 24 Sep 2003 > 00:39:46 +0900: > > > And please, please, please add a tutorial for parser generator > > dummies, like me. :) > > > Its like regexps but more powerful. How hard can it be? :) > > Seriously, regexps really are parser generators that are > integrated into the language. The languages you can parse > with them are somewhat restricted but more importantly they > are kind of hard to use when you need to parse larger, more > complex languages with lots of different cases. Parser > generators tries to address that situation. So its > regexps-on-steriods or something like that. > > We'll see about a tutorial but I can promise lots of > examples. Learning-by-example is supposed to be good so... ;) > > Regards, > > Robert Thanks. I also kinda suck at grammars, though I've gotten better at it. I meant to mention that before. I guess what I'm looking for is something like: * here is a source file we must parse where regular expressions would be too big a pain (or impossible) * here is a grammar * here is a parser * here's how it all works together Regards, Dan