clac
« Back to VersTracker
Description:
Command-line, stack-based calculator with postfix notation
Type: Formula  |  Latest Version: 0.3.4@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Productivity
Tags: calculator cli postfix math utility
Install: brew install clac
About:
Clac is a command-line, stack-based calculator that uses postfix notation for arithmetic operations. It provides a simple yet powerful interface for complex calculations without the need for a GUI. Its lightweight nature makes it ideal for quick computations directly in the terminal.
Key Features:
  • Postfix notation for intuitive complex calculations
  • Arbitrary precision arithmetic support
  • Interactive mode with persistent stack
  • Lightweight and dependency-free
Use Cases:
  • Quick command-line arithmetic without opening a GUI calculator
  • Complex mathematical computations using stack-based logic
  • Scripting and automation tasks requiring precise calculations
Alternatives:
  • bc – Clac uses postfix notation and an interactive stack, while bc uses infix notation and standard scripting syntax.
  • calc – Clac is more minimalist and focuses specifically on the stack-based postfix paradigm.
License: BSD-2-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 8:03pm 0 VERSION_BUMP 0dd00a69
Sep 18, 2024 2:50pm 0 VERSION_BUMP 1cd8393c