This is a simple pratt parser
Go to file
Bruno BELANYI 399150be15 pratt: operators: unary minus loses to power
This is to make it work in accordance with python which gives us:
`assert -2 ** 2 == -4`
2020-11-08 19:03:24 +01:00
src pratt: operators: unary minus loses to power 2020-11-08 19:03:24 +01:00
tests tests: exponentation right-associativity 2020-11-08 18:42:53 +01:00
.drone.yml ci: add Drone CI 2020-11-08 18:42:53 +01:00
.gitignore git: ignore: add 'testsuite' executable 2020-11-08 18:42:53 +01:00
Makefile tests: add testsuite 2020-11-08 18:42:53 +01:00