Content deleted Content added
m.e. |
LucasBrown (talk | contribs) WP:SDFORMAT compliance |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Short description|
{{Refimprove|date=August 2018}}
A '''fifth-generation programming language''' ('''5GL''') is a [[high-level programming language|high-level]] [[programming language]] based on problem-solving using constraints given to the program, rather than using an [[algorithm]] written by a programmer.<ref>{{cite book
==History==
While [[fourth-generation programming language]]s are designed to build specific programs, fifth-generation languages are designed to make the computer solve a given problem without the programmer. This way, the user only needs to worry about what problems need to be solved and what conditions need to be met, without worrying about how to implement a routine or algorithm to solve them. Fifth-generation languages are used mainly in [[artificial intelligence]] research. [[OPS5]] and [[Mercury (programming language)|Mercury]] are examples of fifth-generation languages,<ref name="bala">E. Balagurusamy, ''Fundamentals of Computers'', Mcgraw Hill Education (India), 2009, {{ISBN|978-0070141605}}, p. 340</ref> as is [[ICAD (software)|ICAD]], which was built upon [[Lisp (programming language)|Lisp]]. [[KL-ONE]] is an example of a related idea, a [[frame language]].
In the 1980s, fifth-generation languages were considered to be the way of the future, and some predicted that they would replace procedural programming with constraint based programming for all tasks that could be framed as a series of logical constraints.<ref>{{cite journal |last1=Kahanwal |first1=Brijender |date=4 October 2013 |title=A taxonomy for programming languages with multisequential processes |journal=International Journal of Programming Languages and Applications
However, as larger programs were built, the flaws of the approach became more apparent. It turns out that, given a set of constraints defining a particular problem, deriving an efficient algorithm to solve it is a very difficult problem in itself. This crucial step cannot yet be automated and still requires the insight of a human programmer.
==Common misconception==
Vendors have been known on occasion to advertise their languages as 5GL. Most of the time they actually sell [[Fourth-generation programming language|4GLs]] with a higher level of automation and [[knowledge base]]. Because the hype of the 1980s faded away and the projects were eventually all dropped, 5GL awareness has also dropped; this has opened doors to the vendors to reuse the term in marketing their new tools, without causing much controversy among the current generations of programmers.<ref>{{cite web |last1=Howard |first1=Philip |date=17 January 2007 |title=What makes a 5GL? |url=https://www.theregister.co.uk/2007/01/17/5gl/
==See also==
|