r/Compilers
•
u/funcieq
•
Aug 15 '26
•
1
I created a web framework in my own programming language
I’ve been working on Rivet, a synchronous HTTP(for now) server library for my own programming language Zap
The goal is to create a small, explicit API for building APIs and small web applications.
I spent a lot of time and nerves creating this, but now I know what Zap is really capable of.
I will be grateful for every star you leave because it really encourages me to work
28
u/belligerent_ammonia Aug 15 '26
Actually looks pretty good! Nice work on the language. Looks like a mix of Rust, Zig, and Swift.
38
u/EveAtmosphere Aug 15 '26
A non-AI slop project shared on Reddit? Rare sight these days.
7
u/Small_Ad3541 Aug 15 '26 edited Aug 15 '26
The website and docs are very pretty!
But I didn't find an explanation of "@" syntax. Is it kind of macro syntax? Can I implement something like
@my_error/@my_repr("...")? Or is it hardcoded?6
u/rickandevererything Aug 15 '26
express**
4
u/suur-siil Aug 16 '26
It's like JS/TS but with a hint of rust and perl... I like it
3
u/Paolog__ Aug 16 '26
wait, I think I recognize the name of this language...
3
u/[deleted] Aug 17 '26
Stuff like this is what keeps me working on my own language, Great work!
3
u/Artemis-Arrow-795 Aug 21 '26 edited Aug 21 '26
looks neat
now here's my question, why would I want to use it? genuinely asking because I want an excuse to use it other than its syntax
just fyi I looked at the language and I really think it's great, I'll try to contribute as much as I can, but know I have no experience with compilers (but I did write a transpiler)
2
u/zaarnth Aug 16 '26
i thought its Kotlin after seeing that 'fun'
2
u/Embarrassed-Topic432 Aug 17 '26
Idk how but i guess he have just good brain for this.
2
u/Least_Mix_8482 Aug 17 '26
I wish more languages used `fun` as a function declaration lol
1
u/xng Aug 20 '26
I love new programming languages.. But semicolons ending random lines in 2026..
3
u/dolby360 Aug 19 '26
Spot on
-7
u/Mean-Decision-3502 Aug 15 '26
This is very similar to my DQ language. Would you consider to join our efforts ?
Quick language overview:
https://github.com/nvitya/dq-lang/blob/main/stdpkg/nanonet/nano_sockets.dq
DQ Main Website:
https://nvitya.github.io/dq-lang/