string <-> function code

Brian Gough bjg@network-theory.co.uk
Mon Sep 16 03:06:00 GMT 2002


Dave Benson writes:
 > i've been working on code which allows users to enter math
 > expressions at runtime for a fair while.

Looks interesting, have you tried Formulc?
http://www.cs.brandeis.edu/~hhelf/formu/formulc.html

My goals for an ideal expression evaluator would be minimal size and
dependencies, pure ANSI-C and support for standard languages &
precedence (C/Fortran/..)  .. complex support could be useful (for
fortran) but if parameters have different types it's not so easy to
pass them in safely, similar problems for matrices/vectors...  beyond
scalar expressions it might be better to use a scripting language.



More information about the Gsl-discuss mailing list