LMX — sixteen small languages, one runtime

LMX // SIXTEEN LANGUAGES, ONE RUNTIME

Small languages.One runtime.

16 little languages that share a lexer, a parser and a sandboxed worker. The file extension picks which one you are writing.

  • Free to run
  • One file to install
  • Nothing to install first
The LMX browser IDE running a script and printing its output
THE IDEA

One extension picks the language.

Rename hello.lmx to hello.lmm and the same runtime reads it as a matrix machine. No config, no project file.

set name = "world"
set n = (2 + 3) * 4
print("hello, " + name)
print("n is " + n)

Output

hello, world
n is 20

THE FAMILY

All 16 of them.

7 run here with no account. Four need a live Leumas install. The rest touch the host machine and stay behind an operator's permission.

  • Runs hereRuns in the browser sandbox, no account.
  • Needs an installIts vocabulary is a running Leumas install.
  • Operator onlyTouches the host. Admin plus an explicit env flag.

QUICK SETUP

Three lines to your first run.

One file, carrying its own runtime. Nothing to install before it, nothing left behind after it.

  1. 1

    Download

    curl -fsSL -o lmx "<url>"

    the button on /download fills in the URL for your machine

  2. 2

    Make it runnable

    chmod +x lmx

    not needed on Windows

  3. 3

    Run something

    ./lmx hello.lmx

    the extension picks the interpreter