Hi,

Reference Standard M implements a cross-platform runtime for M or
MUMPS programming language and database. This is a language + db that
is used widely in medical software and also some banking. Some
implementations that may be known are the US Veterans' Affairs record
system VistA, or Caché by InterSystems (commercial).

The port is fairly straightforward. It's a runtime and also set up to
install the bundled utilitis (utils.rsm).

Some basic usage is documented on the homepage. `$ rsm -h` shows the
runtime help. Here a hello world example:

$ rsm -v TST -b 16 -s 4096 /tmp/tst.dat # create database
...
$ rsm -j 4 /tmp/tst.dat                 # initialize environment
...
$ rsm -x 'write "Hello, World",!' /tmp/tst.dat
Hello, World
$ rsm -x 'write 3*4,!' /tmp/tst.dat     # math example
12
$ rsm -k /tmp/tst.dat                   # shutdown the environment
RSM environment shut down.

Instead of listing it with every command, the database can be set with
an environment variable:

$ esport RSM_DBFILE="/tmp/tst.dat"

A more detailed guide can be found here [1].

ok?

[1] https://gitlab.com/Reference-Standard-M/rsm/-/blob/main/doc/language.adoc

Attachment: rsm.tgz
Description: application/tar-gz

Reply via email to