Closed YannCaron closed 9 years ago
Use Gunther Rademacher's rail road diagram web-service. Thanks to him :+1: :
Hi Yann, thank you for your email. Glad to know that you like RR. Indeed you can feed it a GET or POST request. You might want to watch what requests are actually sent, e.g. by using the Firefox network console. Here is a minimal example: http://bottlecaps.de/rr/ui?ebnf=S::=%27hello%27%20%27world%27 That would be for showing the grammar within the tool within a browser. For just getting the SVG diagram page, additionally use the 'frame=diagram' parameter: http://bottlecaps.de/rr/ui?ebnf=S::=%27hello%27%20%27world%27&frame=diagram All the best for your parser development. In case you are interested, I am also running a parser generator using similar grammar notation: http://bottlecaps.de/rex Best regards, Gunther
Hi Yann,
thank you for your email. Glad to know that you like RR.
Indeed you can feed it a GET or POST request. You might want to watch what requests are actually sent, e.g. by using the Firefox network console.
Here is a minimal example:
http://bottlecaps.de/rr/ui?ebnf=S::=%27hello%27%20%27world%27
That would be for showing the grammar within the tool within a browser. For just getting the SVG diagram page, additionally use the 'frame=diagram' parameter:
http://bottlecaps.de/rr/ui?ebnf=S::=%27hello%27%20%27world%27&frame=diagram
All the best for your parser development. In case you are interested, I am also running a parser generator using similar grammar notation:
http://bottlecaps.de/rex
Best regards, Gunther
Done Use RailroadDiagram.brownse(grammar)
Use Gunther Rademacher's rail road diagram web-service. Thanks to him :+1: :