• 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
Re: NS .... lex/yacc ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NS .... lex/yacc ?
      • From: "John C. Randolph" <email@hidden>
References: 
 >NS .... lex/yacc ? (From: Thierry Passeron <email@hidden>)

  • Prev by Date: Re: Searching a controller's content
  • Next by Date: Re: Conceptual question
  • Previous by thread: NS .... lex/yacc ?
  • Next by thread: Re: NS .... lex/yacc ?
  • Index(es):
    • Date
    • Thread