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
Hi! Thanks! This is interesting. kgt's input is usually BNF, which is supposed to be a semantic representation of a grammar. Tab's structure here is for presentational information. For example, it offers Stack() for vertically placed alts.
kgt has several stages internally. Relevant here are the AST for BNF, and then the RRD tree (which is presentational, although still abstracted from layout coordinates).
So we'd have two options for parsing this;
to disregard the presentational parts, and construct the BNF AST as if it were any other BNF input.
to construct the RRD node tree directly. although it doesn't currently offer a Stack() construct, so we'd still skip that.
Add support for the language from the Railroad-diagram Generator as input.
Example:
Online:
https://tabatkins.github.io/railroad-diagrams/generator.html
Format documentation:
https://github.com/tabatkins/railroad-diagrams#components
The text was updated successfully, but these errors were encountered: