15 lines
219 B
Rust
15 lines
219 B
Rust
pub mod normalise;
|
|
pub mod const_fold;
|
|
pub mod compose;
|
|
|
|
#[derive(Debug)]
|
|
pub enum Error {
|
|
}
|
|
|
|
pub trait Evaluator {
|
|
type Expr;
|
|
type Error;
|
|
|
|
fn eval(&mut self, input: Self::Expr) -> Result<Self::Expr, Self::Error>;
|
|
}
|