计算机科学 > 程序设计语言
[提交于 2025年8月15日]
标题:Generic Reduction-Based Interpreters (Extended Version)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Reduction-based interpreters are traditionally defined in terms of a one-step reduction function which systematically decomposes a term into a potential redex and context, contracts the redex, and recomposes it to construct the new term to be further reduced. While implementing such interpreters follows a systematic recipe, they often require interpreter engineers to write a substantial amount of code -- much of it boilerplate. In this paper, we apply well-known techniques from generic programming to reduce boilerplate code in reduction-based interpreters.
提交历史
来自:Casper Bach Poulsen[v1] 2025年8月15日 星期五 08:04:46 UTC