Live data from Hacker News

Robust code generation combining grammars and LLMs

raku-advent.blog

1–2 of 2 posts

Re: Robust code generation combining grammars and LLMs

#2
TL;DR

  - Combining grammars and LLMs produces robust translators.
  - Three translators with different faithfulness and coverage are demonstrated and used.
  - Two of the simplest, yet effective, combinations are implemented and  - demonstrated.
  - Parallel race and grammar-to-LLM fallback.
  - Asynchronous implementations with LLM-graphs are a very good fit!
  - Just look at the LLM-graph plots (and be done reading.)