Title :
Generating Valid Interface Definition Language from Succinct Models
Author :
Owens, Harold, II ; Hill, James H.
Author_Institution :
Dept. of Comput. & Inf. Sci., Indiana Univ., Indianapolis, IN, USA
Abstract :
Source code generation from models (e.g., domain specific models) for distributed real-time and embedded (DRE) systems is intended to alleviate tedious, error-prone, and time consume tasks associated with manually hand-crafting the same code. When generating code from models for DRE system programming languages that accidentally support circular dependencies, e.g., the Interface Definition Language (IDL) and C++, it is necessary to resolve circular dependencies in order to generate valid and usable code. Moreover, it is important to do some automatically instead of requiring modelers to construct models that do not contain any circular dependencies, which is hard. This paper provides two contributions to research on source code generation from models for DRE systems. First, it presents A-Circle, an algorithm that automatically removes circular dependencies when generating source code from models for programming languages that inherently enable circular dependencies. Secondly, this paper quantitatively evaluates A-Circle when generating CORBA IDL files. The results show that A Circle algorithm is able to generate IDL files in linear-time.
Keywords :
C++ language; embedded systems; program compilers; A Circle algorithm; C++; CORBA IDL files; DRE system programming languages; automated circular dependency resolver; distributed real-time systems; embedded systems; source code generation; succinct models; valid interface definition language generation; Analytical models; Complexity theory; Computational modeling; Computer languages; Concrete; Generators; Runtime; Anti-pattern; CORBA IDL; Cicrular dependency; Model transformation; Model-Driven Development; Semantic translation; Source code generation;
Conference_Titel :
Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC), 2011 14th IEEE International Symposium on
Conference_Location :
Newport Beach, CA
Print_ISBN :
978-1-61284-433-6
DOI :
10.1109/ISORC.2011.33