Declarative language extensions for prolog courses
Ulrich Neumerkel, Markus Triska, Jan Wielemaker · 2008
In this paper we present several extensions to support a more declarative view of programming in Prolog. These extensions enable introductory Prolog courses to concentrate on the pure parts of Prolog for longer periods than without. Even quite complex programs can now be written free of any reference to the more problematic constructs. Our extensions include an alternate way to handle the occurs-check, efficient side-effect free I/O with DCGs, and a uniform approach to integer arithmetic that overcomes the disadvantages of arithmetical evaluation and finite domain constraints, but combines and amplifies their strengths. All extensions have been included recently into the SWI-Prolog distribution.
Cited by 0 works. doi:10.1145/1411260.1411271
Authors
References
- How to Solve It
- Algorithmic Program Debugging
- How to Solve It: Modern Heuristics
- Constraint satisfaction in logic programming
- An open-ended finite domain constraint solver
- The execution algorithm of mercury, an efficient purely declarative logic programming language
- Conventional and uniqueness typing in graph rewrite systems
- A history of Haskell
- Conventional and Uniqueness Typing in Graph Rewrite Systems
- Applying Static Analysis Techniques for Inferring Termination Conditions of Logic Programs