表定义函数的在线部分求值
Online partial evaluation of sheet-defined functions
摘要:
我们提出了一个电子表格的实现,扩展与表定义的功能,允许用户定义功能,只使用标准的电子表格概念,如单元格,公式和引用,不需要新的语法。这实现了Peyton-Jones等人提出的想法。作为本文的主要贡献,我们随后展示了如何为此类表定义函数添加在线部分求值器。其结果是一个高阶函数语言,它是动态类型的,与电子表格传统保持一致,以及一个用于函数定义和函数专门化的交互式平台。我们描述了这些想法的实现,提出了一些性能数据从微基准测试,并概述了理想的改进和扩展。
英文摘要:
We present a spreadsheet implementation, extended with sheet-defined functions, that allows users to define functions using only standard spreadsheet concepts such as cells, formulas and references, requiring no new syntax. This implements an idea proposed by Peyton-Jones and others. As the main contribution of this paper, we then show how to add an online partial evaluator for such sheet-defined functions. The result is a higher-order functional language that is dynamically typed, in keeping with spreadsheet traditions, and an interactive platform for function definition and function specialization. We describe an implementation of these ideas, present some performance data from microbenchmarks, and outline desirable improvements and extensions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。