Related articles |
---|
Expression parsing. kk@inet.com.pl (Krzysiek Kobus) (1999-05-20) |
Re: Expression parsing. qjackson@wave.home.com (Quinn Tyler Jackson) (1999-05-21) |
Re: Expression parsing. qjackson@wave.home.com (Quinn Tyler Jackson) (1999-05-21) |
Re: Expression parsing. corbier@my-dejanews.com (1999-05-21) |
Re: Expression parsing. eodell@pobox.com (1999-05-21) |
From: | "Quinn Tyler Jackson" <qjackson@wave.home.com> |
Newsgroups: | comp.lang.c++,comp.compilers |
Date: | 21 May 1999 02:22:02 -0400 |
Organization: | Compilers Central |
References: | 99-05-076 |
Keywords: | parse |
> Does anyone know of a simple C or C++ library/api for math
> expressions parsing.
>
> Just simple operators (+ - * /), multi brackets, simple math functions
> (sin(), pow(), ...), but easly extendable for other math functions with
> many arguments.
I've got some older C++ classes called ARDAF that do that, and can be
compiled to do complex math as well. All of the trig stuff is built
in and overloaded for complex domain. Also does definable functions,
variables, and sparse arrays. The user definable functions can take
any number of args, and you can define some args to take default
values if blank.
It's up for ftp at:
ftp://qtj.net/pub/source/cpp/
The files to get are:
RDF_SRC.ZIP
SHU_SRC.ZIP
Might need some tweaking... since code's starting to age...
--
Quinn Tyler Jackson
email: qjackson@wave.home.com
url: http://www.qtj.net/~quinn/
ftp: qtj.net
Return to the
comp.compilers page.
Search the
comp.compilers archives again.