• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using flex and bison from within a cocoa application ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Using flex and bison from within a cocoa application ?
      • From: Hasan Diwan <email@hidden>
References: 
 >Using flex and bison from within a cocoa application ? (From: Robert Miller <email@hidden>)

  • Prev by Date: Re: Calling a unix command from Cocoa ?
  • Next by Date: Re: setting nextKeyView
  • Previous by thread: Using flex and bison from within a cocoa application ?
  • Next by thread: Re: Using flex and bison from within a cocoa application ?
  • Index(es):
    • Date
    • Thread