首页> 外文会议>11th IEEE international symposium on visual languages >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 to support an interactive environment in which traces are easily written and edited. In this paper, we propose a new approach to PBE called Computing-As-Editing Paradigm (CAEP) and describe a PBE system based on the paradigm. The system has a two-dimensional 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 introduced a new kind of constraint called iteration constraint, which can represent iteration with fixed increments by simply pointing to the first and second iteration steps. We also developed a new algorithm for inferring conditional expressions in iteration.
机译:由于难以支持交互式环境,在该环境中易于编写和编辑跟踪,因此很难从计算轨迹进行示例编程(PBE)。在本文中,我们提出了一种称为计算即编辑范例(CAEP)的PBE新方法,并描述了基于该范例的PBE系统。系统具有用于编写计算轨迹的约束的二维语言。约束表示保留在同一程序的每个计算轨迹上的规则。为了将跟踪规则统一视为约束,我们引入了一种称为迭代约束的约束,该约束可以通过简单地指向第一和第二迭代步骤来表示具有固定增量的迭代。我们还开发了一种新的算法来推断迭代中的条件表达式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号