Modula-2: An Introduction
β Scribed by Daniel Thalmann (auth.)
- Publisher
- Springer-Verlag Berlin Heidelberg
- Year
- 1985
- Tongue
- English
- Leaves
- 301
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
MODULA-2 is a new programming language which was created by Niklaus Wirth of the Swiss Federal Institute of Technology (ETH) in Zurich. The lanΒ guage is derived from PASCAL: it includes all aspects of PASCAL and someΒ times improves on them. Moreover, MODULA-2 includes the important "modΒ ule" concept, as well as multiprogramming capabilities and a way of implemenΒ ting low-level software in an elegant manner. In summary, MODULA-2 may be used equally well as a general-purpose programming language and as a system implementation language. MODULA-2 provides the programmer with a good way of writing high quality software. In particular, modules are powerful tools for achieving modularity, reliability, readability, extensibility, reusability and maΒ chine-independence. This book presents the complete MODULA-21anguage from the beginning. Each topic is presented by means of numerous examples and each concept is justified. The syntax of the language is explained using syntactic diagrams. This book is not a reference manual for MODULA-2, but a textbook from which the student can learn the language progressively. The most important conΒ cepts (i.e. procedures, modules and data structures) are explained in great detail and methodological aspects are also emphasized. Beginning in the first chapter, the student may execute his/her own proΒ grams. Program examples in this book have been executed on several machines (APPLE II, IBM PC and VAX 11/780) and they may be taken as a basis for stuΒ dents.
β¦ Table of Contents
Front Matter....Pages I-XI
Introduction....Pages 1-10
Numbers....Pages 11-18
Constants, Variables and Data Types....Pages 19-26
The Boolean and CHAR Types....Pages 27-39
Basic Control Statements....Pages 40-53
The Input/Output Modules....Pages 54-63
Enumeration and Subrange Types....Pages 64-71
Other Control Statements....Pages 72-85
Array Types....Pages 86-101
Procedures and Locality....Pages 102-121
Transmission of Parameters and Scope....Pages 122-131
Function Procedures and Procedure Types....Pages 132-144
Recursion....Pages 145-158
Modules....Pages 159-168
Local Modules....Pages 169-180
Records....Pages 181-196
Sets....Pages 197-209
Streams....Pages 210-216
Dynamic Data Structures....Pages 217-242
Processes....Pages 243-249
Low-Level Features....Pages 250-268
Back Matter....Pages 269-292
β¦ Subjects
Programming Languages, Compilers, Interpreters; Programming Techniques; Software Engineering
π SIMILAR VOLUMES
<p>This book is a fully detailed introduction to the theory of modular functions of a single variable. I hope that it will fill gaps which in view ofthe lively development ofthis theory have often been an obstacle to the students' progress. The study of the book requires an elementary knowledge of a