Kevin C. O'Kane
Last Update: Sept 10, 2017
With version 17, Mumps global arrays are tightly coupled with tables in a relational database. Previously, all global arrays were stored in one large table but now they may be stored in tables having the same name as the global array using either MySQL or PostgreSQL. Similarly, ordinary tables from the a relational database created by other processes may be accessed directly as though they were global arrays (some restrictions apply). In version 17 integer and floating point numbers may be processed either as hardware values with hardware limits on precision or as numbers of arbitrary precision using the GNU Bignum and MPFR facilities. Further, the native global array database option is no longer single user. Multiple concurrent Mumps programs may concurrently assess the same database. Also, additional configuration scripts have been written that will install any needed system software on compatible systems. See ReadMe.pdf for details.
The Mumps Language
Beginning in 1966, the Mumps programming language (also referred to as M), was developed by Neil Pappalardo and others in Dr. Octo Barnett's lab at the Massachusetts General Hospital on a PDP-7. It was later ported to a number of machines including the PDP-11 and VAX.
Mumps is a general purpose programming language that supports a novel, native, hierarchical database facility. The acronym stands for the Massachusetts General Hospital Utility Multi-programming System. It is widely used in financial and clinical applications and remains to this day the basis of the U.S. Veterans Administration's computerized medical record system VistA (Veterans Health Information Systems and Technology Architecture), the largest of its kind in the world.
As originally conceived, Mumps differs from other mini-computer based languages by providing a:
Syntactically, Mumps is based on an earlier language named JOSS and has an appearance similar to early versions of BASIC which was also based on JOSS. Another feature of Mumps which distinguished it from other language environments at the time was its ability to run multiple applications and serve multiple users concurrently on very primitive computers.
Over the years, a number of implementations were developed. Many of these are now extinct or have evolved considerably from their original base. As the early implementations began to differ linguistically from on another, an effort to standardize Mumps began. This culminated in the 1977 ANSI standard for Mumps (X11.1-1977).
The standards effort continued until 1995 when the last standard was published (see: American National Standard for Information Systems - Programming Languages - M ANSI/MDC X11.1-1995). Since then, the standards writing Mumps Development Committee has disbanded and there have been no new standards developed. At present, the 1995 standard has lapsed in the United States but remains in effect as ISO (ISO/IEC 11756:1999). Also, as of 1995, there were related standards either published or in development for Mumps system interconnections (X11.2), a graphical kernel definition (X11.3), X-window binding (X11.4), TCP-IP binding (X11.5) and a windowing API (X11.6). These have also lapsed in the United Sates but some are still in effect at ISO.
GPL Mumps is distributed in source code for Linux and Cygwin (for MS Windows). It is licensed under the Gnu General Public License V2 and may be redistributed subject to the conditions of the license. The package includes a robust Mumps interpreter, a Mumps compiler (not up to date) and a Mumps-like class library for C++ (MDH).
For the most part, GPL Mumps follows the 1995 standard but those areas where it deviates from the standard are highlighted in the documentation. In addition to supporting a builtin database, the GPL Mumps permits storage of the Mumps global arrays in relational database management systems. At present, these include MySQL and PostgreSQL. When the globals are stored in one of the RDBMS systems, they become ACID compliant and accessible by means of SQL queries.
Also available is an document indexing, classification and retrieval sytem using the vector space model written in Mumps.