NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Software for Better Documentation of Other SoftwareThe Literate Programming Extraction Engine is a Practical Extraction and Reporting Language- (PERL-)based computer program that facilitates and simplifies the implementation of a concept of self-documented literate programming in a fashion tailored to the typical needs of scientists. The advantage for the programmer is that documentation and source code are written side-by-side in the same file, reducing the likelihood that the documentation will be inconsistent with the code and improving the verification that the code performs its intended functions. The advantage for the user is the knowledge that the documentation matches the software because they come from the same file. This program unifies the documentation process for a variety of programming languages, including C, C++, and several versions of FORTRAN. This program can process the documentation in any markup language, and incorporates the LaTeX typesetting software. The program includes sample Makefile scripts for automating both the code-compilation (when appropriate) and documentation-generation processes into a single command-line statement. Also included are macro instructions for the Emacs display-editor software, making it easy for a programmer to toggle between editing in a code or a documentation mode.
Document ID
20110023739
Acquisition Source
Johnson Space Center
Document Type
Other - NASA Tech Brief
Authors
Pinedo, John
(Lockheed Martin Corp. Houston, TX, United States)
Date Acquired
August 25, 2013
Publication Date
March 1, 2003
Publication Information
Publication: NASA Tech Briefs, March 2003
Subject Category
Computer Programming And Software
Report/Patent Number
LAR-16438
Report Number: LAR-16438
Distribution Limits
Public
Copyright
Public Use Permitted.
No Preview Available