DocumentCode :
3712212
Title :
Tutorons: Generating context-relevant, on-demand explanations and demonstrations of online code
Author :
Andrew Head;Codanda Appachu;Marti A. Hearst;Bj?rn Hartmann
Author_Institution :
Computer Science Division, UC Berkeley, CA 94720, USA
fYear :
2015
Firstpage :
3
Lastpage :
12
Abstract :
Programmers frequently turn to the web to solve problems and find example code. For the sake of brevity, the snippets in online instructions often gloss over the syntax of languages like CSS selectors and Unix commands. Programmers must compensate by consulting external documentation. In this paper, we propose language-specific routines called Tutorons that automatically generate context-relevant, on-demand micro-explanations of code. A Tutoron detects explainable code in a web page, parses it, and generates in-situ natural language explanations and demonstrations of code. We build Tutorons for CSS selectors, regular expressions, and the Unix command “wget”. We demonstrate techniques for generating natural language explanations through template instantiation, synthesizing code demonstrations by parse tree traversal, and building compound explanations of co-occurring options. Through a qualitative study, we show that Tutoron-generated explanations can reduce the need for reference documentation in code modification tasks.
Keywords :
"Cascading style sheets","Visualization"
Publisher :
ieee
Conference_Titel :
Visual Languages and Human-Centric Computing (VL/HCC), 2015 IEEE Symposium on
Type :
conf
DOI :
10.1109/VLHCC.2015.7356972
Filename :
7356972
Link To Document :
بازگشت