Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A
fifth-generation programming language is a programming language based
around solving problems using constraints given to the program, rather
than using an algorithm written by a programmer. Most constraint-based
and logic programming languages and some declarative languages are
fifth-generation languages. While fourth-generation programming
languages 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 programmer 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. Prolog, OPS5, and Mercury are examples of
fifth-generation languages. These types of languages were also built
upon Lisp, many originating on the Lisp machine, such as ICAD. Then,
there are many frame languages, such as KL-ONE.