|
ABSTRACT
We propose a new paradigm to query information about programs, namely query by outlines. This paradigm relies on an outlining model that conceptually describe units of code according to the computations they perform. Outlines are automatically constructed by our system PRISME for C and Lisp programs. Currently, both our model and our system are restricted to loops.QBO is a prototype tool that implements the query by outline paradigm. It proposes to browse the loops of a program directly through their outline, and allows to restrict these loops to browse with queries expressed as constraints on the outlines. Thus it enables to answer questions such as "where is this variable modified?", "where is this kind of computation performed?", or "are there many places where this computation is performed?".In this paper, we sketch our outlining model, introduce QBO and argue that query by outline is a helpful paradigm to manage programs.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
F. Balmas. PRISMS: Formalizing programming strategies as a way to understand programs. In Proceedings of the 8th Znt. Conference on Software Engineering and Knowledge Engineering, Lake Tahoe (NV), 1996.
|
| |
3
|
|
| |
4
|
F. Balmas. Toward a framework based on schemas to support programming activities. Submitted to Journal of Symbolic Computations, Special Issue on Schemas, 1998.
|
| |
5
|
|
| |
6
|
|
| |
7
|
R.F. Crew. ASTLGG: A language for examining abstract syntax trees. In Proceedings of the Conference on Domain-Specijk Languages, Berkeley (CA), 1997.
|
 |
8
|
|
| |
9
|
K. Ehrlich and E. Soloway. An empirical investigation of the tacit plan knowledge in programming. Research Report 236, Yale University, New Haven (CT), 1982.
|
| |
10
|
|
| |
11
|
|
| |
12
|
ftp://ftp.cs.princeton.edu/public/lcc/*.
|
| |
13
|
A. Mendelzon and J. Sametinger. Reverse engineering by visualizing and querying. Software - Concepts and Tools, 160(4), 1995.
|
| |
14
|
ftp://ieee.com/pub/fil/metre.tar.gz.
|
| |
15
|
S. Paul and A. P&ash. Supporting queries on source code: A formal framework. Znt. J. of Software Engineering and Knowledge Engineering, 4(3), September 1994.
|
| |
16
|
|
| |
17
|
P. G. Selfridge and G. T. Heineman. Graphical support for codelevel software understanding. In Proceedings of the 9th Knowledge-Based Software Engineering Conference, Monterey (CA), 1994.
|
| |
18
|
E. Soloway and K. Ehrlich. Empirical studies of programming knowledge. IEEE Transactions on Sojbvare Engineering, SE-10(5), September 1984.
|
| |
19
|
Stanford Compiler Group. The SUIF library. Technical report, Stanford University, Palo Alto (CA), 1994.
|
| |
20
|
M.A.D. Storey and H.A. Mtiller. Manipulating and documenting software structures. In Software l4suulization. World Scientific Publishing Co., 1996.
|
| |
21
|
R.C. Waters. A method for analysing loop programs. IEEE Tmnsactions on Sojiware Engineering, SE-5(3), May 1979.
|
| |
22
|
|
| |
23
|
Michael Whitney , Morris Bernstein , Renato De Mori , Kostas Kontogiannis , Brain Corrie , Hausi Müller , Scott Tilley , Ettore Merlo , John Mylopoulos , Kenny Wong , J. Howard Johnson , James McDaniel , Martin Stanley, Using an integrated toolset for program understanding, Proceedings of the 1995 conference of the Centre for Advanced Studies on Collaborative research, p.59, November 07-09, 1995, Toronto, Ontario, Canada
|
|