This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: string <-> function code
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Dave Benson <daveb at ffem dot org>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Sun, 15 Sep 2002 23:43:47 +0100 (BST)
- Subject: Re: string <-> function code
- References: <20020911093106.V7991@luca.pas.lab>
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.