Re: How to build a new grammer for pg?

Поиск
Список
Период
Сортировка
Искать
От
Julien Rouhaud
Тема
Re: How to build a new grammer for pg?
Дата
Msg-id
20230801115807.6u5snohi662k5zyp@jrouhaud
Список
Дерево обсуждения
Re: How to build a new grammer for pg? Julien Rouhaud <rjuju123@gmail.com>
Re: How to build a new grammer for pg? Chapman Flack <chap@anastigmatix.net>
Re: How to build a new grammer for pg? Andrew Dunstan <andrew@dunslane.net>
Re: How to build a new grammer for pg? "Jonah H. Harris" <jonah.harris@gmail.com>
Re: How to build a new grammer for pg? Hannu Krosing <hannuk@google.com>
Hi,

On Tue, Aug 01, 2023 at 07:36:36PM +0800, jacktby wrote:
> Hi, I’m trying to develop a new grammar for pg, can
+you give me a code example to reference?

It's unclear to me whether you want to entirely replace the flex/bison parser
with something else or just add some new bison rule.

If the latter, it really depends on what you change to achieve exactly.  I
guess you could just look at the gram.y git history until you find something
close enough to your use case and get inspiration from that.


В списке pgsql-hackers по дате отправления
От: shveta malik
Дата:
От: David Rowley
Дата:
FAQ