DocumentCode :
390892
Title :
Theme-based literate programming
Author :
Kacofegitis, Andreas ; Churcher, Neville
Author_Institution :
Dept. of Comput. Sci., Canterbury Univ., Christchurch, New Zealand
fYear :
2002
fDate :
2002
Firstpage :
549
Lastpage :
557
Abstract :
The source code for computer programs is destined to be read by compilers and consequently its internal structure is heavily constrained. The compiler neither knows nor cares about such things as a program´s internal structure, the relationships between its components and their specifications, the way design patterns are instantiated, the best way to explain its algorithms or how it is intended to be used. People do. Literate programming (LP) was invented by Donald Knuth as a way to address such problems. The idea is appealing but LP has not been adopted widely: the lack of good tools, difficulties with object-oriented languages and the limitations of a single psychological order are among the reasons. We report the development of theme-based literate programming (TBLP). Themes are extremely flexible: they may be aimed at particular reader groups or represent aspects of the program. Features of TBLP include an extended chunk model which accommodates a richer variety of types, an extended connection model which allows chunks to be threaded together into multiple themes, an enhanced processing model which generalises tangling and weaving and a chunk-level version management system. XML is used to represent the web structure and XML-based technologies such as XSLT are used in processing. This provides flexibility and extensibility, allowing users to define new chunk types. An application which implements TBLP is presented and the integration of TBLP with software engineering processes is discussed.
Keywords :
configuration management; hypermedia markup languages; programming; system documentation; XML; XSLT; chunk-level version management; extended chunk model; extended connection model; object-oriented languages; program compilers; software engineering processes; source code; theme-based literate programming; Computer languages; Computer science; Documentation; Humans; Java; Object oriented modeling; Program processors; Software engineering; Software systems; Visualization;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2002. Ninth Asia-Pacific
ISSN :
1530-1362
Print_ISBN :
0-7695-1850-8
Type :
conf
DOI :
10.1109/APSEC.2002.1183079
Filename :
1183079
Link To Document :
بازگشت