Re: Syntax diagrams in user documentation

Поиск
Список
Период
Сортировка
От Christopher Browne
Тема Re: Syntax diagrams in user documentation
Дата
Msg-id CAFNqd5VxLLM+QikD7QNZ=Lq8myd+xcAvhMjCrr-1ZWX=Eq1AFQ@mail.gmail.com
обсуждение исходный текст
Ответ на Syntax diagrams in user documentation  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: Syntax diagrams in user documentation
Список pgsql-hackers
On Thu, 28 Mar 2019 at 17:56, Peter Geoghegan <pg@bowt.ie> wrote:
SQLite has a bubble generator tool that they use to generate syntax
diagrams for their documentation:

https://www.sqlite.org/docsrc/doc/tip/art/syntax/bubble-generator.tcl?mimetype=text/plain

I think that the results are rather good. See, for example, the INSERT
documentation:

https://www.sqlite.org/lang_insert.html

neato!

(And no coincidence that GraphViz has a command by that name...  https://www.graphviz.org/pdf/neatoguide.pdf)

An especially cool idea if we could automatically dig input directly from src/backend/parser/gram.y
--
When confronted by a difficult problem, solve it by reducing it to the
question, "How would the Lone Ranger handle this?"

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Syntax diagrams in user documentation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: speeding up planning with partitions