Skip to main content

Interpret

Trait Interpret 

Source
pub trait Interpret {
    // Required method
    fn interpret(&self, env: &mut Environment) -> IResult<ConValue>;
}
Expand description

A work-in-progress tree walk interpreter for Conlang

Required Methods§

Source

fn interpret(&self, env: &mut Environment) -> IResult<ConValue>

Interprets this thing in the given Environment.

Everything returns a value!™

Implementations on Foreign Types§

Source§

impl Interpret for (Op, &[At<Expr>])

Source§

impl Interpret for Expr<DefaultTypes>

Source§

impl Interpret for Bind<DefaultTypes>

Source§

impl Interpret for Make<DefaultTypes>

Source§

impl Interpret for Match<DefaultTypes>

Source§

impl<T: Annotation + Interpret> Interpret for At<T>

Implementors§