首页> 外文会议> >Programming by example in computing-as-editing paradigm
【24h】

Programming by example in computing-as-editing paradigm

机译:计算即编辑范例中的示例编程

获取原文

摘要

Programming-by-example (PBE) from computation traces is hard to realize because of the difficulty in supporting an interactive environment in which traces can be easily written and edited. In this paper, we propose a new approach to PBE called the computing-as-editing paradigm (CAEP) and describe a PBE system based on this paradigm. The system has a 2D language of constraints for writing computation traces. Constraints represent rules that hold on every computation trace of the same program. In order to uniformly treat rules on traces as constraints, we introduce a new kind of constraint called an iteration constraint, which can represent iteration with fixed increments by simply pointing to the first and second iteration steps. We also develop a new algorithm for inferring conditional expressions in iteration.
机译:由于难以支持一种交互式环境,在该环境中可以轻松编写和编辑跟踪,因此难以实现从计算跟踪进行示例编程(PBE)。在本文中,我们提出了一种称为PBE的新方法,称为计算即编辑范式(CAEP),并描述了基于此范式的PBE系统。该系统具有用于编写计算轨迹的约束的2D语言。约束表示保留在同一程序的每个计算轨迹上的规则。为了将跟踪规则统一视为约束,我们引入了一种称为迭代约束的新型约束,该约束可以通过简单地指向第一和第二迭代步骤来表示具有固定增量的迭代。我们还开发了一种新的算法来推断迭代中的条件表达式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号