I've used a similar type of parser and tree walker setup. After the initial curve, it actually works fairly easily.
-----Original Message----- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 9:01 PM To: POI Developers List Subject: Re: More formulotic thought So what is your recommendation? Glen Stampoultzis wrote: > Funny you should mention this. I'm working on a little open source > project at the moment that is using antlr. Works great and is well > documented. I didn't find coming up with a grammer hard at all. This > is a big boys parser though. There is a learning curve involved. I'm > using it in a simpler mode just to build an AST. When you get to tree > walkers I start getting a little more confused. > > One really cool thing I like about it is that the code is generates is > actually pretty easy to read. Quite close to what you might write if > you were going it by hand. > > Regards, > > Glen > > At 02:41 PM 19/02/2003 -0500, you wrote: > >> Hi All especially Avik, >> >> Have you seen this: (http://www.jguru.com/faq/view.jsp?EID=78)? At >> one time we >> were thinking about doing the formula parser with a tool like this, >> but never did because >> they all had crummy licenses which required the user to do things >> that we thought they ought not >> have to do. This sucker is in the public domain under a "do whatever >> the hell you want" license. >> >> Downside: Debugability will be lower, writing the grammer will be a >> bitch >> Upside: We might actually finish formulas this year ;-) >> >> Take a read of that.. I'm not exactly sure that it can or can't go >> the other direction (Binary->Text) >> >> -Andy > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
