From: James Edward Gray II Date: 2005-04-28T22:01:23+09:00 Subject: Re: I need a formula parser On Apr 28, 2005, at 7:57 AM, Lyndon Samson wrote: > On 4/28/05, James Edward Gray II wrote: >> On Apr 28, 2005, at 2:18 AM, Lyndon Samson wrote: >> >>> Sounds like another fine RubyQuiz!!! >> >> I miss Parse::RecDescent myself, but porting it is not exactly a quiz >> size task. Or perhaps I didn't understand what you meant... >> > I meant a generic formula parser > > ie. > "(1+2)*pow(2,2)", block callback for function execution > "(1+2)*pow($a,2)", passed in hash lookup for variable sub > > etc Okay, that makes more sense. Write it up and send it in... :) James Edward Gray II