8000 GitHub - strange-dv/calculator_parser: Simple calculator parser implemented in Rust
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

strange-dv/calculator_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Parser


A program that implements simple parsing (in all senses of the word) and calculates simple arithmetic operations

Operations

Operator Operation
+ Add
- Subtract
* Multiple
/ Divide
^ Power

Program also support parentheses that can be used to change order of operations

Example

> 2 + 2
4
> 2 ^ 3
8
> 45 - 32
13
> 4 * 3 / 2
6
... and more

Usage

Simply run

cargo run

Recourses

About

Simple calculator parser implemented in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0