Theme-Based Literate Programming

dc.contributor.authorKacofegitis, A.
dc.contributor.authorChurcher, N.
dc.date.accessioned2009-11-06T02:54:28Z
dc.date.available2009-11-06T02:54:28Z
dc.date.issued2002en
dc.descriptionTR-COSC 03/02en
dc.description.abstractThe 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. In this paper 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.en
dc.identifier.citationKacofegitis, A., Churcher, N. (2002) Theme-Based Literate Programming..en
dc.identifier.urihttp://hdl.handle.net/10092/3084
dc.language.isoen
dc.publisherDepartment of Computer Science & Software Engineering, University of Canterburyen
dc.publisherUniversity of Canterbury. Computer Science and Software Engineeringen
dc.rights.urihttps://hdl.handle.net/10092/17651en
dc.subjectliterate programmingen
dc.subjectsoftware engineeringen
dc.subjectXMLen
dc.subject.marsdenFields of Research::280000 Information, Computing and Communication Sciences::280300 Computer Software::280303 Programming languagesen
dc.subject.marsdenFields of Research::280000 Information, Computing and Communication Sciences::280300 Computer Software::280302 Software engineeringen
dc.titleTheme-Based Literate Programmingen
dc.typeReports
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
12618939_12618939_Churcher.pdf
Size:
164.47 KB
Format:
Adobe Portable Document Format