Re:How Lisp Became God's Own Programming Language
by thaumasiotes on Tuesday October 16, 2018 @10:44PM
(#18235711)
> Delimitation of arguments is necessary for variadic functions, like list.
This is not the case; you can easily have a Forth word that consumes however many arguments as are on the stack.
Re:How Lisp Became God's Own Programming Language
by kazinator on Wednesday October 17, 2018 @10:51AM
(#18239622)
Ah, but the argument was made that Forth code has an implicit tree structure based on looking up the arity of functions, in place of explicit delimitation with parentheses. How can that be if some function takes N arguments, where N is, say, a run-time value, itself on the stack.
Also, Lisp supports variadic functions with the same safety. Delimitation of arguments is necessary for variadic functions, like list.
The structure of every top-level form is an actual tree object in memory that is constructed before anything else happens. It can be walked by macros, or quoted so that the program accesses it as data directly.
Basically, nothing like Forth.