Skip to content

mforth

A pragmatic Forth dialect that compiles to Mindustry's mlog — host REPL, AOT compiler, LSP, and tree-sitter grammar, sharing one analyzer.

What you're looking for

These docs are organised by intent. Pick the entry point that matches why you're here.

  • New here — teach me


    Guided walkthroughs from a defined starting point to a concrete, visible result. Follow along; the tutorial picks the path.

    Tutorials

  • I'm trying to do a specific thing


    Task-oriented recipes for the already-competent user. Titles state the task; steps are executable.

    How-to guides

  • Look up a fact


    The austere catalogue. Surface, signatures, flags, and behaviour — consulted, not read sequentially.

    Reference

  • Help me understand why


    The wider, reflective view. Why this and not that — design rationale, not instruction.

    Explanation