Write source. Get native Win64 executables.
Zero dependencies -- AOT compiled -- Pascal/Oberon inspired
.myr
➜
Lexer
➜
Parser
➜
IR/SSA
➜
x64
➜
PE Link
➜
.exe
The Language
Clean syntax, native output
Myrissa reads like Pascal, compiles like C, and ships as a standalone binary with nothing else to install.
// A complete program in Myrissa
module exe hello;
import mathutils;
routine greet(const name: string; const times: int32);
var
i: int32;
begin
for i := 1 to times do
println("Hello, %s! (%d)", name, i);
end;
end;
begin
greet("Myrissa", 3);
println("2 + 3 = %d", mathutils.add(2, 3));
end.
$ myrc -s hello.myr -r
Hello, Myrissa! (1)
Hello, Myrissa! (2)
Hello, Myrissa! (3)
2 + 3 = 5
Features
Everything built in. Nothing to install.
The full compiler pipeline -- lexer, parser, optimizer, code generator, linker -- runs in one invocation.
⚙
Zero Dependencies
No MSVC, no MinGW, no external linker, no runtime. One tool produces standalone native binaries.
⚡
Native x64 Output
Ahead-of-time compiled to x86-64 machine code. No interpreter, no VM, no bytecode layer.
🎯
Multiple Targets
Compile the same source to EXE, DLL, static library, or in-memory executable. Module declaration drives the output.
🐞
Built-in Debugger
Debug Adapter Protocol support provides breakpoints, stepping, call stacks, and variable inspection in VS Code.
🧠
Language Server
LSP integration delivers diagnostics, completion, hover, go-to-definition, and references in your editor.
🔌
Embeddable API
Ship Myrissa.dll and give your application native-code compilation at runtime. C and Delphi bindings included.
Use Cases
Built for people who ship native code
Whether you are building a game, a tool, or just want to understand how compilers work.
Game Developers
Scripting-language convenience with native compilation. Myrissa pairs naturally with the PIXELS 2D engine through its subsystem.routine API style.
Tool Builders
Embed Myrissa.dll and give your application native-code compilation at runtime. C and Delphi/Free Pascal bindings are included.
Language Enthusiasts
Study a complete native compiler stack from parsing and SSA IR through register allocation and PE linking -- all in one codebase.
Windows Developers
Produce standalone Win64 binaries without shipping .NET, JVM, Python, or a pile of runtime DLLs alongside your application.
Get Started
Three steps to native code
No SDK, no package manager, no setup wizard.
01
Write a source file
// hello.myr
module exe hello;
begin
println("Hello!");
end.
02
Compile and run
$ myrc -s hello.myr -r
Hello!
03
Ship it
$ dir output\
hello.exe 32,768 bytes
// That's it. No runtime.