About 2000 I created a small expression parser for a colleague. This isn't it, but it ocurred to me that this was a useful technique that deserved wider application. 'eval' (short for 'evaluate') is the result.

As I recall, I put this together in about a week or two in 2002 to put on another web site. That one never actually happened but it seems like a waste to not use it somewhere. I'd like to have a reason to tidy this up and expand on it some day. Needless to say, this is more likely to happen if anyone shows any interest. No-one has so far.

It uses text input and output, so it should compile easily for any C++ compiler on Microsoft Windows, Linux, UNIX, etc.



Valid HTML 4.01 Any comments or queries, write to me.
Page last updated 14 March, 2011