>
>
> Another way that I tested and it's working is to use
> https://www.bottlecaps.de/convert/ paste the postgresql grammar there
> and press "convert" and after press "view diagram".
>
I tried this out and I'm pleased to see that one of the outputs is xhtml +
SVG, because SVGs have hover-over to
Hello Andres !
Another way that I tested and it's working is to use
https://www.bottlecaps.de/convert/ paste the postgresql grammar there
and press "convert" and after press "view diagram".
Again optionally manually add the Tokens to a better diagram !
// Tokens from postgresql-13.3/sr
Hello Andres !
There is two ways to achieve it:
-1 I just add the bison grammar in CocoR format here
https://github.com/mingodad/CocoR-CPP in the examples folder.
-2 I created an small extension to Bison to do the same and published
the patch here
https://github.com/mingodad/bison/commit/da
Hi,
On 2021-07-03 10:39:02 +0200, Domingo Alvarez Duarte wrote:
> I've done a experimental tool to convert bison grammars to a kind of EBNF
> understood by https://www.bottlecaps.de/rr/ui
It'd be nice if you could share that tool. The diagrams this can generate
are neat...
Greetings,
Andres Fre
Hello Bruce !
You can download the railroad generator to generate offline using Java
here -> https://www.bottlecaps.de/rr/download/rr-1.63-java8.zip (link
from the https://www.bottlecaps.de/rr/ui on tab Welcome).
java -jar rr.war -out:Dafny.atg.xhtml grammar.txt
Cheers !
On 6/7/21 18:51, Br
On Sat, Jul 3, 2021 at 10:39:02AM +0200, Domingo Alvarez Duarte wrote:
> I've done a experimental tool to convert bison grammars to a kind of EBNF
> understood by https://www.bottlecaps.de/rr/ui to generate railroad diagrams
> see
> bellow the converted 'postgresql-13.3/src/backend/parser/gram.y'