LITERATE PROGRAMMING AND THE LIPED ENVIRONMENT

被引:0
|
作者
BISHOP, JM [1 ]
GREGSON, KM [1 ]
机构
[1] UNIV WITWATERSRAND,DEPT COMP SCI,JOHANNESBURG 2050,SOUTH AFRICA
来源
STRUCTURED PROGRAMMING | 1992年 / 13卷 / 01期
关键词
LITERATE PROGRAMMING; PROGRAMMING ENVIRONMENTS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Literate programming is a methodology that encourages the production of a program whose primary purpose is to explain to a human what it does, rather than to instruct a computer what to do. Each program element is clearly explained, and is presented in an order that is best for human understanding. The writer has the freedom to introduce parts of the program as they are needed-which is not necessarily the order required for compilation. The philosophy of literate programming was introduced by Donald Knuth while developing the documentation System TEX. His WEB system consists of two processes, WEAVE and TANGLE, that read a specially constructed literate program source file and produce as output a file containing compilable code and a file for input into TEX. WEB uses a batch approach that seems to hinder the development of new literate programs, and it has not been widely used outside its home base. The literate programming environment LIPED, described in this paper, aims to make the development of literate programs easier by being interactive (rather than batch as is WEB) and by providing instant access to a table of contents, a cross-reference table, and the extracted code. Language independence is achieved, and special facilities are made available to cater for modem programming paradigms. The system runs on minimal hardware and interfaces easily to existing compilers and text processors. This paper describes the background and progress of literate programming, compares the available literate programming systems, and provides an overview of LIPED.
引用
收藏
页码:23 / 34
页数:12
相关论文
共 50 条
  • [21] Rethinking literate programming in statistics
    Haghish, E. F.
    [J]. STATA JOURNAL, 2016, 16 (04): : 938 - 963
  • [22] Literate programming - Automatic parallelization
    Briggs, P
    [J]. ACM SIGPLAN NOTICES, 1996, 31 (04) : 11 - 15
  • [23] THE LITERATE-PROGRAMMING PARADIGM
    CORDES, D
    BROWN, M
    [J]. COMPUTER, 1991, 24 (06) : 52 - 61
  • [24] Becoming Literate Digitally in a Digitally Literate Environment of Their Own
    O'Byrne, W. Ian
    Pytash, Kristine E.
    [J]. JOURNAL OF ADOLESCENT & ADULT LITERACY, 2017, 60 (05) : 499 - 504
  • [25] Using literate programming to teach good programming practices
    Shum, Stephen
    Cook, Curtis
    [J]. SIGCSE Bulletin (Association for Computing Machinery, Special Interest Group on Computer Science Education), 1994, 26 (01): : 66 - 70
  • [26] Java']Java, XML, & literate programming
    Dwelly, A
    [J]. DR DOBBS JOURNAL, 2000, 25 (02): : 62 - +
  • [27] Lightweight literate programming: A documentation practice
    Stavely, Allan
    Walsh, Lynda
    Shipman, John
    [J]. TECHNICAL COMMUNICATION, 2008, 55 (01) : 23 - 37
  • [28] LITERATE SMALLTALK PROGRAMMING USING HYPERTEXT
    OSTERBYE, K
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1995, 21 (02) : 138 - 145
  • [29] Literate programming to enhance agile methods
    Pieterse, V
    Kourie, DG
    Boake, A
    [J]. EXTREME PROGRAMMING AND AGILE PROCESSES IN SOFTWARE ENGINEERING, PROCEEDINGS, 2004, 3092 : 250 - 253
  • [30] Literate smalltalk programming using hypertext
    [J]. Osterbye, Kasper, 1600, IEEE, Piscataway, NJ, United States (21):