logo

Sere, a compiled Python-like systems programming language

Posted by handheldheart |2 hours ago |3 comments

handheldheart 2 hours ago[1 more]

I’ve been building Sere, a statically typed compiled language that tries to combine Python-like syntax with lower-level capabilities you’d normally associate with C++, Rust, or Zig.

The core idea is to keep everyday code simple:

def main() -> i32: print("hello from sere") return 0

while still allowing things like structs, enums, generics, native interop, and explicit memory control when needed:

struct Point: x: i32 y: i32

    def length_sq(self) -> i32:
        return self.x * self.x + self.y * self.y
Sere currently compiles through LLVM and produces native binaries. I’ve also been working on the surrounding tooling, including a language server, VS Code support, project tooling, library packaging, and C/C++ interoperability.

This is still an early project, and there are definitely rough edges. I’m posting it here because I’d really like feedback from people who work on compilers, language design, LLVM, systems programming, or just enjoy trying new languages.

Website: https://sere-lang.com

GitHub: https://github.com/Sere-Language/sere

I’d especially be interested in feedback on the language design itself, what feels unnecessary, what feels missing, and whether the Python-like syntax works well once the language starts exposing lower-level features.