计算机科学 > 计算机科学中的逻辑
[提交于 2024年4月9日]
标题:Linear Contextual Metaprogramming and Session Types
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We explore the integration of metaprogramming in a call-by-value linear lambda-calculus and sketch its extension to a session type system. We build on a model of contextual modal type theory with multi-level contexts, where contextual values, closing arbitrary terms over a series of variables, may then be boxed and transmitted in messages. Once received, one such value may then be unboxed (with a let-box construct) and locally applied before being run. We present a series of examples where servers prepare and ship code on demand via session typed messages.
提交历史
来自:EPTCS[v1] 2024年4月9日 星期二 00:00:00 UTC