logoalt Hacker News

jacquesm11/03/20252 repliesview on HN

> I’ve never seen code written like this in real-world projects

Lucky you. I've seen far worse (at least this is somewhat consistent). But this isn't C anymore, it is a new language built on top of C and then a program written in that language. C is merely the first stage compilation target.


Replies

robotresearcher11/04/2025

IIRC, C++ started out this way, or at least its precursor ‘C with classes’. A compiler came later.

taneq11/04/2025

And everyone says you can't do DSLs in boring old languages. :P

show 1 reply