Path: utzoo!utgpu!watserv1!watmath!att!emory!wuarchive!uunet!mcsun!corton!mirsa!zig.inria.fr!kjartan From: kjartan@zig.inria.fr (Kjartan Emilson) Newsgroups: comp.sources.wanted Subject: mathematical expression handler Keywords: expression handler Message-ID: <10252@mirsa.inria.fr> Date: 25 Feb 91 15:01:28 GMT Sender: news@mirsa.inria.fr Reply-To: kjartan@zig.inria.fr (Kjartan Emilson) Organization: INRIA, Sophia-Antipolis (Fr) Lines: 23 Nntp-Posting-Host: zig.inria.fr Does anyone know of a mathematical expression handler, in the spirit of for example regex(3) for regular expression. What I would like the thing to do is for example take a string: "tanh(0.3)+2.0*sin(3.2)-3.0" and return its value, and be reasonably fast. I`m sure there must be something like that lurking somewhere, so I could spare me the yacc hacking. Thanks, Kjartan --------------------------------------------------------------- Kjartan Pierre Emilsson Institut Non Lineaire de Nice Universite de Nice Sophia Antipolis Parc Valrose Nice France e-mail: kjartan@zig.inria.fr