Control flow aspects of semantics directed compiling

Ravi Sethi

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Scopus citations

Abstract

We focus on the part of a compiler between syntax analysis and code generation. A language is specified by adding semantic rules in a functional notation to die syntax of the language. Starting with a small sublanguage of while statements, the semantics of the statement constructs of C is built up incrementally. Using a small ad hoc code generator, a compiler has automatically been constructed from the semantics. The semantic description is analogous to a syntax directed construction of a flow diagram for a program. In analogy with grammars and parser generators, minimal knowledge of the underlying theory is required. For the control flow aspects of langauges Efficient compilers can quickly be generated.

Original languageEnglish (US)
Title of host publicationProceedings of the 1982 SIGPLAN Symposium on Compiler Construction, SIGPLAN 1982
PublisherAssociation for Computing Machinery, Inc
Pages245-260
Number of pages16
ISBN (Print)0897910745, 9780897910743
DOIs
StatePublished - Jun 23 1982
Event1982 SIGPLAN Symposium on Compiler Construction, SIGPLAN 1982 - Boston, United States
Duration: Jun 23 1982Jun 25 1982

Publication series

NameProceedings of the 1982 SIGPLAN Symposium on Compiler Construction, SIGPLAN 1982

Other

Other1982 SIGPLAN Symposium on Compiler Construction, SIGPLAN 1982
Country/TerritoryUnited States
CityBoston
Period6/23/826/25/82

ASJC Scopus subject areas

  • Software
  • Hardware and Architecture
  • Signal Processing

Fingerprint

Dive into the research topics of 'Control flow aspects of semantics directed compiling'. Together they form a unique fingerprint.

Cite this