Railroad diagrams are a nice way for visualizing a syntax. It would be nice if we could also integrate railroad diagrams into the Polypheny website.
I found the JS library rrdiagram-js which allows generating such diagrams, but we need to integrate this into the template of our website. It would be good if the BNF source for generating a diagram is not in an extra file but embedded into the markdown file. The BNF source should then be automatically be replaced by a diagram.
Railroad diagrams are a nice way for visualizing a syntax. It would be nice if we could also integrate railroad diagrams into the Polypheny website.
I found the JS library rrdiagram-js which allows generating such diagrams, but we need to integrate this into the template of our website. It would be good if the BNF source for generating a diagram is not in an extra file but embedded into the markdown file. The BNF source should then be automatically be replaced by a diagram.