Nerd: A language for LLMs, not humans
nerd-lang.org
Nerd: A language for LLMs, not humans
1–10 of 110 posts
Re: Nerd: A language for LLMs, not humans
#240% of code is now machine-written. That number's only going up. So I spent some weekends asking: what would an intermediate language look like if we stopped pretending humans are the authors?
NERD is the experiment.
Bootstrap compiler works, compiles to native via LLVM. It's rough, probably wrong in interesting ways, but it runs. Could be a terrible idea. Could be onto something. Either way, it was a fun rabbit hole.
Contributors welcome if this seems interesting to you - early stage, lots to figure out: https://github.com/Nerd-Lang/nerd-lang-core
Happy to chat about design decisions or argue about whether this makes any sense at all.
Re: Nerd: A language for LLMs, not humans
#3Re: Nerd: A language for LLMs, not humans
#4Re: Nerd: A language for LLMs, not humans
#5in that sense I don't see how this is more succinct than phyton
it is more than typescript and c#, of course, but we need to compete with the laconic languages
in that sense you will end up with Cisc vs Risc dilemma from the cpu wars. you will find the ability to compress even more is adding new tokens to compress repetitive tasks like sha256 being a single token. I feel that's a way to compress even more
Re: Nerd: A language for LLMs, not humans
#6By this logic, shouldn’t you be prompting an LLM to design the language and write the compiler itself?
Optimizing a language for LLM consumption and generation (probably) doesn't mean you want a LLM designing it.
Re: Nerd: A language for LLMs, not humans
#7Creator here. This started as a dumb question while using Claude Code: "Why is Claude writing TypeScript I'm supposed to read?" 40% of code is now machine-written. That number's only going up. So I spent some weekends asking: what would an intermediate language look like if we stopped pretending humans are the authors? NERD is the experiment. Bootstrap compiler works, compiles to native via LLVM. It's rough, probably…
How did you arrive at that number?
Re: Nerd: A language for LLMs, not humans
#8Creator here. This started as a dumb question while using Claude Code: "Why is Claude writing TypeScript I'm supposed to read?" 40% of code is now machine-written. That number's only going up. So I spent some weekends asking: what would an intermediate language look like if we stopped pretending humans are the authors? NERD is the experiment. Bootstrap compiler works, compiles to native via LLVM. It's rough, probably…
Re: Nerd: A language for LLMs, not humans
#9Aren't there many programming languages not built for humans? They're built for compilers.
https://en.wikipedia.org/wiki/Intermediate_representation#La...