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

Top languages

Loading…

Most used topics

Loading…