Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download


< >

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

#167on PLDB 58Years 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 · About · Resources · Acknowledgements · Part of the World Wide Scroll