计算机科学 > 程序设计语言
[提交于 2023年12月27日]
标题:Free Variable as Effect, in Practice
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Variable environment is the time-honored way of making sense of free variables, used in programming language theory as well when writing interpreters and some compilers. Algebraic effects give another way, as was pointed already at HOPE 2017. Although a theoretical curiosity, it may have surprising practical benefits: a new way of writing compilers, with the incremental type-checking, with easy variable usage, leaf function analyses. This work-in-progress report prototypes and illustrates the idea.
提交历史
来自:Oleg Kiselyov[v1] 2023年12月27日 星期三 07:22:03 UTC