This continuously executing environment will be implemented as a part of [1] Chickenfoot, a Firefox browser plug-in. Chickenfoot is a JavaScript-based web-automation tool, which supplies the users with commands to customize and navigate web pages. This work will make it so that as the user develops in the Chickenfoot editor, all the code up to the location of the text cursor will be executed. In this way, as the user navigates a script, the corresponding HTML page will be updated as well. Because running even partial scripts may take a long time to run, this work will exploit the browser history to try to shortcut unnecessary parts of code, in order to speed up the overall process.
Currently, I am developing a prototype of this continuous execution environment in Chickenfoot. One major problem is how to handle multi-line statements. If all the code up to the text cursor is run, it is possible that part of a multi-line statement will be executed. I am exploring the use of Rhino, a JavaScript parser to try to find an elegant solution to the problem caused by multi-line statements.
[1] Michael Bolin, Matthew Webber, Philip Rha, Tom Wilson, and Robert C. Miller. "Automation and Customization of Rendered Web Pages." UIST, 2005, pp. 163-172.
Computer Science and Artificial Intelligence Laboratory (CSAIL) The Stata Center, Building 32 - 32 Vassar Street - Cambridge, MA 02139 - USA tel:+1-617-253-0073 - publications@csail.mit.edu |