Re: Expression parsing.

eodell@pobox.com (Eric O'Dell)
21 May 1999 02:27:42 -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: eodell@pobox.com (Eric O'Dell)
Newsgroups: comp.lang.c,comp.lang.c++,comp.compilers
Date: 21 May 1999 02:27:42 -0400
Organization: Compilers Central
References: 99-05-076
Keywords: parse

On 20 May 1999 01:44:58 -0400, 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.


Thomas Niemann has a tutorial on operator-precedence parsing that
provides a simple example that would be easy to extend to do what you
have in mind. It's at:


http://members.xoom.com/thomasn/o_man.htm


-E.


Post a followup to this message

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