Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

MUMPS

< >

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

#182on PLDB 58Years Old 2kRepos
REPL · Try It Online · Wikipedia · Docs

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 Example Token
Strings ✓ "Hello world" "
Print() Debugging ✓ w
Comments ✓ ; A comment
Line Comments ✓ ; A comment ;
Semantic Indentation X
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll