An expression compiler with run-time interpretation?

Tom <TArcidiacono@bridge.com>
21 Sep 2000 18:08:46 -0400

          From comp.compilers

Related articles
An expression compiler with run-time interpretation? TArcidiacono@bridge.com (Tom) (2000-09-21)
Re: An expression compiler with run-time interpretation? peter_flass@my-deja.com (2000-09-23)
Re: An expression compiler with run-time interpretation? mikael.lyngvig@toolwood.dk (Mikael Lyngvig) (2000-09-23)
Re: An expression compiler with run-time interpretation? nr@labrador.eecs.harvard.edu (2000-09-24)
Re: An expression compiler with run-time interpretation? rus@tamu.edu (Silvius Rus) (2000-09-28)
| List of all articles for this month |
From: Tom <TArcidiacono@bridge.com>
Newsgroups: comp.compilers
Date: 21 Sep 2000 18:08:46 -0400
Organization: Deja.com - Before you buy.
Keywords: parse, comment

I'm building an application that must be able to read arithmetic
expressions (such as x = 12 * ((y + z)/ (sqrt(y))) ) from an external
text file at runtime, "compile" them, and later evaluate the
expression to find a result when the variable values have been
satisfied. The evaluation may have to happen multiple times during the
life of the program, as the variable values may change.


Is there a product that will provide this functionality in C++? I
would like to avoid writing an expression compiler from scratch if
possible. Any suggestions?
[Tcl has an expression evaluator, maybe you can pull it out. -John]


Post a followup to this message

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