[clug] *BNF to diagrams: any suggested tools?
rossb at fwi.net.au
Thu Sep 9 07:01:10 UTC 2021
I have something like that in the VICI collection.
However it's not a command line tool. You write the BNF in one panel
[it does accept dropped text] and it generates diagrams in its other
panel. You have to navigate through the productions and can export them
as SVG one at a time.
On Thu, 2021-09-09 at 16:05 +1000, steve jenkin via linux wrote:
> Anyone have a favourite command line tool for converting syntax
> definition files into diagrams?
> Wikipedia, "Syntax diagram”, points to multiple tools, some in
> I’ve seen other compiler tools requiring Java: lots of overhead for
> command line.
> I found this tool, written in C, on github.
> Compiles and runs, though things like man pages aren’t fully
> Seems to support a reasonable range of input files.
> [Docbook / XML source provided, but the Makefile not configured
> to build them.]
> KGT: Kate's Grammar Tool
> 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