| ▲ | gnanagurusrgs 5 hours ago | ||||||||||||||||||||||||||||||||||
Creator 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 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. | |||||||||||||||||||||||||||||||||||
| ▲ | wmoxam 5 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
> 40% of code is now machine-written How did you arrive at that number? | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | wrs 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
Now that we know code is a killer app for LLMs, why would we keep tokenizing code as if it were human language? I would expect someone's fixing their tokenizer to densify existing code patterns for upcoming training runs (and make them more semantically aligned). | |||||||||||||||||||||||||||||||||||
| ▲ | wilsonnb3 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
> "Why is Claude writing TypeScript I'm supposed to read?" 40% of code is now machine-written. That number's only going up. How much of the code is read by humans, though? I think using languages that LLMs work well with, like TS or Python, makes a lot of sense but the chosen language still needs to be readable by humans. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | tyre 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
I love the idea! I’m glad you did this. What about something like clojure? It’s already pretty succinct and Claude knows it quite well. Plus there are heavily documented libraries that it knows how to use and are in its training data. | |||||||||||||||||||||||||||||||||||
| ▲ | liqilin1567 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
I like the idea, but this is going be a very very long journey to develop a completely new machine-friendly language like this while LLMs still have many limitations now. | |||||||||||||||||||||||||||||||||||
| ▲ | kevml 5 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
It’s an interesting thought experiment! My first questions boil down to the security and auditability of the code. How easy is it for a human to comprehend the code? | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||