I fail to see how this is functional. --lament 19:13, 26 June 2007 (UTC)
- Unless you find a way to store + in a variable, it isn't. --Ihope127 19:34, 26 June 2007 (UTC)
- Sorry, my error. I thought it was functional, but alas no. As Mark C. Chu-Carroll pointed out in his "Good math, bad math" blog, it is only prefix notation which I use. --Boily 03:03, 27 June 2007 (UTC)
The linked interpreter does not seem to support strings. Not even the "Hello World" example works. --Marinus 03:05, 11 September 2010 (UTC)
Questions that arose while trying to write an interpreter:
- Do all expressions have to evaluate to something?
- If so, what does a loop evaluate to? And 'set a variable' instructions?
- Do all expressions have to be used as the arguments to higher-order expressions, so that the whole program is in fact one expression? Or can expressions be "concatenated" in a way that the result of some expressions is simply discarded? (and thus only the side-effects would matter)