Incorporating Static Analysis in a Semantics-Based Compiler. Montenyohl, M. & Wand, M. Information and Computation, 82:151-184, 1989.
abstract   bibtex   
We show how restructuring a denotational definition leads to a more efficient compiling algorithm. Three semantics-preserving transformations (static replacement, factoring, and combinator selection) are used to convert a continuation semantics into a formal description of a semantic analyzer and code generator. The compiling algorithm derived below performs type checking before code generation so that type-checking instructions may be omitted from the target code. The optimized code is proved correct with respect to the original definition of the source language. The proof consists of showing that all transformations preserve the semantics of the source language.
@Article{MontenyohlWand89,
  author = 	"Margaret Montenyohl and Mitchell Wand",
  title = 	"Incorporating Static Analysis in a Semantics-Based Compiler",
  journal = 	"Information and Computation",
  year = 	"1989",
  volume = 	"82",
  OPTnumber = 	"",
  pages = 	"151-184",
  OPTmonth = 	"",
  OPTnote = 	"",
  abstract =    "We show how restructuring a denotational definition
  leads to a more efficient compiling algorithm.  Three
  semantics-preserving transformations (static replacement, factoring,
  and combinator selection) are used to convert a continuation
  semantics into a formal description of a semantic analyzer and code
  generator.  The compiling algorithm derived below performs type
  checking before code generation so that type-checking instructions
  may be omitted from the target code.  The optimized code is proved
  correct with respect to the original definition of the source
  language.  The proof consists of showing that all transformations
  preserve the semantics of the source language."
}

Downloads: 0