• 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: using a parser generator with a cococa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using a parser generator with a cococa app


  • Subject: Re: using a parser generator with a cococa app
  • From: Christian Brunschen <email@hidden>
  • Date: Thu, 22 May 2003 11:53:32 +0200 (MEST)

On Wed, 21 May 2003, John Clayton wrote:

> Hi,
>
> Does anyone know of a parser generator that work nicely in a Cocoa
> application? I'm aware of the usual suspects (yacc/bison) and anltr
> and a few others.

Have you looked at Lemon? <http://www.hwaci.com/sw/lemon/>

> Just wondering if someone has integrated a parser
> generated by a particular generator successfully into their app.

Haven't actually used it, but it looks very promising. From the web page:

<quote>

Lemon is similar to the much more famous programs "YACC" and "BISON". But
lemon is not compatible with either yacc or bison. There are several
important differences:

* Lemon using a different grammar syntax which is less prone to
programming errors.

* Lemon generates a parser that is faster than Yacc or Bison parsers.

* The parser generated by Lemon is both re-entrant and thread-safe.

* Lemon includes the concept of a non-terminal destructor, which makes it
much easier to write a parser that does not leak memory.

</quote>

> Thanks a lot.
>
> Regards,

Best wishes,

> John Clayton

// Christian Brunschen
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >using a parser generator with a cococa app (From: John Clayton <email@hidden>)

  • Prev by Date: Re: objectForKey crashes for string formats
  • Next by Date: Re: using a parser generator with a cococa app
  • Previous by thread: Re: using a parser generator with a cococa app
  • Next by thread: Re: using a parser generator with a cococa app
  • Index(es):
    • Date
    • Thread