计算机科学 > 程序设计语言
[提交于 2024年6月20日]
标题:Grokking the Sequent Calculus (Functional Pearl)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The sequent calculus is a proof system which was designed as a more symmetric alternative to natural deduction. The {\lambda}{\mu}{\mu}-calculus is a term assignment system for the sequent calculus and a great foundation for compiler intermediate languages due to its first-class representation of evaluation contexts. Unfortunately, only experts of the sequent calculus can appreciate its beauty. To remedy this, we present the first introduction to the {\lambda}{\mu}{\mu}-calculus which is not directed at type theorists or logicians but at compiler hackers and programming-language enthusiasts. We do this by writing a compiler from a small but interesting surface language to the {\lambda}{\mu}{\mu}-calculus as a compiler intermediate language.
提交历史
来自:David Binder[v1] 2024年6月20日 星期四 20:30:37 UTC