|
|
1.1 ! root 1: .\" Copyright (c) 1980 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)puman0.n 6.2 (Berkeley) 5/7/86 ! 6: .\" ! 7: .so tmac.p ! 8: .EH 'PS1:4-%''Berkeley Pascal User\'s Manual' ! 9: .OH 'Berkeley Pascal User\'s Manual''PS1:4-%' ! 10: .TL ! 11: Berkeley Pascal User's Manual ! 12: .br ! 13: Version 3.1 \- April 1986 ! 14: .AU ! 15: William N. Joy\(dd, Susan L. Graham, Charles B. Haley\(dd, ! 16: Marshall Kirk McKusick, and Peter B. Kessler\(dd ! 17: .AI ! 18: Computer Science Division ! 19: .if n Department of Electrical Engineering ! 20: .if n and Computer Science ! 21: .if t Department of Electrical Engineering and Computer Science ! 22: University of California, Berkeley ! 23: Berkeley, California 94720 ! 24: ...AI ! 25: ...MH ! 26: .AB ! 27: .FS ! 28: Copyright 1977, 1979, 1980, 1983 ! 29: W. N. Joy, S. L. Graham, C. B. Haley, M. K. McKusick, P. B. Kessler ! 30: .FE ! 31: .FS ! 32: \(ddAuthor's current addresses: ! 33: William Joy: Sun Microsystems, 2550 Garcia Ave., Mountain View, CA 94043; ! 34: Charles Haley: S & B Associates, 1110 Centennial Ave., Piscataway, NJ 08854; ! 35: Peter Kessler: Xerox Research Park, Palo Alto, CA ! 36: .FE ! 37: .PP ! 38: Berkeley ! 39: Pascal ! 40: is designed for interactive instructional use ! 41: and runs on the \s-2PDP\s0/11 and \s-2VAX\s0/11 computers. ! 42: Interpretive code is produced, ! 43: providing fast translation at the expense of slower execution speed. ! 44: There is also a fully compatible compiler for the \s-2VAX\s0/11. ! 45: An execution profiler and ! 46: Wirth's cross reference program are also ! 47: available with the system. ! 48: .PP ! 49: The system supports full Pascal. ! 50: The language accepted is ! 51: `standard' Pascal, ! 52: and a small number of extensions. ! 53: There is an option to suppress the extensions. ! 54: The extensions include a separate compilation facility ! 55: and the ability to link to object modules ! 56: produced from other source languages. ! 57: .PP ! 58: The ! 59: .UM ! 60: gives a list of sources relating to the ! 61: .UX ! 62: system, the Pascal language, and the ! 63: .UP ! 64: system. ! 65: Basic usage examples are provided for the Pascal components ! 66: .PI , ! 67: .X , ! 68: .IX , ! 69: .PC , ! 70: and ! 71: .XP . ! 72: Errors commonly encountered in these programs are discussed. ! 73: Details are given of special considerations due to the ! 74: interactive implementation. ! 75: A number of examples are provided including many dealing with ! 76: input/output. An appendix supplements Wirth's ! 77: .I "Pascal Report" ! 78: to form the full definition of the Berkeley implementation of the language. ! 79: .AE ! 80: .sp ! 81: .SH ! 82: 'if n 'ND ! 83: Introduction ! 84: .PP ! 85: The ! 86: .UP ! 87: .UM ! 88: consists of five major sections and an appendix. ! 89: In section 1 we give sources of information about ! 90: .UX , ! 91: about the programming ! 92: language Pascal, and about the ! 93: Berkeley ! 94: implementation of the language. ! 95: Section 2 introduces the ! 96: Berkeley ! 97: implementation and provides a number of tutorial examples. ! 98: Section 3 discusses the error diagnostics produced by the translators ! 99: .PC ! 100: and ! 101: .PI , ! 102: and the runtime interpreter ! 103: .X . ! 104: Section 4 describes input/output with special attention given to features ! 105: of the interactive implementation and to features unique to ! 106: .UX . ! 107: Section 5 gives details on the components of the system ! 108: and explanation of all relevant options. ! 109: The ! 110: .UM ! 111: concludes with an appendix to Wirth's ! 112: .I "Pascal Report" ! 113: with which it forms a precise definition of the implementation. ! 114: .SH ! 115: History of the implementation ! 116: .PP ! 117: The first ! 118: Berkeley ! 119: system was written by Ken Thompson in early 1976. ! 120: The main features of the present system were implemented by ! 121: Charles Haley and William Joy during the latter half of 1976. ! 122: Earlier versions of this system have been in use since January, 1977. ! 123: .PP ! 124: The system was moved to the \s-2VAX\s0-11 ! 125: by Peter Kessler and Kirk McKusick ! 126: with the porting of the interpreter in the spring of 1979, ! 127: and the implementation of the compiler in the summer of 1980.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.