zlacker

[return to "Nanolang: A tiny experimental language designed to be targeted by coding LLMs"]
1. deepsq+br[view] [source] 2026-01-20 01:01:48
>>Scramb+(OP)
At this point, I am starting to feel like we don’t need new languages, but new ways to create specifications.

I have a hypothesis that an LLM can act as a pseudocode to code translator, where the pseudocode can tolerate a mixture of code-like and natural language specification. The benefit being that it formalizes the human as the specifier (which must be done anyway) and the llm as the code writer. This also might enable lower resource “non-frontier” models to be more useful. Additionally, it allows tolerance to syntax mistakes or in the worst case, natural language if needed.

In other words, I think llms don’t need new languages, we do.

◧◩
2. trklau+hb1[view] [source] 2026-01-20 08:53:08
>>deepsq+br
Ah, people are starting to see the light.

This is something that could be distilled from some industries like aviation, where specification of software (requirements, architecture documents, etc.) is even more important that the software itself.

The problem is that natural language is in itself ambiguous, and people don't really grasp the importance of clear specification (how many times I have repeated to put units and tolerances to any limits they specify by requirements).

Another problem is: natural language doesn't have "defaults": if you don't specify something, is open to interpretation. And people _will_ interpret something instead of saying "yep I don't know this".

◧◩◪
3. mike_h+Vo1[view] [source] 2026-01-20 10:37:37
>>trklau+hb1
You can use LLMs as specification compilers. They are quite good at finding ambiguities in specs and writing out lists of questions for the author to answer, or inferring sensible defaults in explicitly called out ways.
◧◩◪◨
4. UncleE+UE2[view] [source] 2026-01-20 17:48:06
>>mike_h+Vo1
Yeah, if you can somehow convince them you really, really want them to follow the specification and not just do whatever they want.

And is doesn't matter how many times you tell them the implementation and, more importantly, the tests needs to 100% follow the spec they'll still write tests to match the buggy code or just ignore bugs completely until you call them out on it and/or watch them like a hawk.

Maybe I'm just holding it wrong, who knows?

[go to top]