abacus
abacus copied to clipboard
parse_polish/1
trafficstars
This would solve #19. Negative numbers need to be written like this ( - 3 ), which results in -3. And also rn I cant write things like (+ 1 2 3), this should result in {:add, 1, {:add, 2, {:add, 3}}}. But I dont know how to implement this. Except for this everything works as expected.
that was quick. before I properly review it, at first glance it looks good, but I have no clue if a deep variable access in polish notation is the same as the normal notation:
foo.bar.baz vs . (. foo bar) baz