Operator precedence and the visibly pushdown property
作者:
Highlights:
•
摘要
Floydʼs operator precedence grammars and languages (FG, FL) are a classical subclass of deterministic context-free (DCF) grammars and languages. We prove that several recently introduced language families motivated by the needs of model checking and of specifying XML-like languages are proper subsets of FL. The main cases considered include visibly pushdown languages (VPL) and balanced languages (BALAN), which are characterized by restricted precedence relations. FL have all the closure properties available for regular languages and generally viewed as necessary for application to model checking: reversal, prefixing and suffixing, concatenation, Kleene star, and boolean operations. All but the last results are new, and some require complex proofs, due to the necessary changes of syntax structure. Thus FL are the largest known subfamily of DCF having the same closure properties as VPL. FG, unlike VPL grammars, which are intended for abstract syntax modelling, are structurally adequate to specify real programming languages.
论文关键词:Pushdown automata,Closure under language operations,Operator precedence grammars,Parenthesis languages,XML languages,Balanced languages,Height deterministic languages
论文评审过程:Received 14 July 2010, Revised 26 January 2011, Accepted 14 November 2011, Available online 24 December 2011.
论文官网地址:https://doi.org/10.1016/j.jcss.2011.12.006