Re: using a parser generator with a cococa app
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.