Translating from PARLOG to occam2: A methodology
Robert B. Scott, Rajiv Trehan · Concurrency Practice and Experience · 1989
Abstract We describe a novel methodology for translating some PARLOG programs to occam2. Our methodology directs the translation based on a process level description generated from the PARLOG program. The translation of several example PARLOG programs is included. These examples feature: dynamic creation of processes; the one‐to‐many communication capabilities of PARLOG; and use of unbounded, asynchronous communication. The examples are then used to consider the translation of a previously developed programming application from the field of Artificial Intelligence, namely a PARLOGchart parser. We see two main interests in such a methodology: firstly, as a means of obtaining high‐performance execution of PARLOG programs–PARLOG programs translated to occam2 can be executed on the high‐performance Transputer device; secondly, PARLOG may have a use as a declarative specification language for the development of occam2 programs.