Abstract

The new programming language MODULA has been designed by Wirth for the programming of dedicated small computers used in the real-time environment. The language is based on PASCAL; as well as a straightforward set of algorithmic features, MODULA contains features for multiprogramming and machine-specific mechanisms for referencing peripheral hardware. An extension of block structure is used to structure programs, permitting explicit control of the communication of names between distinct parts (modules) of the program. This paper describes a compiler for MODULA, written in the programming language BCPL, which runs on a PDP-11/40 computer under the RSX-11D operating system. The code produced by the compiler is run on PDP-11s under a very small executive (less than 150 words). The quality of the code produced compares well with that of compilers for other high-level languages. The use of the language is illustrated by the construction of a real-time scheduler similar to that written by Brinch Hansen in CONCURRENT PASCAL. A brief discussion is given of experience gained in the use of the language and comments made about the inclusion and exclusion of certain language features.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.