DocumentCode :
1126919
Title :
Recognizing a program´s design: a graph-parsing approach
Author :
Rich, Charles ; Wills, Linda M.
Author_Institution :
Artificial Intelligence Lab., MIT, Cambridge, MA, USA
Volume :
7
Issue :
1
fYear :
1990
Firstpage :
82
Lastpage :
89
Abstract :
Psychological experiments have shown that programmers tend to use the same structure over and over. The authors call these commonly used programming structures ´cliches´. They describe a prototype, the Recognizer, that automatically finds all occurrences of a given set of cliches in a program and builds a hierarchical description of the program in terms of the cliches it finds. The key to the Recognizer´s approach is a representation shift. Instead of looking for cliches directly in the source code, the Recognizer first translates the program into a language-independent, graphical representation called the Plan Calculus. The Plan Calculus is a program representation shared by all components of the Programmer´s Apprentice, an intelligent programming system. Thus, although the authors have demonstrated the Recognizer only on small Common Lisp programs, the underlying technology is language-independent.<>
Keywords :
program diagnostics; software tools; Common Lisp; Plan Calculus; Programmer´s Apprentice; Recognizer; cliches; graph-parsing; graphical representation; hierarchical description; intelligent programming system; programming structures; prototype; representation shift; Algorithm design and analysis; Automatic programming; Binary trees; Data structures; Debugging; Documentation; Humans; Programming profession; Prototypes; Psychology;
fLanguage :
English
Journal_Title :
Software, IEEE
Publisher :
ieee
ISSN :
0740-7459
Type :
jour
DOI :
10.1109/52.43053
Filename :
43053
Link To Document :
بازگشت