Generalizing input-driven languages: Theoretical and practical benefits |
| |
Affiliation: | 1. DEIB, Politecnico di Milano, via Ponzio 34/5, 20133 Milano, Italy;2. IEIIT, Consiglio Nazionale delle Ricerche, via Ponzio 34/5, 20133 Milano, Italy;1. College of Computers and IT, Taif University, Saudi Arabia;2. Department of Math. and CS, Faculty of Science, Beni-Suef University, Egypt;3. Department of Computer Science, Faculty of Science, Minia University, Egypt;1. I.K.G. Punjab Technical University, Kapurthala, Punjab, India;2. U.I.E.T., Panjab University, Chandigarh, India;1. Department of Computer Science, University of Arizona, Tucson, USA;2. Dipartimento di Ingegneria, Università degli Studi di Perugia, Perugia, Italy;1. Department of Radiology, University of Pittsburgh, UPMC Presbyterian Campus, Radiology Suite 200 East Wing, 200 Lothrop Street, Pittsburgh, PA 15213, USA;2. Department of Radiology and Biomedical Imaging, University of California San Francisco, 505 Parnassus Avenue, M392, Box 0628, San Francisco, CA 94143, USA;3. Department of Urology, University of California San Francisco, 1825 4th Street, 4th Floor, Box 1711, San Francisco, CA 94143, USA |
| |
Abstract: | Regular languages (RL) are the simplest family in Chomsky’s hierarchy. Thanks to their simplicity they enjoy various nice algebraic and logic properties that have been successfully exploited in many application fields. Practically all of their related problems are decidable, so that they support automatic verification algorithms. Also, they can be recognized in real-time.Context-free languages (CFL) are another major family well-suited to formalize programming, natural, and many other classes of languages; their increased generative power w.r.t. RL, however, causes the loss of several closure properties and of the decidability of important problems; furthermore they need complex parsing algorithms. Thus, various subclasses thereof have been defined with different goals, spanning from efficient, deterministic parsing to closure properties, logic characterization and automatic verification techniques.Among CFL subclasses, so-called structured ones, i.e., those where the typical tree-structure is visible in the sentences, exhibit many of the algebraic and logic properties of RL, whereas deterministic CFL have been thoroughly exploited in compiler construction and other application fields.After surveying and comparing the main properties of those various language families, we go back to operator precedence languages (OPL), an old family through which R. Floyd pioneered deterministic parsing, and we show that they offer unexpected properties in two fields so far investigated in totally independent ways: they enable parsing parallelization in a more effective way than traditional sequential parsers, and exhibit the same algebraic and logic properties so far obtained only for less expressive language families. |
| |
Keywords: | Regular languages Context-free languages Input-driven languages Visibly pushdown languages Operator-precedence languages Monadic second order logic Closure properties Decidability and automatic verification |
本文献已被 ScienceDirect 等数据库收录! |
|