You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Diagrams are described by a custom DSL that somewhat resembles Python.
If there's interest in using ABNF and other traditional grammar syntaxes, katef/kgt also generates SVG railroad diagrams from those input formats.
As an example, below is an excerpt of a date time example and the laid out diagram.
ABNF of RFC 5322
; date and time format taken from RFC 5322.; https://tools.ietf.org/html/rfc5322#section-3.3date-time= [ day-of-week"," ] datetime [CFWS]
day-of-week= ([FWS] day-name) /obs-day-of-weekday-name="Mon"/"Tue"/"Wed"/"Thu"/"Fri"/"Sat"/"Sun"date=daymonthyearday= ([FWS] 1*2DIGITFWS) /obs-daymonth="Jan"/"Feb"/"Mar"/"Apr"/"May"/"Jun"/"Jul"/"Aug"/"Sep"/"Oct"/"Nov"/"Dec"
...