EvalEx (evalex v0.1.0-alpha)

EvalEx is an expression evaluator and tiny scripting language for elixir, powered by the Rust crate evalexpr.

Link to this section Summary

Functions

Evaluates the given expression and returns the result.

Link to this section Types

Link to this type

evalex_any()

@type evalex_any() :: number() | boolean() | String.t() | nil | [evalex_any()]

Link to this section Functions

Link to this function

eval(_, _)

(since 0.1.0)
@spec eval(String.t(), map()) :: {:ok, evalex_any()} | {:error, {atom(), String.t()}}

Evaluates the given expression and returns the result.