[{"data":1,"prerenderedAt":319},["ShallowReactive",2],{"family-lisp":3,"family-members-lisp":251,"family-siblings":293},{"id":4,"title":5,"author":6,"body":7,"description":208,"extension":216,"family":217,"features":218,"homepage":225,"logo":226,"meta":227,"name":5,"navigation":228,"note":229,"path":230,"references":231,"relations":226,"seo":246,"status":247,"stem":248,"urls":226,"year":249,"__hash__":250},"families\u002Ffamilies\u002Flisp.md","Lisp","John McCarthy (MIT)",{"type":8,"value":9,"toc":207},"minimark",[10,15,24,28,52,56,172,178,182,185,189,195],[11,12,14],"h2",{"id":13},"overview","Overview",[16,17,18,19,23],"p",{},"Lisp's defining property is that source and data share a representation. A\nprogram is a list of lists, the reader turns text into that structure, and\n",[20,21,22],"code",{},"eval"," runs it — so the language can be extended from inside itself. Every\nmember keeps that property and disagrees about how much of it to expose.",[11,25,27],{"id":26},"distinctive-traits","Distinctive traits",[29,30,31,35,38,41,44],"ul",{},[32,33,34],"li",{},"Homoiconicity: the surface syntax is the data structure. That is what makes\nmacro systems meaningful rather than textual substitution.",[32,36,37],{},"Macros over a parsed form, not text. A macro is a program from forms to\nforms, expanded before evaluation and therefore hygienic by construction in\nScheme-derived members.",[32,39,40],{},"First-class functions with closures, from the 1960 paper onward, and a\ngarbage-collected heap in the original implementation.",[32,42,43],{},"Interactive development: read-eval-print, and in several members a running\nimage you modify rather than a binary you rebuild.",[32,45,46,47,51],{},"Divergence into three branches by ",[48,49,50],"em",{},"namespace policy",": Common Lisp keeps\nseparate function and value namespaces, Scheme has one, Clojure has one with\nimmutable persistent data as the default.",[11,53,55],{"id":54},"members-and-what-each-one-changed","Members and what each one changed",[57,58,59,75],"table",{},[60,61,62],"thead",{},[63,64,65,69,72],"tr",{},[66,67,68],"th",{},"Language",[66,70,71],{},"Branch",[66,73,74],{},"What it changed",[76,77,78,98,116,130,144,158],"tbody",{},[63,79,80,88,91],{},[81,82,83],"td",{},[84,85,87],"a",{"href":86},"\u002Flanguages\u002Fclojure","Clojure",[81,89,90],{},"new dialect targeting the JVM (2007)",[81,92,93,94,97],{},"persistent immutable data structures, software transactional memory, ",[20,95,96],{},"seq"," abstraction over host collections",[63,99,100,106,109],{},[81,101,102],{},[84,103,105],{"href":104},"\u002Flanguages\u002Fracket","Racket",[81,107,108],{},"Scheme (PLT, from 1995)",[81,110,111,112,115],{},"the language is a library decision: ",[20,113,114],{},"#lang"," chooses the reader and semantics per module",[63,117,118,124,127],{},[81,119,120],{},[84,121,123],{"href":122},"\u002Flanguages\u002Fjanet","Janet",[81,125,126],{},"new small dialect",[81,128,129],{},"embeddable single-binary design with a bytecode VM and fibers",[63,131,132,138,141],{},[81,133,134],{},[84,135,137],{"href":136},"\u002Flanguages\u002Ffemtolisp","FemtoLisp",[81,139,140],{},"Scheme-derived, minimal",[81,142,143],{},"a tiny Scheme used as a bootstrapping layer (originally inside Julia)",[63,145,146,152,155],{},[81,147,148],{},[84,149,151],{"href":150},"\u002Flanguages\u002Flfe","LFE",[81,153,154],{},"Lisp syntax for the Erlang VM",[81,156,157],{},"Erlang's actor semantics with Lisp forms, compiling to BEAM",[63,159,160,166,169],{},[81,161,162],{},[84,163,165],{"href":164},"\u002Flanguages\u002Fhyperlisp","Hyperlisp",[81,167,168],{},"Lisp variant",[81,170,171],{},"a hypertext-oriented dialect in the Thompson collection",[16,173,174,175,177],{},"Membership is again descent from the s-expression-plus-",[20,176,22],{}," core, not a\nfeature list: LFE is a concurrency system that happens to be a Lisp, while\nRacket is a language-construction toolkit that happens to be a Scheme.",[11,179,181],{"id":180},"status","Status",[16,183,184],{},"Active. Clojure and Racket are in production use, Scheme has a current standard\n(R7RS), Common Lisp has an ANSI standard, and the macro-plus-REPL model has\nsince been adopted by non-Lisp languages.",[11,186,188],{"id":187},"history","History",[16,190,191,192,194],{},"McCarthy published the design in 1960, with ",[20,193,22],{}," written out as a Lisp\nfunction and garbage collection as part of the machine model. Scheme followed\nin 1975 (Sussman and Steele) with lexical scope and proper tail calls. Common\nLisp was standardized as ANSI INCITS 226-1994 to unify the 1980s implementations.\nClojure arrived in 2007, and Racket grew out of the PLT Scheme project.",[196,197,198],"note",{},[16,199,200,201,203,204,206],{},"Read ",[84,202,87],{"href":86}," for the immutability turn and\n",[84,205,105],{"href":104}," for the language-as-library turn; both keep the\ns-expression core that defines the family.",{"title":208,"searchDepth":209,"depth":209,"links":210},"",2,[211,212,213,214,215],{"id":13,"depth":209,"text":14},{"id":26,"depth":209,"text":27},{"id":54,"depth":209,"text":55},{"id":180,"depth":209,"text":181},{"id":187,"depth":209,"text":188},"md","lisp",[219,220,221,222,223,224],"homoiconicity","s-expressions","macro-extension","first-class-functions","garbage-collection","read-eval-loop","https:\u002F\u002Fwww.lispworks.com\u002Fdocumentation\u002FHyperSpec\u002FFront\u002Findex.htm",null,{},true,"The family defined by code-as-data: programs are s-expressions, so a program can construct and evaluate programs, and macro systems extend the language itself. McCarthy's Lisp at MIT began it; Common Lisp, Scheme, and Clojure are the three main branches, and Racket is Scheme's language-workbench descendant.","\u002Ffamilies\u002Flisp",[232,235,237,240,243],{"url":233,"title":234},"https:\u002F\u002Fwww-formal.stanford.edu\u002Fjmc\u002Frecursive.pdf","Recursive Functions of Symbolic Expressions and Their Computation by Machine, Part I — John McCarthy (1960)",{"url":225,"title":236},"Common Lisp HyperSpec — ANSI INCITS 226-1994 (R1999)",{"url":238,"title":239},"https:\u002F\u002Fstandards.scheme.org\u002Fcorrected-r7rs\u002Fr7rs.html","Revised^7 Report on the Algorithmic Language Scheme (R7RS)",{"url":241,"title":242},"https:\u002F\u002Fclojure.org\u002F","Clojure — official site",{"url":244,"title":245},"https:\u002F\u002Fracket-lang.org\u002F","Racket — official site",{"title":5,"description":208},"active","families\u002Flisp",1958,"iESn-3HTogFrf5j5DCkilECDsu9A4VtJZNNYan5EgMc",[252,253,254,255,256,257,258,262,271,280,286],{"name":87,"path":86,"logo":226,"year":226,"kind":226,"status":226,"note":226,"paradigms":226,"typing":226},{"name":137,"path":136,"logo":226,"year":226,"kind":226,"status":226,"note":226,"paradigms":226,"typing":226},{"name":165,"path":164,"logo":226,"year":226,"kind":226,"status":226,"note":226,"paradigms":226,"typing":226},{"name":123,"path":122,"logo":226,"year":226,"kind":226,"status":226,"note":226,"paradigms":226,"typing":226},{"name":151,"path":150,"logo":226,"year":226,"kind":226,"status":226,"note":226,"paradigms":226,"typing":226},{"name":105,"path":104,"logo":226,"year":226,"kind":226,"status":226,"note":226,"paradigms":226,"typing":226},{"name":5,"path":259,"logo":226,"year":249,"kind":260,"status":247,"note":261,"paradigms":226,"typing":226},"\u002Flanguages\u002Flisp","language","The original symbolic-computation language: McCarthy's 1960 paper defines `cons`, `car`\u002F`cdr`, conditional expressions, the lambda notation and a universal `eval`, which together make code and data the same s-expressions. Later dialects keep that property; this row is the language itself.",{"name":263,"path":264,"logo":226,"year":265,"kind":260,"status":247,"note":266,"paradigms":267,"typing":270},"Scheme","\u002Flanguages\u002Fscheme",1975,"A minimal Lisp built on lexical scope and lambda: one namespace, first-class continuations reachable through `call\u002Fcc`, and tail calls required to be constant-space. The R7RS report is the current definition, and its `syntax-rules` macros are hygienic by construction.",[268,269],"functional","logic","dynamic",{"name":272,"path":273,"logo":226,"year":274,"kind":260,"status":247,"note":275,"paradigms":276,"typing":270},"Common Lisp","\u002Flanguages\u002Fcommon-lisp",1984,"The standardized, large Lisp: one specification (ANSI INCITS 226-1994, first published as *Common Lisp: The Language* in 1984) covering a condition system, CLOS with multiple dispatch, and a separate function\u002Fvalue namespace. It unified the competing 1980s Lisp dialects rather than descending from one.",[268,277,278,279],"imperative","modular","object-oriented",{"name":281,"path":282,"logo":226,"year":274,"kind":260,"status":283,"note":284,"paradigms":285,"typing":270},"Kyoto Common Lisp","\u002Flanguages\u002Fkyoto-common-lisp","historical","KCL, the Kyoto Common Lisp of Yuasa and Hagiya, compiles Common Lisp to C so the same sources build on any Unix with a C compiler. It was among the first Common Lisp implementations and, by being written from the specification alone, exposed holes in it; AKCL and later ECL descend from it.",[268,278],{"name":287,"path":288,"logo":226,"year":289,"kind":260,"status":226,"note":290,"paradigms":291,"typing":226},"Lion","\u002Flanguages\u002Flion",2026,"A homoiconic Lisp whose every program is valid JSON, evaluated on Effect, with a Datalog-style logic database and runtime schemas in the same syntax.",[292,268,269],"effect",[294,297,300,303,306,307,310,313,316],{"name":295,"path":296},"ALGOL","\u002Ffamilies\u002Falgol",{"name":298,"path":299},"C","\u002Ffamilies\u002Fc",{"name":301,"path":302},"ECMAScript","\u002Ffamilies\u002Fecmascript",{"name":304,"path":305},"HCL","\u002Ffamilies\u002Fhcl",{"name":5,"path":230},{"name":308,"path":309},"ML","\u002Ffamilies\u002Fml",{"name":311,"path":312},"OBJ","\u002Ffamilies\u002Fobj",{"name":314,"path":315},"PL\u002FI","\u002Ffamilies\u002Fpl-i",{"name":317,"path":318},"Smalltalk","\u002Ffamilies\u002Fsmalltalk",1795219071681]