Skip to content

I asked a LLM to create a programming language and requested a NES emulator

github.com/kerv
1 pointkerv1 comment
On HN

Comments

kervOP

This was just an experiment in which I asked Claude Opus 4.7 to create a programming language in the most efficient way it could. It isn't meant to be a serious thing — just a fun weekend project exploring what happens when you let an LLM design its own language.

It appears like it is a combination of python structure and C-like semantics. There is even a bit of Go-like declaration, but yeah, hard to say whether or not it is actually more efficient... a LLM is trained on text, so that is what it is going to create.Also, pretty funny that it is a single 2000+ line code file...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.