A Pure Demand Operational Semantics with Applications to Program Analysis
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL(2024)
摘要
This paper develops a novel minimal-state operational semantics forhigher-order functional languages that uses only the call stack and a sourceprogram point or a lexical level as the complete state information: there is noenvironment, no substitution, no continuation, etc. We prove this form ofoperational semantics equivalent to standard presentations. We then show how this approach can open the door to potential newapplications: we define a program analysis as a direct finitization of thisoperational semantics. The program analysis that naturally emerges has a numberof novel and interesting properties compared to standard program analyses forhigher-order programs: for example, it can infer recurrences and does not needvalue widening. We both give a formal definition of the analysis and describeour current implementation.
更多查看译文
关键词
Demand-Driven Operational Semantics
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要