Analysis of some program sources semantic aspects based on formal syntax and semantics specifications
Prikladnaya Diskretnaya Matematika. Supplement, no. 5 (2012), pp. 110-111
Citer cet article
Voir la notice de l'article provenant de la source Math-Net.Ru
In this work, the problem of syntax and semantic analysis of program sources written in different languages is considered. The programming language is considered to be specified by describing the lexis as a set of regular expressions and the syntax as a context-free grammar with a set of controlling structures matching grammar rules. These controlling structures manage abstract syntax tree building and other analysis tasks. All these allow performing some sort of semantic analysis against the source written in the specified language.
[1] Akho A. V., Lam M. S., Seti R., Ulman D. D., Kompilyatory. Printsipy, tekhnologii i instrumentarii, Vilyams, M., 2008, 1184 pp.