RPNCalc
RPN calculator written in Free Pascal / Lazarus. Supports standard functions, trigonometry with angle modes (deg/rad/gra) and stack operations (Swap, Drop, Dup).
- Active · last change 3-18-2026
- ★ 2 on GitHub
README
RPNCalc
A fast, lightweight Reverse Polish Notation calculator built with Lazarus and Free Pascal.

RPNCalc is a desktop calculator designed for users who prefer the efficiency of RPN (postfix notation). By eliminating the need for parentheses, it allows for faster complex calculations and provides a clear view of the evaluation stack.
🚀 Features
- RPN Engine: Efficiently handle complex expressions without parentheses.
- Visual Stack: See exactly what is on the stack at any given time.
- Native Performance: Built with Free Pascal for high speed and low memory usage.
- Standalone Binary: No heavy dependencies or installers required for Linux.
🛠 Getting Started
Prerequisites
- Lazarus: the Free Pascal RAD IDE. If you can run Lazarus on your platform, you can compile this code.
Installation
You can run the standalone binary immediately if you are running a 64-bit Linux distribution.
- Download the latest release from the Releases page.
- Open your terminal and navigate to the download folder.
- Give the file execution permissions:
chmod +x rpncalc - Run the application:
./rpncalc
Building from Source
To compile the project yourself, you will need the Lazarus IDE:
- Clone the repository:
git clone [https://github.com/tailkinker/RPNCalc.git](https://github.com/tailkinker/RPNCalc.git) - Open Lazarus.
- Go to Project > Open Project and select
rpncalc.lpi. - Press F9 to build and run.
- Alternately, run lazbuild rpncalc.lpi in the source directory.
📜 License
Distributed under the GNU GPL v3 License. See LICENSE for more information.
Author: tailkinker

