Re:Show HN: a lexer, parser, interpreter and web runtime (np...
by Udo on Sunday March 17, 2013 @07:19PM
(#5391522)
Ah, I'm so dense! Sure, there is also "math.pi" as a built-in for that. (And I fixed this grave rounding error)
I also discovered a scope problem with the recursion example you gave. Turns out, there is (of course) a major bug in there, thanks for discovering that. It's about the visibility of the "factorial" symbol itself, so the workaround is for now:
I also discovered a scope problem with the recursion example you gave. Turns out, there is (of course) a major bug in there, thanks for discovering that. It's about the visibility of the "factorial" symbol itself, so the workaround is for now:
At least, until I restart the service (which I don't want to do while everyone is potentially using the tutorial).