3 ms·
> It’s not guaranteed to do that correctly Which is odd considering they could run this as beam search with the checking part of a compiler in the loop.
by the8472 5y ago
> It’s not guaranteed to do that correctly
Which is odd considering they could run this as beam search with the checking part of a compiler in the loop.
- 0-_-0 5y agoWhich would be extremely slow
- the8472 5y agoNot necessarily. If you emit a batch of suggestions for 1 line and prune them with syntax checks you can already prune them and present them to the user while working on the next iterations. The real difficulty is getting good checking on partial source code, some languages have better tooling for that than others.