Re: Using flex and bison from within a cocoa application ?
Re: Using flex and bison from within a cocoa application ?
- Subject: Re: Using flex and bison from within a cocoa application ?
- From: Paul Ferguson <email@hidden>
- Date: Sat, 9 Nov 2002 05:30:33 -0800
You should pick up a copy of "Building Cocoa Applications" by Garfinkel
& Mahoney. The book contains an example that does exactly what you
describe.
On Friday, November 8, 2002, at 07:07 AM, Robert Miller wrote:
This may be a simple question I'm not sure, I'm not too unix savvy. My
program needs to parse an input string (NSString) from a text field
and it was recommended to me to use yacc/lex A.K.A bison/flex on OSX
to accomplish the parsing and analysis of the string ? Anyway, are
there any examples available on how to use these features from within
a Cocoa application ? My parsing is similar to a simple calculator
*,/,+,- with some other special tokens that would need to be
recognized and dealt with. Is the bison/flex combination the proper
way to go ? any help would be greatly appreciated..
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.