Overseen by Cyn · Copper OS v0.3 · 67 system directives

Murder Drones
Language

MD is a scripting language built on Copper 9 vocabulary. Cyn is the boss — every error, every directive, every drone answers to the Solver.

What is MD?

MD (.md source files) replaces boring keywords with Murder Drones show language. Print with spawn. Define functions as drone units. Branch with hive and dissolve. Loop with reboot or corrupt counters with corrupt.

The runtime ships builtins for Uzi, N, J, V, Cyn, Copper9, and JCJenson. When something breaks, Cyn tells you — not a generic compiler.

// First directive on Copper 9
spawn "Bite me! Welcome to MD."
spawn "Boss: " + Cyn

drone greet(who) {
    spawn who + " — still functional."
}
greet(Uzi)

[Cyn] Unknown unit 'foo' — Cyn has no record of it. (line 3, col 1)

Show Words

Murder Drones vocabulary wired into the language and stdlib.

Cyn Absolute Solver · language boss

All errors are reported by Cyn. The overseer of MD.

Uzi · N · J · V builtin string constants

Serial designations and worker drone identity built in.

Copper 9 Copper9 constant

Home planet of the worker drone colony — and MD's origin.

JCJenson "In Spaaace!"

Corporate lore, one spawn away.

spawn output / print

Emit text to the maintenance tunnel (stdout).

drone · hive · dissolve fn · if · else

Core control flow with disassembly drone naming.

Syntax

MDMeaning
spawnPrint output
coreDeclare variable
droneDefine function
hive / dissolveIf / else
rebootWhile loop
corruptFor loop — corrupt (i = 0 => 9) { }
terminateReturn
directiveImport another .md file
absolute / voidTrue / false
dockFrozen constant
bunkerElse-if
serialLambda drone
disassemble / whenSwitch / case
surveil / salvageTry / catch
heckle / hauntAssert / sleep
hunt / excludeIn / not in
{ key = val }Nest (dict)

Quick install (any OS with Python 3)

curl -fsSL https://aurexon.org/md/downloads/md-lang_0.2.0_linux_x86_64.tar.gz | tar -xz -C /tmp
sudo cp /tmp/usr/bin/md /usr/local/bin/
md examples/showcase.md

v0.3 — 67 OS Directives

Copper OS workloads: app, program, workload, service, deploy, launch, halt, log, exit. Filesystem: boot, read, write, ls, mkdir. System: memuse, diskuse, uptime, hostname. Constants: CopperOS, Kernel, Scheduler, Watchdog

app OilMonitor() { spawn Watchdog + " checking oil" }
workload BootCheck() { spawn Bootloader + " online" }
deploy OilMonitor
core q = make_queue("tasks")
enqueue(q, "patch firmware")
log CopperOS + " ready"

v0.2 — 54 New Things

Cyn unlocked 54 directives: dock, bunker, serial, disassemble, surveil/salvage, heckle, haunt, purge, hunt/exclude, **, compound assigns, /* */ comments, nest dicts, 25 show constants (Thad, Railgun, BiteMe…), and push, pop, join, cyn_says, random, and more.

dock boss = Cyn
core unit = { name = Uzi, oil = 65 }
disassemble (unit.oil) {
    when 65 { spawn BiteMe }
    dissolve { spawn "oil low" }
}
spawn cyn_says(boss + " approves.")

Download

MD v0.3.0 — 67 OS directives + 54 language features. Requires Python 3.8+.

Debian install

sudo dpkg -i md-lang_0.2.0_all.deb
md /usr/share/md/examples/showcase.md