Questions Concepts
GitHub icon


MUMPS - Programming language

< >

MUMPS is a programming language created in 1966 by Neil Pappalardo.

#186on PLDB 57Years Old 2kRepos

Try now: Riju · TIO

MUMPS (Massachusetts General Hospital Utility Multi-Programming System), or M, is a general-purpose computer programming language that provides ACID (Atomic, Consistent, Isolated, and Durable) transaction processing. Its differentiating feature is its "built-in" database, enabling high-level access to disk storage using simple symbolic program variables and subscripted arrays, similar to the variables used by most languages to access main memory. The M database is a key-value database engine optimized for high-throughput transaction processing. Read more on Wikipedia...

Example from the web:
label1 ; This is a label write "Hello World !",! quit
Example from Riju:
main() write "Hello, world!",! quit
Example from hello-world:
w "Hello World",!
; Hello World in Mumps-M w !,"Hello World"
Example from Wikipedia:
GTM>S n="" GTM>S n=$order(^nodex(n)) GTM>zwr n n=" building" GTM>S n=$order(^nodex(n)) GTM>zwr n n=" name:gd" GTM>S n=$order(^nodex(n)) GTM>zwr n n="%kml:guid"

Language features

Feature Supported Token Example
Strings "
"Hello world"
Print() Debugging w
; A comment
Line Comments ;
; A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · · Logout