oxide_eval 0.1.1

Oxide Eval is a simple Javascript Evaluator based on oxc.
Documentation
1
2
3
4
5
6
7
use serde_json::Value;

type BoxFunction = Box<dyn Fn(Vec<Value>) -> Value>;
pub enum ContextEntry {
    Variable(Value),
    Function(BoxFunction),
}