val 0.7.0

An arbitrary precision calculator language
Documentation

val

release crates.io CI codecov docs.rs dependency status

val (eval) is a simple arbitrary precision calculator language built on top of chumsky and ariadne.

Website · Documentation · Playground

val supports exact arithmetic, configurable precision, functions, loops, lists, and an interactive REPL.

Installation

The easiest way to install it is by using cargo, the Rust package manager:

cargo install val

See the installation guide for other package managers and pre-built binaries.

Usage

See the documentation for command-line usage, the language, numbers and precision, built-in functions and constants, and the playground.

See examples for complete programs and the grammar for the language syntax.

Prior Art

bc(1) - An arbitrary precision calculator language