• 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
Bison/Yacc with Objective-C ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bison/Yacc with Objective-C ?


  • Subject: Bison/Yacc with Objective-C ?
  • From: Thomas Wetmore <email@hidden>
  • Date: Tue, 09 Mar 2010 17:00:38 -0500

I'm porting an old interpreter from a C-based program that used yacc to parse report generating programs and convert them into interpretable programs that could then generate reports. A system akin to XSLT but using a procedural language rather XML as a programming language, ahem.

Yacc (and Bison) convert yacc files into C files. Instead I would like to generate Objective-C files so I can use Cocoa containers classes and NSString to get Unicode for free. I do see that bison can generate C++ instead of C. Does anyone know whether there is any version of yacc or bison that has been modified to generate Objective-C? Or if there is any other parser generator available that can generate Objective-C.

Thanks,

Tom Wetmore, Chief Bottle Washer, DeadEnds Software

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bison/Yacc with Objective-C ?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: [[Class alloc] init] preferable over [[Class instance] retain]?
  • Next by Date: Using a valuetransformer in a popupmenu
  • Previous by thread: Re: [[Class alloc] init] preferable over [[Class instance] retain]?
  • Next by thread: Re: Bison/Yacc with Objective-C ?
  • Index(es):
    • Date
    • Thread