Expand description

This library implements most of the features of fend.

Example

extern crate fend_core;

fn main() {
    let mut context = fend_core::Context::new();
    let result = fend_core::evaluate("1 + 1", &mut context).unwrap();
    assert_eq!(result.get_main_result(), "2");
}

Modules

Used by unit and integration tests

Structs

This struct contains context used for fend. It should only be created once at startup.
This contains the result of a computation.

Enums

Traits

Functions

This function evaluates a string using the given context. Any evaluation using this function cannot be interrupted.
Evaluate the given string to use as a live preview.
This function evaluates a string using the given context and the provided Interrupt object.
Returns the current version of fend-core.