articles/lisp.md: update article

This commit is contained in:
tocariimaa 2025-03-06 19:24:55 -03:00
parent ffa46bce73
commit 2cf3b746a6

View file

@ -9,7 +9,7 @@ out to be more popular and Lisps began using it.
Unlike other languages at the time and also modern languages, Lisp is homoiconic, that is, Lisp source code is data that can be manipulated Unlike other languages at the time and also modern languages, Lisp is homoiconic, that is, Lisp source code is data that can be manipulated
by the program itself. This gives Lisp powerful metaprogramming capabilities through the use of macros which modify the program data at compile by the program itself. This gives Lisp powerful metaprogramming capabilities through the use of macros which modify the program data at compile
time. Therefore, Lisp source code directly represents the program as a tree without extra superfluous syntax time. Therefore, Lisp source code directly represents the program as a [tree](abstract_syntax_tree.md) without extra superfluous syntax
(as in mainstream [programming languages](programming_language.md)). (as in mainstream [programming languages](programming_language.md)).
A Lisp can be built on a basic set of primitives such as `cons`, `car`, `cdr`, `lambda`, `apply`, `eval`, `eq`, `quote` and others (as described in the A Lisp can be built on a basic set of primitives such as `cons`, `car`, `cdr`, `lambda`, `apply`, `eval`, `eq`, `quote` and others (as described in the