Programming by example in computing-as-editing paradigm
Masami Hagiya, 知樹 白取 · 2002
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.
Cited by 2 works. doi:10.1109/vl.1995.520819
Authors
References
- Watch what I do: programming by demonstration
- Constructing Programs from Example Computations
- Programming by example
- A Methodology for LISP Program Construction from Examples
- Dominoes and storyboards beyond 'icons on strings'
- Inducing programs in a direct-manipulation environment
- Creating user interfaces using programming by example, visual programming, and constraints
- Programming by examples
- Viewpoint: toward a computer for visual thinkers
- Some Rules of Inductive Inference and their Use for Program Synthesis.