A statically typed programming language for scientific computations with first class support for physical dimensions and units
命令行科学计算器,支持很多种单位量
https://numbat.dev/

David Peter 9f7b548707 Handle printing in the frontend 2 роки тому
.github aec6e3a9fe Simple CI pipeline 2 роки тому
assets fe119c0f4f Add new 'type' procedure to print expr type 2 роки тому
book b48197ce6a Add advanced trigonometric/hyperbolic functions 2 роки тому
examples 89ece08e9d Add some alternative dimension names 2 роки тому
modules 89ece08e9d Add some alternative dimension names 2 роки тому
numbat 9f7b548707 Handle printing in the frontend 2 роки тому
numbat-cli 9f7b548707 Handle printing in the frontend 2 роки тому
numbat-exchange-rates 8d3f85eb04 Use rustls to avoid openssl dependency 2 роки тому
numbat-wasm cbcd88cb72 Fix wasm version 2 роки тому
vscode-extension fe119c0f4f Add new 'type' procedure to print expr type 2 роки тому
.gitignore c0dda22e0d Properly store history in .local/share 3 роки тому
Cargo.lock 864c3acd75 Add gamma(…) function 2 роки тому
Cargo.toml 3c4d93af1b Shorthand notation for adding new dimensions, closes #42 2 роки тому
LICENSE-APACHE bb1417febb Add license files 2 роки тому
LICENSE-MIT bb1417febb Add license files 2 роки тому
README.md b7929a580c Clean up README even further 2 роки тому
create_release.sh 912647b346 Add simple script to create release zip file 2 роки тому

README.md

Numbat is a statically typed programming language for scientific computations with first class support for physical units.

Key features

  • First class support for physical units and dimensions
  • Static type checking (unit safety)
  • Type inference
  • Strict syntax
  • REPL mode
  • Excellent error messages
  • Customizable: the whole system of physical dimensions and units is written in Numbat itself and can be modified or replaced

Development

Run Numbat CLI

cargo run -- <numbat args>

Install the CLI version

cargo install -f --path numbat-cli

Run all tests

cargo test