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: Scott Anguish <email@hidden>
- Date: Sat, 9 Nov 2002 02:06:25 -0500
On Friday, November 8, 2002, at 10:07 AM, Robert Miller wrote:
Hello,
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..
there is a calculator example that is quite a bit like this I think in
the Building Cocoa Applications book from O'Reilly. For sure it
demonstrates using these items for parsing
You might want to grab the book, or download the examples
_______________________________________________
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.