[comp.sys.mac.programmer] lex for the Mac

aevans@bbn.com (Alan B. Evans) (04/13/91)

I am considering porting a package to the Mac environment that uses
code gererated by lex under Unix. Questions:

(1) Is there a PD lex look-alike which runs on a Mac?

(2) [Or perhaps 1'...] Does GNU flex satisfy (1)?

-alan

--------------------------------------------------------------------------

Alan Evans    (617) 873-3804                Advanced Simulation Division
Internet      aevans@bbn.com   	            BBN Systems & Technologies
plan:    "I wanna be sedated..."           33 Moulton St., Mailstop 8/C
project: "Network software from Hell"      Cambridge, MA 02138

n138ct@tamuts.tamu.edu (Brent Burton) (04/13/91)

I have both flex and bison on my mac plus.  I believe both are at the
Sumex ftp archives (36.44.0.6).  Check the source/c directory...and others. :-)
(or maybe it's the lang/c directory. I don't know - look.)

Flex and Bison have worked flawlessly for me and are quicker than my unix
machine is (and that running flex and bison on my mac plus).  I have never
run into problems with either and incorporating the generated code into
a program.

Hope this info helps.  (If the sumex archives don't have both files, first,
THEY SHOULD AND SOMEONE(yes, possibly me) NEEDS TO ZAP IT THERE, and second,
they can probably be located at other mac archives.)

             +----------------------+--------------------------+
             | Brent P. Burton      | n138ct@tamuts.tamu.edu   |
             | Texas A&M University | Computer Science/Physics |
             +----------------------+--------------------------+