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) |
From: | nr@labrador.eecs.harvard.edu (Norman Ramsey) |
Newsgroups: | comp.compilers |
Date: | 24 Sep 2000 00:34:09 -0400 |
Organization: | Harvard University |
References: | 00-09-146 |
Keywords: | parse, interpreter |
Tom <TArcidiacono@bridge.com> wrote:
>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.
Why not embed Lua? Tiny footprint, clean code, faster than Tcl, Perl,
or Python.
www.tecgraf.puc-rio.br/lua
--
Norman Ramsey
http://www.eecs.harvard.edu/~nr
Satisfied user of Lua ;-)
Return to the
comp.compilers page.
Search the
comp.compilers archives again.