Skip to content

gabeiglio/Euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Euler

Euler is a mathematical expression evaluator. It features a recursive descent parser that directly compiles to bytecode (One pass)

Use

Simple arithmetic

> (2 + 12) * (2 - -2) / 1
56

Trigonometric functions (sin, cos, tan)

> sin(12)
-0.53657291

Features:

  • Arithmetic expressions (addition, substraction, division and multiplication, and exponenciation)
  • Trigonometric functions sin, cos, tan
  • Constants like pi and e

Installation

For now it has only been tested on OS X and clang so I would not be surprised if it only works on that enviroment. Just clone the project and run make in the src directory.

About

Math Engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published