kgt
kgt copied to clipboard
BNF wrangling and railroad diagrams
With the following input: ``` binding-names = {name, ","}, name, ",", name ; ``` `kgt` segfaults when producing html5 ``` $ cat demo.ebnf binding-names = {name, ","}, name, ",", name...
```shell $ ./build/bin/kgt -e rrutf8 -l iso-ebnf < examples/ebnf2.ebnf $ echo $? 1 ``` I'm not sure if this their is a different dialect this is suposed to be, or...
Given this example: ``` echo -e 'b = a " "\n\na = ("1" / "2") "3"' | kgt -l abnf -e blab | blab -n 10 ``` The output should...
When generating blab output from ABNF that uses built-in core rules, the blab output doesn't have those core rules defined, so blab can't parse the fule: ``` $> echo "a...
https://github.com/dhall-lang/dhall-lang/blob/60629b9d198af49984e9f9da337036942147af8b/standard/dhall.abnf This is the ABNF file for the dhall language, it might not be a fully spec-compliant abnf but when I feed it into `kgt`: ``` $ > kgt -l...
I’m trying to build the manpage, but I can’t find a Makefile rule for building the manpage and/or documentation from the minidocbook description. Am I missing something or is it...
man and firefox don't display it usably
Add support for the language from the [Railroad-diagram Generator](https://tabatkins.github.io/railroad-diagrams/generator.html) as input. Example: ``` Diagram( Optional('+', 'skip'), Choice(0, NonTerminal('name-start char'), NonTerminal('escape')), ZeroOrMore( Choice(0, NonTerminal('name char'), NonTerminal('escape')))) ``` Online: https://tabatkins.github.io/railroad-diagrams/generator.html Format documentation:...
Many grammars use different equality symbols to separate the left and right sides of a production rule: symbol ::= replacement symbol = replacement symbol → replacement If this symbol was...
Hi, Thanks for this tool. This is awesome! I noticed some generator produce all the possibles combinaisons for case incentive input. It means this generate a list of item growing...