Crate fend_core

source ·
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§

  • This module is not meant to be used by other crates. It may change or be removed at any point.
  • Used by unit and integration tests

Structs§

  • This struct contains fend’s current context, including some settings as well as stored variables.
  • This contains the result of a computation.

Enums§

Traits§

Functions§