Re: flex (was Re: [HACKERS] Installation procedure.)

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: flex (was Re: [HACKERS] Installation procedure.)
Date: 1999-08-02 14:46:52
Message-ID: 37A5AF5C.FA79A6DF@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> BTW, does anyone understand *why* our lexer files require flex and not
> just garden-variety lex? Would it be worth trying to make them more
> portable?

Some of the oldest and cruftiest AT&T lexers do not support the
concept of an exclusive start state, which we use extensively (it's my
fault; makes for *much* cleaner specifications).

Unfortunately, Sun adopted some SysV packages when they made the
switch from BSD, and got a bad lexer in the bargain. afaik, most other
systems ship a more capable package.

> Or perhaps we should ship pre-lexed derived files, as we do for the
> larger grammar files?

Yes, that would probably be a good idea...

- Thomas

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-08-02 15:07:05 Re: flex (was Re: [HACKERS] Installation procedure.)
Previous Message Bruce Momjian 1999-08-02 14:28:04 Re: [HACKERS] Optimizer hints