Open Unification for Program Query Languages. Brichau, J., De Roover, C., & Mens, K. In Proceedings of the XXVI International Conference of the Chilean Computer Science Society (SCCC 2007), 2007. abstract bibtex Logic programming languages, or derivatives thereof, are increasingly applied as program query languages which allow developers to reason about the structure and behaviour of programs. Queries written in these languages can detect and verify the use of coding conventions, extract program metrics, specify pointcuts in aspect-oriented programming, and much more. To achieve this, the queried programs are reified as logic values such that logic quantification and unification can be used effectively. However, in many cases, standard logic unification is inappropriate for program entities, forcing developers to resort to overly complex queries that deal with the mismatch in unification of those entities. In this paper, we argue that such incidental complexity can be reduced significantly by customizing the unification algorithm. We present a practical implementation approach through inter-language reflection and open unification. These techniques are at the core of the logic program query language SOUL, through which we demonstrate custom unification schemes for reasoning over Smalltalk and Java programs. Queries written in this tailored version of SOUL can exploit advanced program matching strategies without increasing the incidental complexity of the queries.
@inproceedings{59c97bd3524443ed8ed61476a242afb1,
title = "Open Unification for Program Query Languages",
abstract = "Logic programming languages, or derivatives thereof, are increasingly applied as program query languages which allow developers to reason about the structure and behaviour of programs. Queries written in these languages can detect and verify the use of coding conventions, extract program metrics, specify pointcuts in aspect-oriented programming, and much more. To achieve this, the queried programs are reified as logic values such that logic quantification and unification can be used effectively. However, in many cases, standard logic unification is inappropriate for program entities, forcing developers to resort to overly complex queries that deal with the mismatch in unification of those entities. In this paper, we argue that such incidental complexity can be reduced significantly by customizing the unification algorithm. We present a practical implementation approach through inter-language reflection and open unification. These techniques are at the core of the logic program query language SOUL, through which we demonstrate custom unification schemes for reasoning over Smalltalk and Java programs. Queries written in this tailored version of SOUL can exploit advanced program matching strategies without increasing the incidental complexity of the queries.",
keywords = "logic meta programming, unification",
author = "Johan Brichau and {De Roover}, Coen and Kim Mens",
year = "2007",
language = "English",
series = "Proceedings of the XXVI International Conference of the Chilean Computer Science Society (SCCC 2007)",
booktitle = "Proceedings of the XXVI International Conference of the Chilean Computer Science Society (SCCC 2007)",
}
Downloads: 0
{"_id":"FC4Sye9zDpCx8wCXR","bibbaseid":"brichau-deroover-mens-openunificationforprogramquerylanguages-2007","author_short":["Brichau, J.","De Roover, C.","Mens, K."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Open Unification for Program Query Languages","abstract":"Logic programming languages, or derivatives thereof, are increasingly applied as program query languages which allow developers to reason about the structure and behaviour of programs. Queries written in these languages can detect and verify the use of coding conventions, extract program metrics, specify pointcuts in aspect-oriented programming, and much more. To achieve this, the queried programs are reified as logic values such that logic quantification and unification can be used effectively. However, in many cases, standard logic unification is inappropriate for program entities, forcing developers to resort to overly complex queries that deal with the mismatch in unification of those entities. In this paper, we argue that such incidental complexity can be reduced significantly by customizing the unification algorithm. We present a practical implementation approach through inter-language reflection and open unification. These techniques are at the core of the logic program query language SOUL, through which we demonstrate custom unification schemes for reasoning over Smalltalk and Java programs. Queries written in this tailored version of SOUL can exploit advanced program matching strategies without increasing the incidental complexity of the queries.","keywords":"logic meta programming, unification","author":[{"firstnames":["Johan"],"propositions":[],"lastnames":["Brichau"],"suffixes":[]},{"propositions":[],"lastnames":["De Roover"],"firstnames":["Coen"],"suffixes":[]},{"firstnames":["Kim"],"propositions":[],"lastnames":["Mens"],"suffixes":[]}],"year":"2007","language":"English","series":"Proceedings of the XXVI International Conference of the Chilean Computer Science Society (SCCC 2007)","booktitle":"Proceedings of the XXVI International Conference of the Chilean Computer Science Society (SCCC 2007)","bibtex":"@inproceedings{59c97bd3524443ed8ed61476a242afb1,\n title = \"Open Unification for Program Query Languages\",\n abstract = \"Logic programming languages, or derivatives thereof, are increasingly applied as program query languages which allow developers to reason about the structure and behaviour of programs. Queries written in these languages can detect and verify the use of coding conventions, extract program metrics, specify pointcuts in aspect-oriented programming, and much more. To achieve this, the queried programs are reified as logic values such that logic quantification and unification can be used effectively. However, in many cases, standard logic unification is inappropriate for program entities, forcing developers to resort to overly complex queries that deal with the mismatch in unification of those entities. In this paper, we argue that such incidental complexity can be reduced significantly by customizing the unification algorithm. We present a practical implementation approach through inter-language reflection and open unification. These techniques are at the core of the logic program query language SOUL, through which we demonstrate custom unification schemes for reasoning over Smalltalk and Java programs. Queries written in this tailored version of SOUL can exploit advanced program matching strategies without increasing the incidental complexity of the queries.\",\n keywords = \"logic meta programming, unification\",\n author = \"Johan Brichau and {De Roover}, Coen and Kim Mens\",\n year = \"2007\",\n language = \"English\",\n series = \"Proceedings of the XXVI International Conference of the Chilean Computer Science Society (SCCC 2007)\",\n booktitle = \"Proceedings of the XXVI International Conference of the Chilean Computer Science Society (SCCC 2007)\",\n}","author_short":["Brichau, J.","De Roover, C.","Mens, K."],"key":"59c97bd3524443ed8ed61476a242afb1","id":"59c97bd3524443ed8ed61476a242afb1","bibbaseid":"brichau-deroover-mens-openunificationforprogramquerylanguages-2007","role":"author","urls":{},"keyword":["logic meta programming","unification"],"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"http://soft.vub.ac.be/~cderoove/works.bib","dataSources":["abyQtmN3vDJoFXPPD"],"keywords":["logic meta programming","unification"],"search_terms":["open","unification","program","query","languages","brichau","de roover","mens"],"title":"Open Unification for Program Query Languages","year":2007}