首页    期刊浏览 2025年02月22日 星期六
登录注册

文章基本信息

  • 标题:A Program-Algebraic Approach to Eliminating Common Subexpressions
  • 本地全文:下载
  • 作者:James M. Boyle ; R. Daniel Resler
  • 期刊名称:Informatica
  • 印刷版ISSN:1514-8327
  • 电子版ISSN:1854-3871
  • 出版年度:2000
  • 卷号:24
  • 期号:3
  • 页码:397-408
  • 出版社:The Slovene Society Informatika, Ljubljana
  • 摘要:

    An operation often performed by optimizing compilers for higher-level languages is common - subexpression elimination. Traditionally, common - subexpression elimination is performed on a directed, acyclic graph representing the expression or program. This paper shows how common - subexpression elimination can be expressed algebraically, using a "program algebra" incorporating the syntax of typical higher-level language expressions plus l-expressions from the l calculus and functional programming. This approach has two major advantage - it is intuitive and easy to understand and it uses transformations for which correctness-preservation is easy to prove. (pp. 397-408)

  • 关键词:programming languages; optimizing
国家哲学社会科学文献中心版权所有