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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to