ref: de037ae177f0933531b7c9ac3cb3d57459968d5f Replicalc/README.md -rw-r--r-- 1.5 KiB
de037ae1David Heinemann Fix incorrect tokenization of negative numbers 7 months ago


Replicalc is a simple keyboard-driven calculator for Linux, Windows, and MS-DOS. Expressions are evaluated inside a REPL, similar to the classic TI-83 calculator.


Replicalc, Copyright (C) 2021 David Heinemann
Replicalc comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the LICENSE file for details.

> 10 * (2 + 3) / 2


This is a hobby project to learn the C programming language. The code is bad and will contain bugs; it can be considered an early alpha. Run at your own risk.

#Supported Operators

  • Addition (+), Subtraction (-), Multiplication (*), Division (/)
  • Exponents (^)
  • Parenthesis ((, ))

Additional operators are forthcoming.


Before proceeding, initialize all Git submodules if you haven't already done so:

git submodule init
git submodule update


  1. Install the ncurses development library. For example (Fedora): sudo dnf install ncurses-devel
  2. Navigate to the linux directory.
  3. Run make.

#Windows 95, 98, ME, 2000, XP, 7, 8, 10

  1. Install the Open Watcom compiler for Windows.
  2. Navigate to the win32 directory.
  3. Run wmake.

#MS-DOS, Windows 1, 2, 3

  1. Install the Open Watcom compiler for DOS.
  2. Navigate to the dos directory.
  3. Run wmake.


Replicalc is published under the GNU General Public License, version 2. See the LICENSE file for more information.