Skip to content

GabrielBrandao1618/math-expr-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

math-expr-parser

A math expression parser made in Rust

Usage

math-expr-parser <EXPRESSION>

Where EXPRESSION is a mathematical expression, it can be "1 + 5" for example

Features

  • Respect operator precendency
  • Resolve operations inside parentheses
  • All basic arithmetic operations, such as sum, subtraction, multiplication, division and power

Operators

  • + : Sum
  • - : Subtraction
  • * : Multiplication
  • / : Division
  • ^ : Power

About

A math expression parser made in Rust

Topics

Resources

Stars

Watchers

Forks

Languages