CompuServe Messages

Intuition and C (part 2)

    18-Oct-92 09:24:08
Fm: Bill Thompson 71360,1055
To: Al Saveriano 72616,2232
hmmm… that is an interesting challenge! I see two solutions, but both will limit the functionality of the progam a little: 1) instead of a single string gadget use several, one for the x variable, one for the function, etc. 2) write a simple parser that recognizes a handful of 'verbs;, and translate it! Actually, there is a third solution, but it isn't nearly as much fun and it cost's money… buy Maple Math or Mathvision! I wrote an expression evaluator in college, and it wasn't all that tricky… of course I was in college, so I was writing code every day, and had tons of resources to use! Which reminds me, there may be expression parsers here on CIS or ccertainly on internet! Ty the various language forums, or possibly the technical magazine forums. I thin Dr. Dobbs still has a forum here. IF they do, you culd leave a message there and would almost certainly receive many answers! Good luck! Bill… on Autopilot in Womelsdorf 😉