首页> 外文会议>International symposium on trends in functional programming >Call-by-Value Semantics for Mutually Recursive First-Class Modules
【24h】

Call-by-Value Semantics for Mutually Recursive First-Class Modules

机译:相互递归的一流模块的按值调用语义

获取原文

摘要

We present a transformation based denotational semantics for a call-by-value language with first-class, hierarchical and recursive modules. We use the notion of modules as proposed in [1]. They merge dynamic data structures with aspects of modularisation and name binding in functional programming languages. Modules are first-class values which capture recursive definitions, lexical scoping, hierarchical structuring of programs and dynamically typed data structures in a single construction. We define a call-by-value language ModLang and explain what problems occur in combining nested, recursive and first-class modules. We then show how to solve these problems by defining a dependency analysis to determine the evaluation order, enabling a transformation into an intermediate representation. Finally, we present a denotational call-by-value semantics.
机译:我们为具有一流,分层和递归模块的按值调用语言提供了基于转换的指称语义。我们使用[1]中提出的模块的概念。他们将动态数据结构与功能性编程语言中的模块化和名称绑定方面进行了合并。模块是一流的值,可在单个结构中捕获递归定义,词法作用域,程序的层次结构和动态类型的数据结构。我们定义了一种按值调用语言ModLang,并说明了在组合嵌套,递归和一流模块时出现的问题。然后,我们展示如何通过定义依赖关系分析以确定评估顺序来解决这些问题,从而实现转换为中间表示形式。最后,我们提出了一种指称的按值调用语义。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号