首页> 外文会议>38th annual ACM SIGPLAN-SIGACT symposium on principles of programming languages 2011 >Automating String Processing in Spreadsheets Using Input-Output Examples
【24h】

Automating String Processing in Spreadsheets Using Input-Output Examples

机译:使用输入输出示例在电子表格中自动进行字符串处理

获取原文
获取原文并翻译 | 示例

摘要

We describe the design of a string programming/expression language that supports restricted forms of regular expressions, conditionals and loops. The language is expressive enough to represent a wide variety of string manipulation tasks that end-users struggle with. We describe an algorithm based on several novel concepts for synthesizing a desired program in this language from input-output examples. The synthesis algorithm is very efficient taking a fraction of a second for various benchmark examples. The synthesis algorithm is interactive and has several desirable features: it can rank multiple solutions and has fast convergence, it can detect noise in the user input, and it supports an active interaction model wherein the user is prompted to provide outputs on inputs that may have multiple computational interpretations. The algorithm has been implemented as an interactive add-in for Microsoft Excel spreadsheet system. The prototype tool has met the golden test - it has synthesized part of itself, and has been used to solve problems beyond author's imagination.
机译:我们描述了一种字符串编程/表达式语言的设计,该语言支持正则表达式,条件和循环的受限形式。该语言具有足够的表现力,可以代表最终用户难以应付的各种字符串处理任务。我们描述了一种基于几种新颖概念的算法,用于根据输入输出示例以这种语言合成所需的程序。对于各种基准示例,合成算法非常有效,只需花费不到一秒的时间。合成算法具有交互性,并且具有几个理想的功能:它可以对多个解决方案进行排名并具有快速收敛性,可以检测用户输入中的噪声,并且支持主动交互模型,其中提示用户在可能具有以下特征的输入上提供输出多种计算解释。该算法已实现为Microsoft Excel电子表格系统的交互式加载项。原型工具已经通过了黄金测试-它已经合成了一部分,并已用于解决作者无法想象的问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号