loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
First IEEE International Workshop on Source Code Analysis and Manipulation
Preserving the Documentary Structure of Source Code in Language-Based Transformation Tools
Florence, Italy
November 10-December 10
ISBN: 0-7695-1387-5
Michael L. Van de Vanter, Sun Microsystems Laboratories
Language-based tools necessarily translate textual source code into grammar-based representations. During translation, tools such as compilers and analyzers are generally free to discard comments and white space, which have no impact on the code's formal meaning. Tools that produce transformed source code for human consumption enjoy no such freedom. Comments and white space are crucial to the comprehensibility and maintainability of source code and thus to its ultimate value. However, it is not always practical or desirable for transformation tools to replicate comments and white space in their entirety. An analysis of the documentary (as opposed to linguistic) structure of source code leads to a practical strategy for preserving its comprehensibility when processed by such tools.
Index Terms:
programming languages; program understanding; source code transformations; comments; prettyprinting; unparsing;
Citation:
Michael L. Van de Vanter, "Preserving the Documentary Structure of Source Code in Language-Based Transformation Tools," scam, pp.0133, First IEEE International Workshop on Source Code Analysis and Manipulation, 2001
Usage of this product signifies your acceptance of the Terms of Use.