Towards the Modularization of C++ Concept Maps
Author(s) -
Zalán Szűgyi,
Ádám Sipos,
Zoltán Porkoláb
Publication year - 2009
Publication title -
electronic notes in theoretical computer science
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.242
H-Index - 60
ISSN - 1571-0661
DOI - 10.1016/j.entcs.2009.05.008
Subject(s) - computer science , programming language , modular programming , compiler , language construct , preprocessor , code (set theory) , extension (predicate logic) , transformation (genetics) , class (philosophy) , scheme (mathematics) , type (biology) , generic programming , type safety , theoretical computer science , artificial intelligence , mathematics , mathematical analysis , ecology , biochemistry , chemistry , set (abstract data type) , biology , gene
Concept is a new and powerful language element being introduced in the next C++ standard. With the help of concepts we can define the properties a template requires from its type arguments. If a type does not fulfill the requirements syntactically, but semantically, the connection must be declared with the use of a concept_map. Often the description of the semantic matching results in long codes that need to be modularized. In this paper we present an extension to the concept_map language constructs that enables this transformation. We introduce the well-known public, protected, private class arrangement scheme into concept_maps. We present our preprocessor, that transforms the modularized code into regular code to be compiled by ConceptGCC, the experimental Concept C++ compiler
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom