MCPL(ID:2221/mcp002)

Matching CPL 


Martin Richards, Cambridge. Simple typeless language which is based on BCPL. It makes extensive use of pattern matching, somewhat related to that used in ML and Prolog, and some other features found in C.

"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 patter 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." (Richards 1999)


Places
People:
Structures:
Related languages
BCPL => MCPL   Evolution of
ML => MCPL   Influence
Prolog => MCPL   Influence

References:
  • Richards, Martin "Backtracking Algorithms in MCPL using Bit Patterns and Recursion", TR 433, July 1997. view details
  • Richards, Martin "Pattern Matching in a Typeless Language", POP Seminar given at CMU, 10 December 1997. view details
  • Richards, Martin "Thee MCPL Programming Manual and User Guide, TR 431, July 1997. view details
    Resources
    • Language reference manual
      pdf
    • Page for MCPL
      external link
    • Zipped distribution

      "
    • Windows binary

      "