Show HN: val – An arbitrary precision calculator language
Published on: 2025-04-22 09:51:31
val
val (eval) is a simple arbitrary precision calculator language built on top of chumsky and ariadne.
Installation
val should run on any system, including Linux, MacOS, and the BSDs.
The easiest way to install it is by using cargo, the Rust package manager:
cargo install val
Pre-built binaries
Pre-built binaries for Linux, MacOS, and Windows can be found on the releases page.
Usage
The primary way to use val is via the provided command-line interface. There is currently ongoing work on a Rust library and web playground, which will provide a few extra ways to interact with the runtime.
Below is the output of val --help , which describes some of the arguments/options we support:
Usage: val [OPTIONS] [FILENAME] Arguments: [FILENAME] Options: -e, --expression -h, --help Print help -V, --version Print version
Running val on its own will spawn a repl (read–eval–print loop) environment, where you can evaluate arbitrary val code and see its output immediately. We use
... Read full article.