|
ABSTRACT
Languages based on first order logic have rapidly gained popularity as practical programming languages in several fields. With experience, several problems with the most popular such language, Prolog, have come to light. Several proposals for changes and extensions to Prolog have been made, but proposals have been expensive to build and evaluate. An inexpensive method for extension is described that relies on preprocessors and checkers written in Prolog itself. The method is efficient and applies to any logic programming language that permits manipulation of programs as objects. Several extensions have been built, including modules, macros, functional notation, repetition notation, debugging, and profiling; the first three are explored in detail.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
Marco Bellia, Pierpado Degano, and Giorgio Levi, A functional plus predicate logic programming language, Proc logic programming workshop (14-16 Jul 1980), 334-347.
|
| |
3
|
Erwin Book, Dewey Val Schorre, and Steven J Sherman, The CWIC/360 system: a compiler for writing and implementing compilers, SP-3510, System Development Corp, Santa Monica, CA (14 Apr 1970).
|
 |
4
|
|
| |
5
|
|
| |
6
|
Helder Coelho, José Carlos Cotta, and Luís Moniz Pereira, How to solve it with PROLOG, 2nd ed, Laboratória Nacional del Engenharia Civil, Lisbon (1980).
|
| |
7
|
System Development Corp, A user's guide to CWIC, TM(L)4830/000 {vol 1}, TM(L)4830/001 {vol 2}, System Development Corp, Santa Monica, CA (1971).
|
 |
8
|
|
| |
9
|
|
 |
10
|
|
| |
11
|
Gerard Huet and Derek C Oppen, Equations and rewrite rules, pp 349-405 in Formal language theory: perspectives and open problems, ed Ronald V Book, Academic Press, New York (1980)
|
| |
12
|
S C Johnson, Lint, a C program checker, TM 78-1273-3, Bell Laboratories (1978).
|
| |
13
|
Simon B Jones, Structured programming techniques in Prolog, Proc logic programming workshop (14-16 Jul 1980), 332-333.
|
| |
14
|
|
| |
15
|
F G McCabe, Micro-PROLOG programmer's reference manual, Logic Programming Associates Ltd (May 1981).
|
 |
16
|
|
| |
17
|
C D S Moss, The comparison of several Prolog systems, Proc logic programming workshop (14-16 Jul 1980), 198-200.
|
| |
18
|
|
| |
19
|
F Pereira and D H D Warren, Definite clause grammars compared with augmented transition networks, Research report 58, Dept of Artificial Intelligence, U of Edinburgh (Oct. 1978).
|
| |
20
|
Grant Maxwell Roberts, An implementation of PROLOG, U of Waterloo (1977), Master's thesis.
|
| |
21
|
Niklaus Wirth, Modula: a language for modular programming, Software-practice & experience7, 1 (Jan-Feb 1977), 3-35.
|
|