Skip to content
@MiniLangProject

MiniLang Project

MiniLang is a self-hosted programming language compiling to native Windows and Linux x64 executables—plus tools and real applications.

MiniLang Project — native, self-hosted, practical

A self-hosted, dynamically typed programming language that compiles directly to native Windows x64 and Linux x64 executables.

Self-hosted compiler · Reference compiler · Latest release · Language guide

Small language. Native binaries. Real software.

MiniLang emits native PE32+ and ELF64 images from its own x86-64 backends. The production compiler is written in MiniLang and reaches a byte-identical self-hosting fixed point. A separately maintained Python reference compiler produces compatible executables and provides a transparent bootstrap path.

function fibonacci(n)
  if n < 2 then return n end if
  return fibonacci(n - 1) + fibonacci(n - 2)
end function

print fibonacci(10)

The language and standard library include structured error handling, garbage collection, threads and synchronization, networking and TLS, FFI, conditional compilation, documentation comments, formatting, and a native unit-test framework.

Start here

Project What it demonstrates
MiniLangCompilerML The self-hosted MiniLang compiler for Windows and Linux x64
MiniLangCompilerPy The Python reference and bootstrap compiler
MiniDoom A full DOOM engine port with classic and OpenGL renderers
MiniQuake A playable Quake source port preserving Protocol 15
MiniSQL A transactional SQL server with concurrency, TLS, and replication
MiniDoc A self-hosted documentation generator and source analyzer

More projects explore Quake II, 2D games, native GUIs, installers, and a lightweight MiniLang IDE. Browse the complete repository collection.

Reproducibility matters

The two compiler implementations are continuously checked against shared language behavior and native output. Self-hosted stage builds, Windows/Linux targets, object-pipeline builds, and representative applications are measured for correctness, binary compatibility, build time, and memory use. The detailed evidence and current measurements live in the compiler repositories instead of being reduced to unsupported headline claims.

Built in the open

MiniLang and its project family were developed with extensive assistance from generative AI. The repositories keep the implementation, tests, generated API documentation, performance reports, and limitations visible so the results can be inspected and reproduced.

Questions, bug reports, and focused contributions are welcome in the relevant project repository.

Pinned Loading

  1. MiniLangCompilerPy MiniLangCompilerPy Public

    Python reference and bootstrap compiler for MiniLang, producing native Windows x64 PE32+ and Linux x64 ELF64 executables.

    Python 1

  2. MiniDoom MiniDoom Public

    Full MiniLang port of DOOM with classic and OpenGL renderers, multiplayer, and native Windows/Linux x64 builds.

    PowerShell 1

  3. MiniLangCompilerML MiniLangCompilerML Public

    Self-hosted MiniLang compiler written in MiniLang, producing native Windows x64 PE32+ and Linux x64 ELF64 executables.

    OCaml

  4. MiniQuake MiniQuake Public

    Playable MiniLang port of Quake for Windows and Linux x64, with classic and OpenGL rendering and Protocol 15 compatibility.

    OCaml

  5. MiniSQL MiniSQL Public

    Transactional SQL server written in MiniLang, with concurrency, TLS, replication, and native Windows/Linux x64 builds.

    OCaml

  6. MiniDoc MiniDoc Public

    Self-hosted MiniLang documentation generator with HTML/Markdown output, dependency graphs, source metrics, and diagnostics.

    OCaml

Repositories

Showing 10 of 11 repositories
  • MiniLangCompilerML Public

    Self-hosted MiniLang compiler written in MiniLang, producing native Windows x64 PE32+ and Linux x64 ELF64 executables.

    MiniLangProject/MiniLangCompilerML's past year of commit activity
    OCaml 0 Apache-2.0 0 0 0 Updated Sep 13, 2026
  • MiniLangCompilerPy Public

    Python reference and bootstrap compiler for MiniLang, producing native Windows x64 PE32+ and Linux x64 ELF64 executables.

    MiniLangProject/MiniLangCompilerPy's past year of commit activity
    Python 1 Apache-2.0 0 0 0 Updated Sep 13, 2026
  • MiniPixels Public

    Pixel-oriented 2D game engine for MiniLang with sprites, tilemaps, audio, collision, and OpenGL presentation.

    MiniLangProject/MiniPixels's past year of commit activity
    OCaml 0 Apache-2.0 0 0 0 Updated Sep 12, 2026
  • MiniDoom Public

    Full MiniLang port of DOOM with classic and OpenGL renderers, multiplayer, and native Windows/Linux x64 builds.

    MiniLangProject/MiniDoom's past year of commit activity
    PowerShell 1 Apache-2.0 0 0 0 Updated Sep 6, 2026
  • MiniGui Public

    Declarative native Windows GUI library and code generator for MiniLang applications.

    MiniLangProject/MiniGui's past year of commit activity
    OCaml 0 Apache-2.0 0 0 0 Updated Sep 5, 2026
  • MiniDoc Public

    Self-hosted MiniLang documentation generator with HTML/Markdown output, dependency graphs, source metrics, and diagnostics.

    MiniLangProject/MiniDoc's past year of commit activity
    OCaml 0 Apache-2.0 0 0 0 Updated Sep 5, 2026
  • MiniQuake2 Public

    Playable MiniLang port of Quake II 3.19 for Windows x64, preserving Game API v3 and Protocol 34 compatibility.

    MiniLangProject/MiniQuake2's past year of commit activity
    OCaml 0 0 0 0 Updated Sep 4, 2026
  • MiniSQL Public

    Transactional SQL server written in MiniLang, with concurrency, TLS, replication, and native Windows/Linux x64 builds.

    MiniLangProject/MiniSQL's past year of commit activity
    OCaml 0 Apache-2.0 0 0 0 Updated Sep 4, 2026
  • MiniIDE Public

    Lightweight native Windows IDE for MiniLang with editing, build/run, diagnostics, symbol navigation, and test support.

    MiniLangProject/MiniIDE's past year of commit activity
    OCaml 1 Apache-2.0 0 0 0 Updated Sep 4, 2026
  • .github Public

    Public organization profile and shared community assets for the MiniLang Project.

    MiniLangProject/.github's past year of commit activity
    Python 0 0 0 0 Updated Sep 4, 2026