Metastructures versus Attributed Variables in the Context of Extensible Unification
暂无分享,去创建一个
We relate two mechanisms which aim at the extension of logic programming languages. The first mechanism directly extends syntactic unification through the introduction of a data type, whose (unification) semantics are specified through user-defined predicates. The second mechanism was utilized for the implementation of coroutining facilities, and was independently derived with optimal memory management for various Prolog extensions in mind. Experience from the application of both mechanisms to the realization of CLP languages, without leaving the logic programming context, enables us to reveal similarities and the potential with respect to this task. Constructive measures that narrow or close the gap between the two conceptual schemes are provided.
[1] Mats Carlsson,et al. Freeze, Indexing, and Other Implementation Issues in the WAM , 1987, ICLP.
[2] Joxan Jaffar,et al. Methodology and Implementation of a CLP System , 1987, ICLP.
[3] Serge Le Huitouze. A New Data Structure for Implementing Extensions to Prolog , 1990, PLILP.
[4] Pierre Deransart,et al. Programming Languages Implementation and Logic Programming , 1989, Lecture Notes in Computer Science.
[5] Alfred V. Aho,et al. Data Structures and Algorithms , 1983 .