Answer: Bison with Objective-C Semantic Actions? Works
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
_______________________________________________
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