[clug] *BNF to diagrams: any suggested tools?

Steve Jenkin sjenkin at canb.auug.org.au
Fri Sep 10 01:53:50 UTC 2021


brilliant - I hadn’t thought to the obvious. Thanks so much for that.

I first saw “Railway diagrams" in the “Pascal User Manual and Report” by Jensen & Wirth, probably 1974. Not sure who invented Syntax Diagrams though.

Not surprising that Knuth’s TeX, invented to typeset his maths / computing papers, would also be extended to support this computing concept.


> On 9 Sep 2021, at 23:04, James Ring <sjr at jdns.org> wrote:
> Way back in my undergraduate days, I used the LaTeX rail package
> (https://www.ctan.org/pkg/rail) to generate railroad diagrams from BNF
> for a user guide for a language we had written.

Steve Jenkin, IT Systems and Design 
0412 786 915 (+61 412 786 915)
PO Box 38, Kippax ACT 2615, AUSTRALIA

mailto:sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin

More information about the linux mailing list