INTERPRETERS IN LOGIC PROGRAMMING: A POWERFUL TOOL FOR SIMULATION
Abstract
The logic programming language Prolog and extensions to
permit asynchronous execution are introduced. Some simple producer/consumer
problems are used to illustrate the handling of processes and their synchronization.
Some tools that can be used to aid tracing and verifying such programs
are described. These include a system that will check whether one
version of a program is a refinement of another, and another that allows
simple and flexible programming of graphical displays of data structures
and executing programs. These are used as examples to support the
assertion that logic programming provides very powerful tools for
verifying the correctness of simulations and programs.
Description
Keywords
Computer Science