参数化代数协议
Parameterized Algebraic Protocols
AI总结:
提出参数化代数协议,通过类似代数数据类型的方式定义协议模板与会话类型,以线性时间的命名检查替代超线性类型检查算法,并结合多态性提升表达性与模块性。
摘要:
我们提出代数协议,它能够定义协议模板与会话类型,类似于用代数数据类型定义特定领域类型。参数化代数协议包含所有正则、大多数上下文无关及嵌套会话类型,同时将用于类型检查的昂贵超线性算法替换为在O(n)时间内运行的命名检查。代数协议与多态结合,通过促进参数化和组合会话类型的新方式,提升了表达性与模块性。
英文摘要:
We propose algebraic protocols that enable the definition of protocol templates and session types analogous to the definition of domain-specific types with algebraic datatypes. Parameterized algebraic protocols subsume all regular as well as most context-free and nested session types and, at the same time, replace the expensive superlinear algorithms for type checking by a nominal check that runs in linear time. Algebraic protocols in combination with polymorphism increase expressiveness and modularity by facilitating new ways of parameterizing and composing session types.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。