Algebraic Logic Functional programming language
From Encoresoup - The Ultimate Guide to Free/Open Source Software
|
ALF was designed to be genuine integration of both programming paradigms, and thus any functional expression can be used in a goal literal and arbitrary predicates can occur in conditions of equations. ALF's operational semantics is based on the resolution rule to solve literals and narrowing to evaluate functional expressions. In order to reduce the number of possible narrowing steps, a leftmost-innermost basic narrowing strategy is used which, it is claimed, can be efficiently implemented. Terms are simplified by rewriting before a narrowing step is applied and equations are rejected if the two sides have different constructors at the top. Rewriting and rejection are supposed to result in a large reduction of the search tree and produce an operational semantics that is more efficient than Prolog's resolution strategy. Similarly to Prolog, ALF uses a backtracking strategy corresponding to a depth-first search in the derivation tree.
The ALF system was designed to be an efficient implementation of the combination of resolution, narrowing, rewriting, and rejection. ALF programs are compiled into instructions of an abstract machine. The abstract machine is based on the Warren Abstract Machine (WAM) with several extensions to implement narrowing and rewriting. In the current ALF implementation programs of this abstract machine are executed by an emulator written in C.
In the Carnegie Mellon University Artificial Intelligence Repository,[1] ALF is included as an AI programming language, in particular as a functional/logic programming language Prolog implementation.[2] A user manual[3] describing the language and the use of the system is available. The ALF System[4] runs under Unix and is free.
[edit] References
- ↑ CMU Artificial Intelligence Repository. CMU Artificial Intelligence Repository. Carnegie Mellon University (1995-02-13). Retrieved on 2007-06-22.
- ↑ ALF: Algebraic Logic Functional programming language. CMU Artificial Intelligence Repository. Carnegie Mellon University (1995-02-13). Retrieved on 2007-06-22.
- ↑ Hanus, Michael; Andreas Schwab (1995-02-13). ALF User's Manual. ALF User's Manual. Institut für Informatik, Christian-Albrechts-Universität zu Kiel. Retrieved on 2007-06-22.
- ↑ Hanus, Michael. The ALF System. The ALF System. Institut für Informatik, Christian-Albrechts-Universität zu Kiel. Retrieved on 2007-06-22.
[edit] External links
- Publications of Michael Hanus, including many articles relevant to the design and theory of ALF
- Information about getting and installing the ALF system

![Bluetooth Retro Handset [ThinkGeek] Bluetooth Retro Handset [ThinkGeek]](http://www.ftjcfx.com/image-3067719-10356334?imgurl=http%3A//www.thinkgeek.com/images/products/front/bluetooth_retro_handset_new.jpg)
![Doctor Who TARDIS 4 Port USB Hub [ThinkGeek] Doctor Who TARDIS 4 Port USB Hub [ThinkGeek]](http://www.ftjcfx.com/image-3067719-10356334?imgurl=http%3A//www.thinkgeek.com/images/products/front/tardis_hub.gif)
![Practical Django Projects [Amazon] Practical Django Projects [Amazon]](http://openx.eclecticdave.com/images/51BFdH6VWsL._SL160_.jpg)

