Related articles |
---|
mathematical function parser/compiler jens.dreger@physik.fu-berlin.de (Jens Dreger) (1998-05-04) |
Re: mathematical function parser/compiler bernecky@acm.org (Robert Bernecky) (1998-05-07) |
Re: mathematical function parser/compiler f81@ix.urz.uni-heidelberg.de (Joerg Schoen) (1998-05-07) |
Re: mathematical function parser/compiler ramb@synopsys.com (Ram Bhamidipaty) (1998-05-12) |
From: | Joerg Schoen <f81@ix.urz.uni-heidelberg.de> |
Newsgroups: | comp.compilers |
Date: | 7 May 1998 16:55:02 -0400 |
Organization: | University of Heidelberg, Germany |
References: | 98-05-021 |
Keywords: | parse, interpreter |
Jens Dreger <jens.dreger@physik.fu-berlin.de> wrote:
: I'm looking for a c/c++ function, that takes some string like
: f(x)=1/(1+x^2)
: at runtime (!) and returns a function that evaluates this
: expression when called within the program.
I have a small program, called "jsexpr", that contains a function
that does what you want, have a look at
http://www.pci.uni-heidelberg.de/tc/usr/joerg/utils.tar.gz
Hope that helps
Joerg
--
Joerg Schoen
E-mail: Joerg.Schoen@tc.pci.uni-heidelberg.de
Web-Page: http://www.pci.uni-heidelberg.de/tc/usr/joerg
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.