Re: NS .... lex/yacc ?
Re: NS .... lex/yacc ?
- Subject: Re: NS .... lex/yacc ?
- From: Christian Brunschen <email@hidden>
- Date: Tue, 24 Jan 2006 15:02:06 +0100 (CET)
On Tue, 24 Jan 2006, Thierry Passeron wrote:
Hello people,
I'm in need of writing a grammar lexer/parser. So I was wondering if
there was any existant AppKit (or other framework) class that could do
the job... or should I stick with lex/yacc ?
I'd suggest using lemon (<http://www.hwaci.com/sw/lemon/>), which
generates a parser that is reentrant, and which also allows you to put
Objective-C code into your parser actions. You'll still have to put to
gether a lexer, but you could get away with using NSScanner for that.
Best regards,
Best wishes,
Thierry
// Christian Brunschen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden