计算机科学 > 程序设计语言
[提交于 2015年7月21日]
标题:Horn Clauses as an Intermediate Representation for Program Analysis and Transformation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Many recent analyses for conventional imperative programs begin by transforming programs into logic programs, capitalising on existing LP analyses and simple LP semantics. We propose using logic programs as an intermediate program representation throughout the compilation process. With restrictions ensuring determinism and single-modedness, a logic program can easily be transformed to machine language or other low-level language, while maintaining the simple semantics that makes it suitable as a language for program analysis and transformation. We present a simple LP language that enforces determinism and single-modedness, and show that it makes a convenient program representation for analysis and transformation.
提交历史
来自:Peter Schachte[v1] 2015年7月21日 星期二 09:39:11 UTC