Re: Expression parsing.

corbier@my-dejanews.com
21 May 1999 02:27:23 -0400

          From comp.compilers

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)
| List of all articles for this month |
From: corbier@my-dejanews.com
Newsgroups: comp.lang.c,comp.lang.c++,comp.compilers
Date: 21 May 1999 02:27:23 -0400
Organization: Deja.com - Share what you know. Learn what you don't.
References: 99-05-076
Keywords: parse

    Krzysiek Kobus <kk@inet.com.pl> wrote:
> 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.
>
> The defunc mentioned in comp.lang.c faq doesn't support functions
> with more than 3 arguments.


If you are using Visual C++ or Borland C++ Builder, then you can go to
http://www.ucalc.com/dll and obtain a copy of UCalc Fast Math Parser.
Your user-defined functions can have as many arguments as you'd like.
The upcoming version has direct support for C++. You can already
download the beta for now. (The previous version can also work with
VC++, but it requires more effort).


Daniel Corbier, UCALC
http://www.ucalc.com


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.