airlang_bin 0.0.8

The Air Programming Language
1
2
3
4
5
6
7
8
9
10
11
12
13
use {
    crate::repl::eval::{
        ConstCtx,
        DynCtx,
        Output,
    },
    airlang::semantics::Val,
};

pub(crate) fn reset(_const_ctx: &ConstCtx, dyn_ctx: &mut DynCtx, _input: Val) -> Output {
    dyn_ctx.interpreter.reset();
    Output::Ok(Box::new("context reset"))
}