Abstract
We present an approach to programming environments that integrates syntax-directed editors with concepts borrowed from software reuse. We call our approach example-based programming , and we define it as programming using examples as visual aids or to fully or partially copy into programs. To implement an example-based programming environment, we augmented a syntax-directed editor with a window for example programs. The example programs, which are easily accessible, can be used as examples of language constructs, thus providing syntactic information through instantiations of templates, or as examples of algorithms or programs. The code in the example window can be viewed, totally or partially copied, or run. We discuss the motivation for example-based programming, describe our system implementing example-based programming in greater depth, and report on the results of an experiment to see how the system is used by programmers.
Cite
CITATION STYLE
Neal, L. R. (1989). A system for example-based programming. ACM SIGCHI Bulletin, 20(SI), 63–68. https://doi.org/10.1145/67450.67464
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.