• 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
Answer: Bison with Objective-C Semantic Actions? Works
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Answer: Bison with Objective-C Semantic Actions? Works


  • Subject: Answer: Bison with Objective-C Semantic Actions? Works
  • From: Thomas Wetmore <email@hidden>
  • Date: Thu, 11 Mar 2010 17:38:37 -0500

Just a quick thank-you to those who responded to my question about using bison to generate a language intepreter in an Cocoa Foundation/Xcode/Objective-C environment. Xcode does everything needed to make it seamless.

I named the yacc file Interpreter.ym and made the semantic value type for all terminals and non-terminals on the parsing stack to be the general Objective-C id type and have had no problems. My semantic actions are all written using Objective-C messaging with the $$, $1, ..., $n stack variables. No perspiration; no worries.

Thanks again for the great help available from this group.

(Cross posted to the Xcode group since Xcode makes working with yacc/bison almost trivial.)

Tom Wetmore, Chief Bottle Washer, DeadEnds Software

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: header roles in framework
  • Next by Date: Overriding file templates?
  • Previous by thread: header roles in framework
  • Next by thread: Overriding file templates?
  • Index(es):
    • Date
    • Thread