JetPascal

Breaking down the wall between Pascal and C++

Pascal-to-C++ transpiler with zero-friction C++ interoperability. Write clean Pascal code and seamlessly integrate the entire C++ ecosystem without wrappers, FFI overhead, or complex bindings.

Why JetPascal?

Traditional Pascal compilers isolate you from the C++ ecosystem. JetPascal breaks down that wall.

🔓 Zero-Friction C++ Interop

Mix Pascal and C++ freely in the same source. Unknown tokens pass through as C++ - no wrappers, no FFI, no hassle.

⚡ Blazing Fast Performance

1.67x to 3.3x faster than native Delphi. Leverage LLVM optimization and C++23 features automatically.

🌍 True Cross-Platform

Windows, Linux, macOS (Intel & ARM), WebAssembly. One codebase, build for anywhere via Zig toolchain.

📦 Static Linking Made Easy

Link C++ libraries statically for single-file executables. Something difficult to achieve in traditional Delphi.

🎯 Total Build Control

Compiler directives in your Pascal source control everything - optimization, target platform, libraries, paths.

📚 Everything Included

Zig toolchain, Clang compiler, standard libraries - all bundled. No external dependencies to hunt down.

See It In Action

Using raylib for graphics - no wrappers needed!

MyGame.pas
program MyGame;

# Compiler directives - total control from source!
#optimization releasesmall
#include_header '"raylib.h"'

# Link libraries statically
#link 'raylib'
#link 'opengl32'

begin
  // These are C++ functions - they just work!
  InitWindow(800, 450, "raylib - basic window");
  SetTargetFPS(60);
  
  while not WindowShouldClose() do
  begin
    BeginDrawing();
      ClearBackground(RAYWHITE);
      DrawText("Hello from JetPascal!", 190, 200, 20, LIGHTGRAY);
    EndDrawing();
  end;
  
  CloseWindow();
end.

No wrapper code. No bindings. Just direct C++ library usage from Pascal.

Meet JetPascal

The modern Pascal transpiler explained

Built on Solid Technology

Smart architecture, proven tools

100+
Smart Tokens
C++23
Modern Standard
3.3x
Faster Than Delphi
6+
Target Platforms

Join the Community

Get help, share projects, and contribute