Python implementation of a reverse polish notation parser
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Johann Schmitz 7773c65e9e
Fixed spelling error
pirms 4 gadiem
src/rpn Don't blindly take a string as a number pirms 4 gadiem
tests Fixed spelling error pirms 4 gadiem
.gitignore Initial code commit pirms 4 gadiem
.travis.yml Initial commit pirms 4 gadiem
LICENSE.txt Initial commit pirms 4 gadiem
Makefile Initial commit pirms 4 gadiem
README.md Updated README.md pirms 4 gadiem
requirements.txt Initial commit pirms 4 gadiem
requirements_dev.txt Initial commit pirms 4 gadiem
setup.py Added setup.py pirms 4 gadiem

README.md

pyrpn

Build Status Coverage Status

pyrpn is a Python implementation of a RPN (reverse polish notation) parser.

Usage

from rpn import RPN

print(RPN().calc('2 3 +'))
>> 5

License

See LICENSE.txt