pub fn eval(self, old: u64) -> u64 {
match self {
Term::Old => old,
Term::Constant(c) => c,
}
}
}
And then, whoa here we go:
use nom::{
branch::alt,
bytes::complete::tag,
character::complete as cc,
character::complete::{one_of, space1},
combinator::{map, value},
error::ParseError