DocumentCode
3350190
Title
Specification of the RTPA grammar and its recognition
Author
Tan, Xinming ; Wang, Yingxu ; Ngolah, Cyprian F.
Author_Institution
Dept. of Electr. & Comput. Eng., Calgary Univ., Alta., Canada
fYear
2004
fDate
16-17 Aug. 2004
Firstpage
54
Lastpage
63
Abstract
A new type of descriptive mathematics, real-time process algebra (RTPA), is developed for describing complicated behaviors of human beings and software systems. This paper describes the key syntax of RTPA defined by a set of 280 LL(k) grammar rules and their recognition techniques. The LL(k) grammar of RTPA is formally described by using the EBNF notations. The design of the RTPA parser and type checker are presented on the basis of the RTPA grammar. To deal with the special non-LL(k) grammar rules of RTPA, the ANTLR syntactic predicates are used to create guarded and extended rules. The tasks of type checking in RTPA recognition can be classified into three categories: (a) identifier type compliancy, (b) expression type compliancy, and (c) process constraint consistency. The implementation of the RTPA parser and type checker provides an important tool for RTPA recognition and for generating executable code for formal specifications of system architectures and behaviors in RTPA.
Keywords
formal specification; grammars; pattern recognition; process algebra; real-time systems; type theory; ANTLR syntactic predicates; EBNF notations; LL(k) grammar; RTPA grammar; RTPA key syntax; RTPA parser; RTPA recognition; cognitive informatics; complicated behaviors; descriptive mathematics; executable code; expression type compliancy; formal methods; formal specifications; grammar recognition; grammar rules; human behavior; human beings; identifier type compliancy; process constraint consistency; real-time process algebra; software engineering; software systems; system architectures; system behavior; type checker; type checking; Algebra; Cognitive informatics; Computer architecture; Drives; Formal specifications; Humans; Mathematics; Real time systems; Software engineering; Software systems;
fLanguage
English
Publisher
ieee
Conference_Titel
Cognitive Informatics, 2004. Proceedings of the Third IEEE International Conference on
Print_ISBN
0-7695-2190-8
Type
conf
DOI
10.1109/COGINF.2004.1327459
Filename
1327459
Link To Document