Compiled language · Native toolchain

Sere: a Python-like programming language that compiles to native code.
Sere reads like Python and compiles down to native code through LLVM. Write it, build it, run it. Same toolchain the whole way, no runtime hiding in the background.
- Backend
- LLVM 22
- Output
- Native binary
- Tooling
- LSP · VSIX
struct Point:
x: i32
y: i32
def length_sq(self) -> i32:
return self.x * self.x + self.y * self.y
def main() -> i32:
p = Point(3, 4)
print(f"sere {p.length_sq()}")
return 0$ sere build main.sere → ./main
Standalone by design
Completely standalone.
Sere takes your code and turns it into a standalone binary. No interpreter, no virtual machine, no extra runtime to bundle.
Clean syntax
Definitions, lists, f-strings, and indentation. Once you read a few lines, you are already writing.
Native binaries
LLVM 22 backend turns Sere into a real executable. Your code runs directly on the machine, nothing in between.
When you need it
Unique and Shared pointers, structs, enums, and macros. Drop down to systems level work without leaving the language.
Language surface
The pieces that matter
Questions
Frequently asked
The short answers. Deeper detail lives in the documentation and the install guide.
What is Sere?
Sere is a statically typed, indentation-significant programming language that reads like Python and compiles to native code. It is built for people who want a small, readable language without giving up control over memory or performance.
Does Sere need a runtime or a virtual machine?
No. Sere compiles your source into a standalone native binary. There is no interpreter, virtual machine, or runtime to bundle with your program — the build output is a real executable.
What does Sere compile to?
Sere lowers to LLVM 22 IR and then to native machine code. sere build main.sere produces ./main, and sere --emit-llvm or sere --emit-asm let you inspect the intermediate output.
How do I install the Sere toolchain?
Download the Windows installer or a release archive from the install page, then put the compiler on your PATH. Building from source needs CMake 3.28+, Ninja 1.11+, Visual Studio 2022 Build Tools, and the LLVM 22.1.8 clang+llvm archive.
Is there editor support for Sere?
Yes. The toolchain ships a language server (sere --lsp) and a VS Code extension with highlighting, go-to-definition, hover, and rename. The extension also works in Cursor.
How do I add a third-party library?
Pack a project with sere pack to produce a .slib file, then drop it in your project's libs/ directory. The standard library ships with the compiler, and there is no package manager yet.
Coming from Python? See how Sere compares.