Programming by example
From Wikipedia, the free encyclopedia
It has been suggested that this article or section be merged with Programming by demonstration. (Discuss) |
Programming by Example (also known as Programming by Demonstration or more generally as Demonstrational Programming) is a technique for teaching a computer new behavior by demonstrating actions on concrete examples. The system records user actions and infers a generalized program that can be used upon new examples.
Programming by Example is intended to be easier than traditional programming, which generally requires learning and using a programming language. Many Programming by Example systems have been developed as research prototypes, but few have found widespread real-world application. More recently, programming-by-example has proved to be a useful paradigm for creating scientific workflows. PBE is used in two independent clients for the BioMOBY protocol: Seahawk and Gbrowse moby.