Re: Convert String into Expression
Re: Convert String into Expression
- Subject: Re: Convert String into Expression
- From: Philip Riggs <email@hidden>
- Date: Fri, 14 Jan 2005 11:21:46 -0700
On Jan 14, 2005, at 4:57 AM, email@hidden 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 ?
In the O'Reilly book "Building Cocoa Applications: A Step By Step
Guide" there is a project that uses bison to build a fully functional
calculator. Either read that chapter, or you can download the example
code from the O'Reilly site and figure it out.
Philip
_______________________________________________
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