Skip to content

stuxxnet42/RPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

RPN

a functional reverse polish notation calculator

the modular design allows for simple implementation of new types

compile with -std=c++17

usage is:

echo "$SomeCalculation" | ./rpn {$mode}

where $mode is either 'i' for int, 'b' for bool or empty for float

example: % echo "1 5 + 2.3 * cos" | ./rpn

0.330816

% echo "1 0 + 0 * not" | ./rpn b

1

About

a functional RPN calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages