• 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: Hasan Diwan <email@hidden>
  • Date: Sun, 10 Nov 2002 00:16:05 -0800

Robert:
Just call flex/bison as you would from C. It should work fine. While I
think it's overkill for your project as described below, flex/bison
will scale if you need to add more to the grammar without much
difficulty.
> 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..
Hasan Diwan
OpenPGP KeyID: 0xBE42DCA6
Fingerprint: 1CB0 47E3 0A24 DAC1 DCCA 4225 F166 40C2 BE42 DCA6
http://www.cs.rpi.edu/~diwanh/gpg.key

[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
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.

References: 
 >Re: Using flex and bison from within a cocoa application ? (From: Scott Anguish <email@hidden>)

  • Prev by Date: Creating new instances of a window?
  • Next by Date: Re: Using a subclass in IB
  • Previous by thread: Re: 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