DocumentCode :
626334
Title :
Generating C# Programs from CSP# Models
Author :
Huiquan Zhu ; Jin Song Dong ; Wadhwa, Bimlesh ; Shang-Wei Lin
Author_Institution :
Sch. of Comput., Nat. Univ. of Singapore, Singapore, Singapore
fYear :
2013
fDate :
18-22 March 2013
Firstpage :
21
Lastpage :
26
Abstract :
Due to the inherent complexity of the concurrent behavior, it is difficult to ensure the program satisfies the concurrent properties. CSP#, as a formal language, is used to model the program and the properties can be verified on the CSP# model. It is desirable to have a transformation technique from the CSP# model to the implementation. We implement the CSP# operators in a C# library “PAT.Runtime”. Based on it, a code generation tool is developed in PAT framework to transform CSP# models to multi-threaded C# programs. We prove that the generated C# program and original CSP# model are equivalent on the traces semantics. The validated properties of the CSP# model preserve in the generated program.
Keywords :
C++ language; communicating sequential processes; concurrency control; formal languages; multi-threading; C++ program generation; CSP++ model; PAT framework; code generation tool; communicating sequential processes; concurrent property; formal language; multi-threaded program; trace semantics; transformation technique; Adders; Arrays; Libraries; Message passing; Message systems; Monitoring; Synchronization; CSP#; Model Checking; Multi-threaded Programming;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation Workshops (ICSTW), 2013 IEEE Sixth International Conference on
Conference_Location :
Luxembourg
Print_ISBN :
978-1-4799-1324-4
Type :
conf
DOI :
10.1109/ICSTW.2013.10
Filename :
6571603
Link To Document :
بازگشت