کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
422141 685033 2009 17 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Axiom-Based Transformations: Optimisation and Testing
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Axiom-Based Transformations: Optimisation and Testing
چکیده انگلیسی

Programmers typically have knowledge about properties of their programs that aren't explicitly expressed in the code – properties that may be very useful for, e.g., compiler optimisation and automated testing. Although such information is sometimes written down in a formal or informal specification, it is generally not accessible to compilers and other tools. However, using the idea of concepts and axioms in the upcoming C++ standard, we may embed axioms with program code. In this paper, we sketch how such axioms can be interpreted as rewrite rules and test oracles. Rewrite rules together with user-defined transformation strategies allow us to implement program or library-specific optimisations.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 238, Issue 5, 10 October 2009, Pages 17-33