4 ms·
> But without (for example) basic integer/float types and operations. So you can’t do (+ 1 2). So you cannot do "(+ 1 2)"? It is being compared to Forth, excep
by johnisgood 2y ago
> But without (for example) basic integer/float types and operations. So you can’t do (+ 1 2).
So you cannot do "(+ 1 2)"? It is being compared to Forth, except in Forth you can do "1 2 +", and much more.
- jecel 2y agoWhile (+ 1 2) doesn't work in the basic system, it is possible to extend it entirely in Lisp so that it does work. You could use Church numerals to represent the numbers, for example. I once did it by representing numbers as lists of hex digits because I was writing a 6809 assembler in Lisp and hex math made it convenient.