Programs as visual, interactive documents
Article first published online: 22 JAN 2013
Copyright © 2013 John Wiley & Sons, Ltd.
Software: Practice and Experience
Volume 44, Issue 8, pages 911–930, August 2014
How to Cite
French, G.W., Kennaway, J.R. and Day, A.M. (2014), Programs as visual, interactive documents. Softw: Pract. Exper., 44: 911–930. doi: 10.1002/spe.2182
- Issue published online: 9 JUL 2014
- Article first published online: 22 JAN 2013
- Manuscript Accepted: 17 DEC 2012
- Manuscript Revised: 13 DEC 2012
- Manuscript Received: 30 JUL 2011
- visual programming;
We present a novel approach to combined textual and visual programming by allowing visual, interactive objects to be embedded within textual source code and segments of source code to be further embedded within those objects. We retain the strengths of text-based source code, while enabling visual programming where it is beneficial. Additionally, embedded objects and code provide a simple object-oriented approach to adding a visual form of LISP-style macros to a language. The ability to freely combine source code and visual, interactive objects with one another allows for the construction of interactive programming tools and experimentation with novel programming language extensions. Our visual programming system is supported by a type coercion-based presentation protocol that displays normal Java and Python objects in a visual, interactive form. We have implemented our system within a prototype interactive programming environment called ‘The Larch Environment’. Copyright © 2013 John Wiley & Sons, Ltd.