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 条
  • [1] AN INTERACTIVE ENVIRONMENT FOR LITERATE PROGRAMMING
    BROWN, M
    CHILDS, B
    [J]. STRUCTURED PROGRAMMING, 1990, 11 (01): : 11 - 25
  • [2] AN ENVIRONMENT FOR LITERATE SMALLTALK PROGRAMMING
    REENSKAUG, T
    SKAAR, AL
    [J]. SIGPLAN NOTICES, 1989, 24 (10): : 337 - 345
  • [3] LITERATE PROGRAMMING
    GROSCH, HRJ
    [J]. COMPUTER JOURNAL, 1984, 27 (04): : 377 - 377
  • [4] LITERATE PROGRAMMING
    KNUTH, DE
    [J]. COMPUTER JOURNAL, 1984, 27 (02): : 97 - 111
  • [5] Literate programming
    Spotnitz, R
    [J]. COMPUTERS & CHEMICAL ENGINEERING, 1998, 22 (12) : 1745 - 1747
  • [6] A Multi-Language Computing Environment for Literate Programming and Reproducible Research
    Schulte, Eric
    Davison, Dan
    Dye, Thomas
    Dominik, Carsten
    [J]. JOURNAL OF STATISTICAL SOFTWARE, 2012, 46 (03): : 1 - 24
  • [7] LITERATE PROGRAMMING - AN ASSESSMENT
    VANWYK, CJ
    [J]. COMMUNICATIONS OF THE ACM, 1990, 33 (03) : 361 - &
  • [8] A HYPERTEXT FOR LITERATE PROGRAMMING
    BROWN, M
    CZEJDO, B
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1990, 468 : 250 - 259
  • [9] ANNOUNCING LITERATE PROGRAMMING
    DENNING, PJ
    [J]. COMMUNICATIONS OF THE ACM, 1987, 30 (07) : 593 - 593
  • [10] Reverse literate programming
    Knasmuller, M
    [J]. PROCEEDINGS OF THE 5TH SOFTWARE QUALITY CONFERENCE, 1996, : 97 - 105