mpl 0.3.0

One-rule TDPL/PEG parsing language with a static-codegen backend (FastParse) that beats pest, peg, nom, winnow, and chumsky on equal-work benchmarks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Variable types.
///
/// # Examples
///
/// ```
/// use mpl::symbols::Variable;
///
/// #[derive(Clone, Debug, Hash, Eq, PartialEq)]
/// enum ParenthesesVariable {
///     Open,
///     Parentheses,
///     Close,
/// }
///
/// impl Variable for ParenthesesVariable {}
/// ```
pub trait Variable: Clone {}