Department of Computer Science and Technology

Technical reports

The MCPL programming manual and user guide

Martin Richards

July 1997, 70 pages

DOIhttps://doi.org/10.48456/tr-431

Abstract

MCPL is a programming language that has been derived from BCPL by the inclusion of features found in ML, C and Prolog. Like BCPL, it is typeless, uses a contiguous runtime stack and has no builtin garbage collector, but it does make extensive use of ML-like pattern matching. The low level aspects of the language resemble those of BCPL and C. MCPL uses its own function calling sequence, however it is designed to allow MCPL and C functions to call each other.

Notable features of MCPL are its pattern matching facilities and the simple way in which data structures are handled.

This document gives the definition of the language, its library and how to obtain and install the system.

Full text

PDF (4.0 MB)

BibTeX record

@TechReport{UCAM-CL-TR-431,
  author =	 {Richards, Martin},
  title = 	 {{The MCPL programming manual and user guide}},
  year = 	 1997,
  month = 	 jul,
  url = 	 {https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-431.pdf},
  institution =  {University of Cambridge, Computer Laboratory},
  doi = 	 {10.48456/tr-431},
  number = 	 {UCAM-CL-TR-431}
}