首页 | 本学科首页   官方微博 | 高级检索  
     


Semantic specification using two-level grammars: Blocks, procedures and parameters
Authors:Frank G. Pagan
Affiliation:

Department of Computer Science, Southern Illinois University at Carbondale, Carbondale, IL 62901, U.S.A.

Abstract:Formal specifications are presented for the complete syntax and semantics of an ALGOL-like language fragment, using a recently introduced definitional technique employing two-level grammars (W-grammars). The fragment contains several important features whose dynamic semantics have not previously been treated by means of this technique: block structure, (recursive) procedures, and parameters passed by value, by reference, and by name. The degree of conciseness, clarity, etc., of the specifications is comparable to that obtainable with other approaches to formal seamantics, and it is concluded that two-level grammars must currently be regarded as a competitive approach for progress in language specification.
Keywords:Formal semantics   Semantic specification   Formal grammars   Two-level grammars   Parameter-passing mechanisms
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号