ebnf 0.1.4

A successor bnf parsing library of bnf parsing library, for parsing Extended Backus–Naur form context-free grammars
Documentation
1
2
3
4
5
6
7
use crate::expression::Expression;
use serde::Serialize;

#[derive(Debug, Clone, Serialize)]
pub struct Grammar {
    pub expressions: Vec<Expression>,
}