Re: [HACKERS] flex

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] flex
Дата
Msg-id 200001160235.VAA26882@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] flex  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] flex  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Added to TODO list.

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> Maybe this has been discussed before my time, but why exactly is it that
> >> we don't distribute lex'ed files, as with yacc'ed files?
> 
> > Not sure.  Are they more platform-dependent or lexer-dependent?  Doesn't
> > the lexer call a lexer-specific library?  Not sure.
> 
> flex has a lexer-specific library (libfl.a), but as far as I can tell
> our scanners don't call it.  In fact our build process has no provision
> for adding -lfl to the link, which I used to think was an oversight, but
> now it's starting to seem like a good idea.  We could ship scan.c et al
> in the same way we handle the yacc/bison output files, and it should
> work everywhere.
> 
> If we were going to do this, I'd vote for making sure that *all* the
> yacc files are pregenerated (currently, we only take care of the larger
> ones), and then most people wouldn't need either flex or bison to build.
> 
>             regards, tom lane
> 
> ************
> 


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] TODO list
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] I think we need an explicit parsetree node for CAST