FORMAL FORMATTING RULES FOR PASCAL PROGRAMS

被引:0
作者
LECUYER, P [1 ]
机构
[1] UNIV LAVAL,DEPT INFORMAT,QUEBEC CITY G1K 7P4,QUEBEC,CANADA
关键词
COMPUTER PROGRAMMING LANGUAGES - PASCAL;
D O I
10.1016/0164-1212(87)90030-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This article proposes a formatting discipline for Pascal programs. The rules are formalized using an Extended Backus-Naur-Form (EBNF) description. Their aim is to provide a better view of the syntactic structure of the programs and to ease, by uniformizing the style, the reading of other people's program. This kind of standard, supported by appropriate prettyprinting tools of language-based editors, should be very helpful to software developing teams.
引用
收藏
页码:311 / 322
页数:12
相关论文
共 9 条
  • [1] A SEMANTICALLY-BASED FORMATTING DISCIPLINE FOR PASCAL
    BAILES, PA
    SALVADORI, A
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1984, 14 (03) : 235 - 251
  • [2] Gries David, 1981, SCI PROGRAMMING
  • [3] Hueras J., 1977, SIGPLAN Notices, V12, P82, DOI 10.1145/954639.954645
  • [4] Jensen K., 1985, PASCAL USER MANUAL R
  • [5] LEAVENS GT, 1984, SIGPLAN NOTICES, V19, P75, DOI 10.1145/948566.948572
  • [6] Ledgard H., 1977, SIGPLAN Notices, V12, P101, DOI 10.1145/954639.954647
  • [7] Mohilner P. R., 1978, SIGPLAN Notices, V13, P34, DOI 10.1145/953863.953869
  • [8] Peterson J. L., 1977, SIGPLAN Notices, V12, P83, DOI 10.1145/954618.954624
  • [9] FORMATTED PROGRAMMING-LANGUAGES
    ROSE, GA
    WELSH, J
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1981, 11 (07) : 651 - 669