Stack-based VM playground

MiniMakr VM Lab

A small Makrell-inspired language with brace-based forms, infix operators, stack bytecode, and a VM you can inspect as it runs.

Makrell-style braces Infix arithmetic Live bytecode Step-by-step VM trace

How to read it

  1. Write or load code.
  2. Compile to bytecode.
  3. Step the VM and watch state change.
a = 2 + 3 * 4 {print a} {if a > 10 1 0} {while n > 0 {do ... }}

Example library

Programs to load and dissect

Each example is small enough to inspect but rich enough to show real compilation and execution patterns.

Source

MiniMakr editor

Control desk

Compile and execute

Waiting for compile
Status

Compile a program to begin.

Instructions 0
Variables 0
Jumps 0
Built-ins 0

Current instruction

No bytecode yet.

The active instruction and its effect will appear here.

Built-ins in this toy language

Execution flow

Source map

Compiler output

Bytecode

IP Instruction Meaning

Machine state

Stack and variables

Operand stack

Variable slots

Runtime

Output and trace

Output

          

Compiler structure

Parsed tree

The tree is deliberately small so beginners can connect source code, compiler structure, and bytecode shape.