Abstract | ||
---|---|---|
There is a growing need for abstractions in logic specification languages such as FO(.) and ASP. One technique to achieve these abstractions are templates (sometimes called macros). While the semantics of templates are virtually always described through a syntactical rewriting scheme, we present an alternative view on templates as second order definitions. To extend the existing definition construct of FO(.) to second order, we introduce a powerful compositional framework for defining logics by modular integration of logic constructs specified as pairs of one syntactical and one semantical inductive rule. We use the framework to build a logic of nested second order definitions suitable to express templates. We show that under suitable restrictions, the view of templates as macros is semantically correct and that adding them does not extend the descriptive complexity of the base logic, which is in line with results of existing approaches. |
Year | DOI | Venue |
---|---|---|
2015 | 10.1017/S1471068415000319 | THEORY AND PRACTICE OF LOGIC PROGRAMMING |
Keywords | Field | DocType |
compositionality,modularity,templates,macros,semantics,second order logic | Programming language,Abstraction,Computer science,Algorithm,Theoretical computer science,Descriptive complexity theory,Rewriting,Template,Modular design,Macro,Semantics | Journal |
Volume | Issue | ISSN |
15 | 4-5 | 1471-0684 |
Citations | PageRank | References |
3 | 0.43 | 7 |
Authors | ||
4 |
Name | Order | Citations | PageRank |
---|---|---|---|
Ingmar Dasseville | 1 | 4 | 1.47 |
Matthias van der Hallen | 2 | 4 | 2.13 |
Gerda Janssens | 3 | 644 | 58.82 |
Marc Denecker | 4 | 1626 | 106.40 |