[{"data":1,"prerenderedAt":280},["ShallowReactive",2],{"family-algol":3,"family-members-algol":229,"family-siblings":254},{"id":4,"title":5,"author":6,"body":7,"description":186,"extension":194,"family":195,"features":196,"homepage":203,"logo":204,"meta":205,"name":5,"navigation":206,"note":207,"path":208,"references":209,"relations":204,"seo":224,"status":225,"stem":226,"urls":204,"year":227,"__hash__":228},"families\u002Ffamilies\u002Falgol.md","ALGOL","ALGOL 58\u002F60 committees (ACM\u002FGAMM), with Niklaus Wirth on ALGOL 60",{"type":8,"value":9,"toc":185},"minimark",[10,15,19,23,59,63,156,159,163,166,170,173],[11,12,14],"h2",{"id":13},"overview","Overview",[16,17,18],"p",{},"ALGOL is where the shape of a modern imperative language was decided. Block\nstructure, nested scope, typed declarations, and recursive procedures were\nformalized in ALGOL 60, and its BNF grammar made language specification a\nreproducible artifact. Members keep that scaffolding while changing what lives\ninside the blocks.",[11,20,22],{"id":21},"distinctive-traits","Distinctive traits",[24,25,26,30,50,53,56],"ul",{},[27,28,29],"li",{},"Block structure with nested scope. Declarations are local to a block, and\nscope is lexical and nestable — the feature the family inherits most directly.",[27,31,32,33,37,38,41,42,45,46,49],{},"Structured control flow. Compound statements, ",[34,35,36],"code",{},"if","\u002F",[34,39,40],{},"else",", ",[34,43,44],{},"for",", and\n",[34,47,48],{},"while"," replaced ad-hoc jumps as the primary form, later formalized as\nstructured programming.",[27,51,52],{},"Declarations precede use, with static types fixed at compile time. The\nprocedural body is a block, not a file.",[27,54,55],{},"Recursion is supported as a first-class technique, which was a research\nclaim in 1960 and is now assumed everywhere.",[27,57,58],{},"The syntax is defined by a formal grammar (BNF, introduced for ALGOL 60), so\nthe specification and the parser are the same document.",[11,60,62],{"id":61},"members-and-what-each-one-changed","Members and what each one changed",[64,65,66,82],"table",{},[67,68,69],"thead",{},[70,71,72,76,79],"tr",{},[73,74,75],"th",{},"Language",[73,77,78],{},"Lineage",[73,80,81],{},"What it changed",[83,84,85,100,114,128,142],"tbody",{},[70,86,87,94,97],{},[88,89,90],"td",{},[91,92,5],"a",{"href":93},"\u002Flanguages\u002Falgol",[88,95,96],{},"ALGOL 58 (1958) and ALGOL 60 (1960)",[88,98,99],{},"— (the reference point)",[70,101,102,108,111],{},[88,103,104],{},[91,105,107],{"href":106},"\u002Flanguages\u002Fsimula","SIMULA",[88,109,110],{},"ALGOL 60 with simulation primitives (1962–67)",[88,112,113],{},"added classes, subclasses, and coroutines for discrete-event simulation — the origin of object orientation",[70,115,116,122,125],{},[88,117,118],{},[91,119,121],{"href":120},"\u002Flanguages\u002Fpascal","Pascal",[88,123,124],{},"ALGOL-W (Wirth, 1966), then Pascal (1970)",[88,126,127],{},"simplified the language for teaching, added records and enumerated types",[70,129,130,136,139],{},[88,131,132],{},[91,133,135],{"href":134},"\u002Flanguages\u002Fdelphi","Delphi",[88,137,138],{},"Pascal (Borland, 1995)",[88,140,141],{},"components and a visual designer over an object Pascal dialect",[70,143,144,150,153],{},[88,145,146],{},[91,147,149],{"href":148},"\u002Flanguages\u002Fada","Ada",[88,151,152],{},"a redesigned ALGOL-family language (1980, 1983 standard)",[88,154,155],{},"packages, generics, exceptions, and strong typing for embedded and safety-critical systems",[16,157,158],{},"The family's most consequential branch is SIMULA, where blocks grew classes:\nobject orientation inherits from this lineage, which is why Smalltalk and\nSIMULA are both object-oriented without being in the same family.",[11,160,162],{"id":161},"status","Status",[16,164,165],{},"Historical at the root, active in its descendants. ALGOL 60 is retired as a\npractical language but its structure is universal; Ada is standardized and in\nsafety-critical use, Pascal and Delphi remain in production, and SIMULA's ideas\nare embedded in every object system.",[11,167,169],{"id":168},"history","History",[16,171,172],{},"ALGOL 58 was a joint ACM\u002FGAMM design; the revised ALGOL 60 report (Naur et al.,\n1963) fixed block structure and BNF and became the model for language\nspecification. Wirth left the committee over disagreements about complexity,\nproduced ALGOL-W, and then Pascal in 1970. Dahl and Nygaard's SIMULA added\nclasses by 1967. Ada was developed from 1977 under a Department of Defense\nrequirement and standardized as MIL-STD-1815 in 1980, then as ISO 8652 in 1987.",[174,175,176],"note",{},[16,177,178,179,181,182,184],{},"Read ",[91,180,121],{"href":120}," for the teaching simplification and\n",[91,183,107],{"href":106}," for the branch that turned blocks into classes;\nboth are in this family, and only the second is also in the object-oriented\nparadigm's ancestry.",{"title":186,"searchDepth":187,"depth":187,"links":188},"",2,[189,190,191,192,193],{"id":13,"depth":187,"text":14},{"id":21,"depth":187,"text":22},{"id":61,"depth":187,"text":62},{"id":161,"depth":187,"text":162},{"id":168,"depth":187,"text":169},"md","algol",[197,198,199,200,201,202],"block-structure","nested-scope","typed-declarations","structured-control-flow","recursive-procedures","bnf-specified-syntax","https:\u002F\u002Fwww.masswerk.at\u002Falgol60\u002Freport.htm",null,{},true,"The family defined by block structure: names are declared in nested scopes, control flow is structured rather than arbitrary jumps, procedures recurse, and the syntax was specified in BNF for the first time. ALGOL 58 and ALGOL 60 began it; Pascal, ADA, and SIMULA carry the block-and-declaration model forward.","\u002Ffamilies\u002Falgol",[210,212,215,218,221],{"url":203,"title":211},"Revised Report on the Algorithmic Language ALGOL 60 — Naur et al. (1963)",{"url":213,"title":214},"https:\u002F\u002Fwww.ethw.org\u002FMilestones:ALGOL_58","Milestone: ALGOL 58 (IEEE Engineering and Technology History Wiki)",{"url":216,"title":217},"https:\u002F\u002Fwww.ethw.org\u002FMilestones:Object-Oriented_Programming,_1961-1967","Milestone: Object-Oriented Programming, 1961-1967 — SIMULA (IEEE ETHW)",{"url":219,"title":220},"https:\u002F\u002Fwww.open-std.org\u002Fjtc1\u002Fsc22\u002Fwg9\u002F","ISO\u002FIEC JTC1\u002FSC22\u002FWG9 — Ada standard committee",{"url":222,"title":223},"https:\u002F\u002Fwww.freepascal.org\u002F","Free Pascal — open-source Pascal compiler",{"title":5,"description":186},"active","families\u002Falgol",1958,"0tdBI-VsjvEb_O9oo6LT02rrOGedxythvyriWQw56Bw",[230,231,232,233,242,247],{"name":149,"path":148,"logo":204,"year":204,"kind":204,"status":204,"note":204,"paradigms":204,"typing":204},{"name":135,"path":134,"logo":204,"year":204,"kind":204,"status":204,"note":204,"paradigms":204,"typing":204},{"name":107,"path":106,"logo":204,"year":204,"kind":204,"status":204,"note":204,"paradigms":204,"typing":204},{"name":5,"path":93,"logo":204,"year":227,"kind":234,"status":235,"note":236,"paradigms":237,"typing":241},"language","historical","The language that fixed the shape of the imperative language: block structure, nested lexical scope, typed declarations, recursive procedures, and the first syntax specified in BNF. Call-by-name and `own` variables were its distinctive risks; every later block-structured language descends from it.",[238,239,240],"imperative","modular","structured","static",{"name":121,"path":120,"logo":204,"year":243,"kind":234,"status":225,"note":244,"paradigms":245,"typing":241},1970,"Wirth's teaching language for structured programming: `if`\u002F`while`\u002F`for`\u002F`repeat` and single-entry control flow, with records, sets and enumerations over ALGOL's block structure. It made disciplined control flow the default and became the standard introductory language of the 1970s and 80s.",[238,239,240,246],"systems",{"name":248,"path":249,"logo":204,"year":250,"kind":234,"status":225,"note":251,"paradigms":252,"typing":241},"Modula-2","\u002Flanguages\u002Fmodula-2",1978,"Wirth's successor to Pascal: `MODULE` with explicit `IMPORT`\u002F`EXPORT` lists, coroutines in the language, and the `SYSTEM` pseudo-module for low-level work. It gave Pascal what Mesa had shown mattered — a real module system — without abandoning the block structure.",[238,239,253],"concurrent",[255,256,259,262,265,268,271,274,277],{"name":5,"path":208},{"name":257,"path":258},"C","\u002Ffamilies\u002Fc",{"name":260,"path":261},"ECMAScript","\u002Ffamilies\u002Fecmascript",{"name":263,"path":264},"HCL","\u002Ffamilies\u002Fhcl",{"name":266,"path":267},"Lisp","\u002Ffamilies\u002Flisp",{"name":269,"path":270},"ML","\u002Ffamilies\u002Fml",{"name":272,"path":273},"OBJ","\u002Ffamilies\u002Fobj",{"name":275,"path":276},"PL\u002FI","\u002Ffamilies\u002Fpl-i",{"name":278,"path":279},"Smalltalk","\u002Ffamilies\u002Fsmalltalk",1795219071568]