Talks and Poster Presentations (with Proceedings-Entry):
M. De Vos, D. Kisa, J. Oetsch, J. Puehrer, H. Tompits:
"LANA: A Language for Annotating Answer-Set Programs";
Talk: 14th International Workshop on Non-Monotonic Reasoning,
- 2012-06-10; in: "14th International Workshop on Non-Monotonic Reasoning",
While past research in answer-set programming (ASP) mainly focused on theory, ASP solver technology, and applications, the present work situates itself in the context of a recent research trend: development support for ASP. In particular, we propose to augment answer-set programs with additional metainformation formulated in a dedicated annotation language, called LANA. This language allows to group rules into coherent blocks and to specify language signatures, types, pre- and postconditions, as well as unit tests for such blocks. While these annotations are invisible to an ASP solver, as they take the form of program comments, they can be interpreted by tools for documentation, testing, and verification purposes, and can help to eliminate sources of common programming errors by realising syntax checking or code completion features. We introduce two such tools, viz. (i) ASPDOC, for generating an HTML documentation for a program based on the annotated information, and (ii) ASPUNIT, for running and monitoring unit tests on program blocks.
answer-set programming, program annotations, programming support
Electronic version of the publication:
Project Head Hans Tompits:
Softwareentwicklung in der Answer-Set Programmierung
Created from the Publication Database of the Vienna University of Technology.