Hacker News new | ask | show | jobs
by Garlef 462 days ago
Not sure if that Readme is enough to explain an LLM what to do

I get the idea but I'm not sure if I want to spend the time to fill in the gaps and start an experiment

But I agree with the idea in general: Using informal DSLs as an intermediate language.

I'm not sure, though, if this approach (reduced syntax) is the right one.

2 comments

The nice thing is that the DSL can be informal as you said - it does not need to be rigorously specified, nor does it need to be rigorously followed by the user. I’ve had good success prompting LLMs with pseudo-C and switching right in the middle to just English, and it just goes along with it. You can sort of invent the DSL as you go along at whatever level of control you need.
Agreed, sometimes I’ll ask Claude to chat using psuedocode before writing actual code, works fine for me.