in reply to Re: Inputting Math Functions
in thread Inputting Math Functions

Yeah, I would need to work within the set of reals, using transcendental functions as well as polynomials, rationals, etc..

Replies are listed 'Best First'.
Re^3: Inputting Math Functions
by gaal (Parson) on Dec 17, 2006 at 18:41 UTC
    Then you should use a Real Parser to make sense of your expression. Parse::RecDescent was mentioned and is fine to use, if a little slow. Maybe you want to try this out in Perl 6 Rules though? You'd need Pugs for that, or perhaps stay in Perl 5 and give Pugs::Compiler::Rule a shot.