Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!unmvax!gatech!emory!riddle From: riddle@mathcs.emory.edu (Larry Riddle) Newsgroups: comp.lang.pascal Subject: accepting function definitions as input strings Keywords: parsing, functions Message-ID: <3764@emory.mathcs.emory.edu> Date: 1 Mar 89 20:08:51 GMT Organization: Math & Computer Science, Emory University, Atlanta, GA Lines: 15 Rather than spending the time to re-invent the wheel, I thought I would check here first to see if anyone had some source or a good reference on how to parse a function as input. I would like to be able to have someone enter a function (say restricted to the standard arithmetic operations and sin, cos, exp, sqr, log, etc) while a program is running and then be able to evaluate that function at however many points might be later specified. Thanks for any assistance. -- Larry Riddle | riddle@mathcs.emory.edu PREFERRED Emory University | {decvax,gatech}!emory!riddle UUCP Dept of Math and CS | riddle@emory NON-DOMAIN BITNET Atlanta, GA 30322 | (404) 727-7922 AT&T