|
|
|
|
|
by trwm
776 days ago
|
|
>This is of course true, but there's something very broken with lisp: metaprogramming and programming aren't the same thing, Metaprogramming and programming are the same thing. It's just that no language, including all lisp, (but hilariously not m4) get quotation wrong. Lisp gets around this with macros which let you ignore quotation and deal with meta language statements expressed as object language statements when they clearly should not be. This issue stems from the fact space in the object and meta language is treated as the termination of an atom without distinction between the two. >Cognition is different in that it uses an antisyntax that is fully postfix. This has similarities with concatenative programming languages Postfix languages are a dual of prefix languages and suffer from the same issue. You either need to define the arity of all symbols ahead of time and not use higher order functions or you need a pair of delimiters which can serialise a tree. Relying on an implicit zeroth order stack solved the problem in the same way a lobotomy solves depression. |
|