Publication
Software - Practice and Experience
Paper

Taming the PL/I syntax

View publication

Abstract

Ideally the syntactic part of a PL/I compiler would be generated directly from the semi‐formal definition of ANSI Standard PL/I. A practical approach to this is described, using finite state machines and an LALR parser generator. The parser uses a method due to Aoe which avoids list searching. Adapted for this method the PL/I grammar has 841 states. The parse table generator exploits the freedom to renumber states in a way that improves on previous algorithms for compacting the tables. The parser tables occupy less than 4K bytes. Copyright © 1984 John Wiley & Sons, Ltd

Date

30 Oct 2006

Publication

Software - Practice and Experience

Authors

Share