• 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: Flex and Bison
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flex and Bison


  • Subject: Re: Flex and Bison
  • From: Thierry Cruanes <email@hidden>
  • Date: Wed, 22 Aug 2001 10:01:37 -0700
  • Organization: Oracle

Yes .lm and .ym will generate c files to be compiled and linked into your
executable.

Now, some questions about Flex and bison,
Currently I am using them in PB to generate reentrant parsers because I need
multiple parsers in the same multithreaded executable. To do that, I am
generating a C++ classes that I encapsulate into C wrapper that are used in a
Objective-C/Cocoa application. To do that, I had to modify the jambase file to
had rules for .ll and .yy to use C++ generation for flex and bison.

All of this is working fine, but

I would like to avoid linking against the C++ runtime (avoid generating C++).
I was thinking of using my own skeleton file but may be somebody had already
done this kind of things and came up with a better solution to generate
mutithread-safe parsers.

Anybody ?

Thierry

> stuartbryson,
>
> >>>>>> stuartbryson (s) wrote at Thu, 23 Aug 2001 23:02:33 +1000:
> s> Does anyone have any info or links on Flex and Bison. Also any info on
> s> using these with Project Builder and/or Objective C?
>
> 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!
> ---
> Ondra Cada
> OCSoftware: email@hidden http://www.ocs.cz
> private email@hidden http://www.ocs.cz/oc
>
> --__--__--
>
> _______________________________________________
> cocoa-dev mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
> End of cocoa-dev Digest


  • Prev by Date: Re: WTF? How can this work?
  • Next by Date: Re: Several sheets at the same time?
  • Previous by thread: Re: Flex and Bison
  • Next by thread: Distributed Objects
  • Index(es):
    • Date
    • Thread