Advertisement

Report

  • Kathleen Jensen
  • Niklaus Wirth
Chapter
  • 217 Downloads
Part of the Lecture Notes in Computer Science book series (LNCS, volume 18)

Abstract

The language PASCAL has now been in use for several years, during which considerable experience has been gained through its use, its teaching, and its implementation. Although many reasons suggest that a language should be kept unchanged as soon as it has gained a user community, it would be unwise to ignore this experience and to refrain from making good use of it. This Report therefore describes a revised language which included some changes suggested by the work of the last two years. It is still of the form of the original definition, and in fact the changes are very few and relatively minor. They concern the following subjects:
  • Constant parameters are replaced by value parameters (in the sense of Algol 60).

  • The class structure is eliminated: pointer variables are bound to a data type instead of a class variable.

  • The handling of files is changed such that the buffer variable f↑ always has e defined value except when the condition eof(f) is true.

  • Packed records and packed arrays are introduced. As a consequence, the type alfa becomes a special case of a packed character array. The generalization has some consequences on the denotation of strings (formely called alfa constants).

  • Programs require a program heading with external files as parameters.

  • All labels require a declaration.

Keywords

Actual Parameter Formal Parameter Scalar Type Type Definition Procedure Statement 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. N. Wirth, “The Programming Language PASCAL”, ACTA INFORMATICA, 1, 35–63, (1971).CrossRefzbMATHGoogle Scholar
  2. N. Wirth, “Systematisches Programmieren”, Teubner Verlag, Stuttgart, 1972.zbMATHGoogle Scholar
  3. N. Wirth, “Systematic Programming”, Prentice-Hall, Englewood Cliffs, 1973.Google Scholar
  4. C.A.R. Hoare and N. Wirth, “An Axiomatic Definition of the Programming Language PASCAL”, ACTA INFORMATICA, 2, 335–355, (1973).CrossRefzbMATHGoogle Scholar
  5. N. Wirth, “The Design of a PASCAL Compiler”, SOFTWARE-Practice and Experience, 1, 309–333 (1971).CrossRefzbMATHGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1974

Authors and Affiliations

  • Kathleen Jensen
    • 1
  • Niklaus Wirth
    • 1
  1. 1.Institut für InformatikETH ZürichZürichSwitzerland

Personalised recommendations