List of programming languages for artificial intelligence
From Infogalactic: the planetary knowledge core
Artificial intelligence researchers have developed several specialized programming languages for artificial intelligence:
Languages
- AIML (meaning "Artificial Intelligence Markup Language")[1] is an XML dialect[2] for use with A.L.I.C.E.-type chatterbots.
- IPL[3] was the first language developed for artificial intelligence. It includes features intended to support programs that could perform general problem solving, including lists, associations, schemas (frames), dynamic memory allocation, data types, recursion, associative retrieval, functions as arguments, generators (streams), and cooperative multitasking.
- Lisp[4] is a practical mathematical notation for computer programs based on lambda calculus. Linked lists are one of Lisp languages' major data structures, and Lisp source code is itself made up of lists. As a result, Lisp programs can manipulate source code as a data structure, giving rise to the macro systems that allow programmers to create new syntax or even new domain-specific programming languages embedded in Lisp. There are many dialects of Lisp in use today, among them are Common Lisp, Scheme, and Clojure.
- Prolog[5][6] is a declarative language where programs are expressed in terms of relations, and execution occurs by running queries over these relations. Prolog is particularly useful for symbolic reasoning, database and language parsing applications. Prolog is widely used in AI today.
- STRIPS is a language for expressing automated planning problem instances. It expresses an initial state, the goal states, and a set of actions. For each action preconditions (what must be established before the action is performed) and postconditions (what is established after the action is performed) are specified.
- Planner is a hybrid between procedural and logical languages. It gives a procedural interpretation to logical sentences where implications are interpreted with pattern-directed inference.
- POP-11 is a reflective, incrementally compiled programming language with many of the features of an interpreted language. It is the core language of the Poplog programming environment developed originally by the University of Sussex, and recently in the School of Computer Science at the University of Birmingham which hosts the Poplog website, It is often used to introduce symbolic programming techniques to programmers of more conventional languages like Pascal, who find POP syntax more familiar than that of Lisp. One of POP-11's features is that it supports first-class functions.
- Python is very widely used for Artificial Intelligence. They have a lot of different AIs with corresponding packages: General AI, Machine Learning, Natural Language Processing and Neural Networks. [7] Companies like Narrative Science use Python to create an artificial intelligence for Narrative Language Processing. [8]
AI applications are also often written in standard languages like C++ and languages designed for mathematics, such as MATLAB and Lush.
- Haskell is also a very good programming language for AI. Lazy evaluation and the list and LogicT monads make it easy to express non-deterministic algorithms, which is often the case. Infinite data structures are great for search trees. The language's features enable a compositional way of expressing the algorithms. The only drawback is that working with graphs is a bit harder at first because of purity.
Notes
- ↑ according to (the intro page to) the AIML Repository at nlp-addiction.com
- ↑ See the AIML "Intro" (web) page at www.alicebot.org
- ↑ Crevier 1993, pp. 46–48
- ↑ Lisp:
- Luger & Stubblefield 2004, pp. 723–821
- Crevier 1993, pp. 59–62,
- Russell & Norvig 2003, p. 18
- ↑ History of logic programming:
- Crevier 1993, pp. 190–196.
- ↑ Prolog:
- Poole, Mackworth & Goebel 1998, pp. 477–491,
- Luger & Stubblefield 2004, pp. 641–676, 575–581
- ↑ Python For Artificial Intelligence Python Wiki 2015
- ↑ Life at Narrative Science] September 2015.
References
Major AI textbooks
- See also the AI textbook survey
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
History of AI
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.