[{"data":1,"prerenderedAt":169},["ShallowReactive",2],{"generation-5gl":3,"generation-members-5gl":155,"generation-siblings":156},{"id":4,"title":5,"author":6,"body":7,"description":125,"extension":131,"features":132,"generation":138,"homepage":6,"logo":6,"meta":139,"name":5,"navigation":140,"note":141,"path":142,"references":143,"seo":150,"status":151,"stem":152,"urls":6,"year":153,"__hash__":154},"generations\u002Fgenerations\u002F5gl.md","Fifth-generation language",null,{"type":8,"value":9,"toc":124},"minimark",[10,15,60,64,106,110],[11,12,14],"h2",{"id":13},"overview","Overview",[16,17,18,19,23,24,28,29,32,33,36,37,40,41,48,49,54,55,59],"p",{},"The fifth generation is the tier that was ",[20,21,22],"em",{},"promised"," rather than achieved: a\n",[25,26,27],"strong",{},"declarative problem statement"," plus constraints, from which an ",[25,30,31],{},"inference\nengine"," derives a solution with ",[25,34,35],{},"no algorithm specified"," by the programmer. It\nis associated with ",[25,38,39],{},"logic programming"," — ",[42,43,47],"a",{"href":44,"rel":45},"https:\u002F\u002Fwww.logicprogramming.org\u002F",[46],"nofollow","Prolog","\nand its descendants — and with Japan's Fifth Generation Computer Systems project,\nlaunched in 1981. ",[42,50,53],{"href":51,"rel":52},"https:\u002F\u002Fwww.rogerclarke.com\u002FSOS\u002FSwareGenns.html",[46],"Clarke's\nsurvey"," treats it as the\nemergent tier above the ",[42,56,58],{"href":57},"\u002Fgenerations\u002F4gl","fourth",".",[11,61,63],{"id":62},"defining-characteristics","Defining characteristics",[65,66,67,84,90,96],"ul",{},[68,69,70,73,74,78,79,83],"li",{},[25,71,72],{},"Constraint-based rather than procedure-based."," The programmer supplies\nconditions the answer must satisfy, in the hope that search and inference do\nthe rest — the ",[42,75,77],{"href":76},"\u002Fparadigms\u002Flogic","logic"," and\n",[42,80,82],{"href":81},"\u002Fparadigms\u002Fdeclarative","declarative"," styles taken to their limit.",[68,85,86,89],{},[25,87,88],{},"An inference engine as the runtime."," Execution is deduction over a rule\nbase rather than evaluation of instructions, which is what the tier promises\nover the fourth generation's program generation.",[68,91,92,95],{},[25,93,94],{},"Knowledge representation."," The tier is tied to expert systems and\nknowledge bases, where a domain model is the program, in place of either\nprocedures or queries.",[68,97,98,101,102,105],{},[25,99,100],{},"Abstraction above delegation."," Clarke's model frames the fourth generation\nas delegating ",[20,103,104],{},"how"," while the fifth delegates the formulation of the solution\nitself, describing the human relationship as teaching rather than instructing.",[11,107,109],{"id":108},"status","Status",[16,111,112,113,118,119,123],{},"Historical as a named generation, active as a set of techniques. The label was\napplied to a hardware-and-software programme whose ambitions were not met, and\nskepticism about it predates the results: in 2007 ",[42,114,117],{"href":115,"rel":116},"https:\u002F\u002Fwww.theregister.com\u002Fsoftware\u002F2007\u002F01\u002F17\u002Fwhat-makes-a-5gl\u002F1545596",[46],"Philip Howard\nargued","\nthat no further level of abstraction above a 4GL is possible, so \"5GL\" names a 4GL\nwith extras. Constraint solving, logic programming, and rule engines nonetheless\nsurvive and are used in earnest — ",[42,120,122],{"href":121},"\u002Flanguages\u002Foz","Oz"," among the languages in this\ncorpus.",{"title":125,"searchDepth":126,"depth":126,"links":127},"",2,[128,129,130],{"id":13,"depth":126,"text":14},{"id":62,"depth":126,"text":63},{"id":108,"depth":126,"text":109},"md",[133,134,135,136,137],"constraint-based","declarative-problem-statement","inference-engine","logic-programming","no-algorithm-specified","5gl",{},true,"The hoped-for tier above declarative programming, where the system derives its own algorithm from constraints and a knowledge base. Associated with logic programming and the 1980s Japanese fifth-generation project; the ambition outran the results.","\u002Fgenerations\u002F5gl",[144,146,148],{"url":51,"title":145},"A Contingency Approach to the Application Software Generations — Roger Clarke (1991), §7–8",{"url":115,"title":147},"What makes a 5GL? — Philip Howard, The Register (2007)",{"url":44,"title":149},"Association for Logic Programming — the field the tier is drawn from",{"title":5,"description":125},"historical","generations\u002F5gl",1981,"sWA6yzN1ODQJd-H1mn-f74lcBuvduuCHsoCodQSXJR0",[],[157,160,163,166,168],{"name":158,"path":159},"First-generation language","\u002Fgenerations\u002F1gl",{"name":161,"path":162},"Second-generation language","\u002Fgenerations\u002F2gl",{"name":164,"path":165},"Third-generation language","\u002Fgenerations\u002F3gl",{"name":167,"path":57},"Fourth-generation language",{"name":5,"path":142},1795219071754]