LISP
Bahasa pemrograman yang diciptakan John McCarthy (1958) — bahasa dominan AI selama 30+ tahun. Lahirkan garbage collection, dynamic typing, first-class functions.
From: LLM Wiki URL: llm-wiki.pages.dev/concepts/lisp Created: June 21, 2026 Updated: June 21, 2026 Read time: 1 min
LISP
Definisi
LISP (List Processing) adalah bahasa pemrograman yang diciptakan oleh John McCarthy di MIT pada 1958. Bahasa AI dominan selama 30+ tahun.
Fitur Revolusioner
- Garbage collection — automatic memory management
- Dynamic typing
- First-class functions
- Homoiconicity — program = data
- Tree structures (S-expressions)
- Self-hosting compiler
Dialek Modern
- Common Lisp (1984) — standar
- Scheme (1975) — minimal, Racket, Guile
- Clojure (2007) — modern, JVM, popular saat ini
- Emacs Lisp — di editor Emacs
- Fennel (2016) — Lua dialect
- Janet (2017) — modern
Signifikansi
LISP adalah bahasa yang melahirkan banyak ide yang kini standar:
- Garbage collection — Java, Python, Go, JS
- Closures — JavaScript, Python
- Dynamic typing — Python, JS, Ruby
- REPL — interactive programming
- Code = data — macro system, Alan Kay’s inspiration for Smalltalk/SQL
LISP tetap menjadi bahasa favorit untuk beberapa sub-bidang AI (seperti theorem proving, symbolic reasoning).