Title :
A Type System for SPARDL
Author :
Wang, Zheng ; Pu, Geguang ; Li, Jianwen ; Gu, Bin
Author_Institution :
Shanghai Key Lab. of Trustworthy Comput., East China Normal Univ., Shanghai, China
Abstract :
SPARDL is a domain-specific modeling language for periodic control systems, which are widely used in embedded systems. Periodic control systems are usually driven by the given period. A periodic control system can be decomposed into different modes or sub-modes, and each mode represents a system state observed from outside. We believe that introducing static checking will extend the power of SPARDL. In this paper, we develop a type system for SPARDL. To make the contributions of this paper convincible and easy to understand, we apply the traditional approaches to construct the type system for SPARDL. An operational semantics is proposed as the basic explanation of SPARDL. And then some type safety theorems are proved under such semantics. We apply the type system to an industrial case from China Academy of Space Technology(CAST) to evaluate the effectiveness of our approach in practice, and then eight type errors are revealed.
Keywords :
embedded systems; periodic control; programming language semantics; safety; simulation languages; CAST; China Academy of Space Technology; SPARDL; domain-specific modeling language; embedded systems; industrial case; operational semantics; periodic control systems; static checking; type errors; type safety theorems; type system; Abstracts; Computational modeling; Context; Control systems; Safety; Semantics; Software; Operational Semantics; Periodic Control System; SPARDL; Type System;
Conference_Titel :
Theoretical Aspects of Software Engineering (TASE), 2012 Sixth International Symposium on
Conference_Location :
Beijing
Print_ISBN :
978-1-4673-2353-6
DOI :
10.1109/TASE.2012.47