Settings

Theme

Ask HN: How would you lint natural-language specs before LLMs run them?

4 points by ceyhunkazel 3 months ago · 2 comments · 1 min read


We lint code before execution—what’s the practical equivalent for natural-language specs before an LLM/agent runs them? I’m not looking for “NL ≠ code” debates; I’m after concrete designs, rules, and tooling that catch mistakes pre-execution.

legostormtroopr 3 months ago

I would say the most important thing for linting natural language specifications would be a strictly enforced, well defined grammar that precisely defines what words could be used in what order, do that the linter could identify tokens that were out of place. Otherwise, you have ambiguity that of all too common in natural language.

But you also said you don’t want to discuss why natural language isn’t code.

MaskRay 3 months ago

Rex

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection