kbnf-syntax 0.5.3

An internal syntax crate for kbnf crate
Documentation
---
source: src/grammar.rs
expression: "format!(\"{:?}\", result)"
---
start_symbol: start(ID: 0)
start ::= 'Today, I want to eat '(ID: 0) __choice_food_0(ID: 3) '
My food's ID is '(ID: 1) __choice_ID_0(ID: 2) '.

What's more, indentations
are handled
appropriately.Let's end with a json: '(ID: 2) __schema_json_0(ID: 1) '
'(ID: 3);
__schema_json_0 ::= #"\A(?:\{( |
|
|	)*)\z"(ID: 0,type: DFA) 'name'(ID: 4) #"\A(?:( |
|
|	)*:( |
|
|	)*)\z"(ID: 1,type: DFA) #"\A(?:"([^\\"-]|\\["\\bfnrt/]|\\u[0-9A-Fa-f]{4})*")\z"(ID: 2,type: DFA) #"\A(?:( |
|
|	)*,( |
|
|	)*)\z"(ID: 3,type: DFA) 'weight'(ID: 5) #"\A(?:( |
|
|	)*:( |
|
|	)*)\z"(ID: 1,type: DFA) #"\A(?:-?(0|[1-9]\d*)(\.\d+)?([eE][+-]?\d+)?)\z"(ID: 4,type: DFA) #"\A(?:( |
|
|	)*,( |
|
|	)*)\z"(ID: 3,type: DFA) 'color'(ID: 6) #"\A(?:( |
|
|	)*:( |
|
|	)*)\z"(ID: 1,type: DFA) #"\A(?:"([^\\"-]|\\["\\bfnrt/]|\\u[0-9A-Fa-f]{4})*")\z"(ID: 2,type: DFA) #"\A(?:( |
|
|	)*\})\z"(ID: 5,type: DFA);
__choice_ID_0 ::= #"\A(?:[0-9]+)\z"(ID: 6,type: DFA) | #"\A(?:[a-z]+)\z"(ID: 7,type: DFA);
__choice_food_0 ::= #"\A(?:orange|banana|railroad)\z"(ID: 8,type: DFA);