Sreeraj Ramachandran

@sreeraj
2 Followers
2 Following
3 Posts
PhD in Electrical Engineering and Computer Science (y'know ai stuff)
Personal Websitehttps://sreeraj.in
Githubhttps://github.com/theunnecessarythings

Non-exhaustive list of features:

error unions + explicit propagation

defer / errdefer

pattern matching + sum types

compile-time execution (comptime)

treating ASTs as data (code {} blocks)

Mostly about learning tradeoffs, not polish.

What’s open:

standard library is minimal

diagnostics/tests/docs need work

some features aren’t well integrated yet

If you’re into Zig, compilers, or PL design, feedback and low-pressure contributions are welcome.

Repo:
https://github.com/theunnecessarythings/sr-lang

GitHub - theunnecessarythings/sr-lang: Personal experimental language.

Personal experimental language. Contribute to theunnecessarythings/sr-lang development by creating an account on GitHub.

GitHub

Context: I started this project to actually learn compiler construction — not just by reading, but by building a real language + compiler end to end.

As I learned, the scope grew. Some parts are solid, others are clearly experimental.

The compiler is written in Zig. I chose Zig for the explicitness: memory management, error handling, and fewer abstractions hiding what’s really happening.

Also I like Zig.

Hi, I’m new here.

I’ve been learning compiler construction by building a small programming language and compiler in Zig.

It’s an experimental, learning-first project — rough edges included — and I’m sharing it to get feedback and invite contributions.

Repo: https://github.com/theunnecessarythings/sr-lang

#zig #programming #OpenSource

GitHub - theunnecessarythings/sr-lang: Personal experimental language.

Personal experimental language. Contribute to theunnecessarythings/sr-lang development by creating an account on GitHub.

GitHub