https://github.com/missn0body/inator
A terminal program that evaluates simple math expressions piecewise
https://github.com/missn0body/inator
calculator calculator-app linux terminal terminal-based
Last synced: about 1 month ago
JSON representation
A terminal program that evaluates simple math expressions piecewise
- Host: GitHub
- URL: https://github.com/missn0body/inator
- Owner: missn0body
- License: lgpl-3.0
- Created: 2024-02-13T03:44:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-29T05:10:59.000Z (over 1 year ago)
- Last Synced: 2025-02-07T12:14:32.887Z (8 months ago)
- Topics: calculator, calculator-app, linux, terminal, terminal-based
- Language: C++
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# inator
Welcome to the Calculator-Inator. An interactive terminal application where you
can evaluate math expressions piecewise. For instance, to evaluate the expression
'1 + 2 + 3' at the prompt, you can type in '1' to load the number one into its
internal buffer, '+ 2' and then '+ 3' to evaluate '1 + 2 + 3'. As of version 1.0.0,
the only operators supported are addition, subtraction, multiplication, division, and
exponentiation. This program does not have command-line arguments.This program was particularly inspired by older BASIC interpreters such as GW-BASIC
or Commodore BASIC, as well as line editors such as 'ed' and 'edlin'. This idea might
have been half-baked in hindsight, but I like the enjoyment of making my own tools, plus
I plan to add additional functionality later on.### v.1.0.0 (First release)
(February 2024)
Welcome to the Calculator-Inator.
Copyright 2023, anson. See LICENSE for related details.