https://github.com/yawkar/calculator
A simple command-line calculator that creates a computational graph based on the expressions you enter.
https://github.com/yawkar/calculator
calculator laboratory-work parser
Last synced: about 1 year ago
JSON representation
A simple command-line calculator that creates a computational graph based on the expressions you enter.
- Host: GitHub
- URL: https://github.com/yawkar/calculator
- Owner: YawKar
- Created: 2022-02-03T14:17:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-09T22:54:53.000Z (almost 4 years ago)
- Last Synced: 2025-02-15T04:26:31.595Z (over 1 year ago)
- Topics: calculator, laboratory-work, parser
- Language: C
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Calculator - CLIed calculator with graphs
A small command-line calculator that builds a computational graph based on the expressions you enter and computes the value of the specific node
## Commands
* `help` : prints all commands with their descriptions
* `set [variable-name] [definition]` : adds (or reassign) the definition (or expression) of the variable-node named 'variable-name'
* `exit` : exits calculator
* `showvars` : shows all variables with their assigned-status and the last assigned definition
* `info` : shows different information about graph engine's current state
* `evaluate [variable-name]` : evaluates the value of the variable-node named 'variable-name'
## Technologies
Project is created with:

* C language