Re: Convert String into Expression
Re: Convert String into Expression
- Subject: Re: Convert String into Expression
- From: Magnus Strand <email@hidden>
- Date: Fri, 14 Jan 2005 13:02:10 +0100
Hi Simon,
You need to learn about parsing (e.g. recursive descent parser)
and math expression trees.
Here you can read a bit more:
http://www.cs.wustl.edu/~cytron/101Pages/f00/Labs/9/
http://users.easystreet.com/jkirwan/new/parsing.html
Regards,
Magnus Strand
Simon alias Trax wrote:
I'm trying to find a way to convert a string into a mathematical
expression.
For example, the string "4 + 5" would return the numeric value 9.
Any hint ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden