An open API service indexing awesome lists of open source software.

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.

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](https://img.shields.io/badge/C-00599C?style=for-the-badge&logo=c&logoColor=white)
* C language