• 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: John Clayton <email@hidden>
  • Date: Fri, 23 May 2003 18:36:36 -0400

Thanks for your help. Getting a basic grammar running seems ok. From
an older thread:
> FROM: Fritz Anderson
> DATE: 2001-08-22 17:32
>
> On Wednesday, August 22, 2001, at 09:25 AM, Ondra Cada wrote:
>
> > The OpenStep makefiles had support for .ym and .lm, whose results
> were
> > .m to
> > be processed by ObjC. Dunno how the new PB/jam beast works, though --
> > you
> > can try whether .ym and .lm survived!
>
> They did indeed. The only trick is to add
> LEX = /usr/bin/flex
> and
> YACC = /usr/bin/bison -y
> to the build settings of the Project Builder target.
>
> -- F
>
> Fritz Anderson <EMAIL REMOVED>
> Parallel Software 877-PARALLEL
> Naperville, Illinois http://www.parallel.com/


This leaves me with a few questions. Namely, how well will this
strategy handle unicode? And how can I learn more about mixing C and
Objective-C? Thanks.




On Wednesday, May 21, 2003, at 10:58 PM, publiclook wrote:

> Not long ago I posted to this forum a complete Objective-C scanner and
> parser implemented with lex/yacc and Foundation classes. Just name
> your .l and .y files to .lm and .ym and you can incorporate
> Objective-C right with the scanner and parser definitions. Project
> Builder already knows what to do with the files.
>
>
> On Wednesday, May 21, 2003, at 09:37 PM, 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. Just wondering if someone has integrated a parser
>> generated by a particular generator successfully into their app.
>> Thanks a lot.
>>
>>
>>
>> Regards,
>>
>> John Clayton
>>
>> ----------------------------------
>> email@hidden
>> ----------------------------------
>> How glorius it is to be an Exception, and how painful.
>> _______________________________________________
>> 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.
> _______________________________________________
> 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.
>
>
Regards,

John Clayton

----------------------------------
email@hidden
----------------------------------
Ask a question, remain a fool for five minutes
Don't ask a question, remain a fool forever
_______________________________________________
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: 
 >Re: using a parser generator with a cococa app (From: publiclook <email@hidden>)

  • Prev by Date: Re: Using DO from daemon
  • Next by Date: Re: Using DO from daemon
  • 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