Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blitz/clac
A reverse polish calculator - a modern replacement for dc
https://github.com/blitz/clac
Last synced: 1 day ago
JSON representation
A reverse polish calculator - a modern replacement for dc
- Host: GitHub
- URL: https://github.com/blitz/clac
- Owner: blitz
- License: agpl-3.0
- Created: 2021-04-18T19:48:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-02T14:32:20.000Z (5 days ago)
- Last Synced: 2024-11-02T15:26:24.136Z (5 days ago)
- Language: Rust
- Size: 74.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CLAC - A Reverse Polish Calculator
[![stability-experimental](https://img.shields.io/badge/stability-experimental-orange.svg)](https://github.com/emersion/stability-badges#experimental)
![GitHub](https://img.shields.io/github/license/blitz/clac.svg)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/blitz/clac)Clac is a reverse-polish calculator _like_
[dc](https://en.wikipedia.org/wiki/Dc_(computer_program)), but vastly
simpler and with display of the current argument stack.## Building and Running (Nix)
```sh
% nix run
```## Installing (Cargo)
```sh
% cargo build
% cargo install
```## Usage Example
```sh
% clac
| 1 1 +
2 | 10 <<
2048 | hex
0x800 | 0x10 |
0x810 |
```