-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: add language from the "Railroad-diagram Generator" #48
Comments
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 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;
Both could make sense. https://github.com/katef/kgt/blob/main/src/ast.h |
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: