Re: Expression parsing.
21 May 1999 02:27:23 -0400

          From comp.compilers

Related articles
Expression parsing. (Krzysiek Kobus) (1999-05-20)
Re: Expression parsing. (Quinn Tyler Jackson) (1999-05-21)
Re: Expression parsing. (Quinn Tyler Jackson) (1999-05-21)
Re: Expression parsing. (1999-05-21)
Re: Expression parsing. (1999-05-21)
| List of all articles for this month |

Newsgroups: comp.lang.c,comp.lang.c++,comp.compilers
Date: 21 May 1999 02:27:23 -0400
Organization: - Share what you know. Learn what you don't.
References: 99-05-076
Keywords: parse

    Krzysiek Kobus <> 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 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

Post a followup to this message

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