diff options
author | Preston Pan <preston@nullring.xyz> | 2024-01-06 14:59:49 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2024-01-06 14:59:49 -0800 |
commit | a70b986d42c89def265a396f8cedd23c749be1f9 (patch) | |
tree | 72b88443b5ce0c1af914dc3b34906fbbde032dec /README.org | |
parent | 77afa3abf898c0535f9d2c96f6c6fc6939932c60 (diff) |
fix all bug part 2
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,9 +50,9 @@ names functions and automatically changes what those functions do. Looping in this language is done via recursion. Because the language is stack-based, recursion is not more memory efficient than looping if using tail recursion. For example, the REPL for this language is implemented like so: #+begin_example -loop [ "> " read evalstr loop ] func loop +loop [ "> " . read strquote eval loop ] func loop #+end_example -Where read takes in a string and prints it before reading a value, evalstr evaluates a string, and loop is the function that calls +Where read takes in a string and prints it before reading a value, strquote turns a string into a quote, and loop is the function that calls itself. *** Curry, Compose, Qstack, Quote |