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.
All errors are reported by Cyn. The overseer of MD.
Serial designations and worker drone identity built in.
Home planet of the worker drone colony — and MD's origin.
Corporate lore, one spawn away.
Emit text to the maintenance tunnel (stdout).
Core control flow with disassembly drone naming.
Syntax
| MD | Meaning |
|---|---|
spawn | Print output |
core | Declare variable |
drone | Define function |
hive / dissolve | If / else |
reboot | While loop |
corrupt | For loop — corrupt (i = 0 => 9) { } |
terminate | Return |
directive | Import another .md file |
absolute / void | True / false |
dock | Frozen constant |
bunker | Else-if |
serial | Lambda drone |
disassemble / when | Switch / case |
surveil / salvage | Try / catch |
heckle / haunt | Assert / sleep |
hunt / exclude | In / 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.")