Title :
Implementation of static semantic analysis of LOTOS specifications
Author :
Durante, Luca ; Sisto, Riccardo ; Valenzano, Adriano
Author_Institution :
Dipartimento di Autom. e Inf., Politecnico di Torino, Italy
fDate :
3/1/1994 12:00:00 AM
Abstract :
The implementation of syntax-driven static semantic analysis of languages presenting recursive forward references in their definition, requires the handling of a syntax tree. When dealing with languages for which the syntax tree approach is very heavy to implement, a source code reorganisation operation may solve the problem more conveniently. This applies to the ISO specification language LOTOS which is taken as the main concern in the article. The implementation of a static semantic analyser for LOTOS based on the above approach is described by means of a C program, and all the main issues are addressed. It is shown that the source code reorganisation operation applied to LOTOS specifications does not alter the semantics of the original source specification. Examples and measures of performance collected by testing the tool on some significant case studies in the literature are also given
Keywords :
complete computer programs; computational linguistics; formal specification; programming theory; specification languages; trees (mathematics); C program; ISO specification language LOTOS; LOTOS specifications; performance; recursive forward references; source code reorganisation operation; static semantic analyser; static semantic analysis; syntax tree;
Journal_Title :
Software Engineering Journal