מיכאל קודיש

אקדמי בכיר

Compiling OR-parallelism into AND-parallelism

Michael Codish, Ehud Shapiro

This paper suggests a general method for compiling OR-parallelism into AND-parallelism. An interpreter for an AND/OR-parallel language written in the AND-parallel subset of the language induces a source-to-source transformation from the full language into the AND-parallel subset. This transformation can be identified and implemented as a special purpose compiler or applied using a general purpose partial evaluator. The method is demonstrated to compile a variant of Concurrent Prolog into an AND-parallel subset of the language called Flat Concurrent Prolog (FCP). It is also shown applicable to the compilation of OR-parallel Prolog to FCP. The transformation identified is simple and efficient. The performance of the method is discussed in the context of programming examples. These compare well with conventionally compiled Prolog programs.

שפת פרסום אנגלית
דפים 45-61
כתב עת New Generation Computing
כרך 5
נושא מספר 1
סטטוס פרסום פורסם - 01.03.1987

Keywords

AND-Parallelism
OR-Parallelism
Partial Evaluation
Program Transformation

ASJC Scopus subject areas

Software
Theoretical Computer Science
Hardware and Architecture
Computer Networks and Communications
גישה למסמך
10.1007/BF03037457
קבצים וקישורים אחרים
Link to publication in Scopus