I recently read https://matklad.github.io/2023/05/21/resilient-ll-parsing-tu... and wanted to try if these ideas would work in a parser generator.You can try some example parsers (C without preprocessor, Lua, ...) in your browser and check for yourself how well the syntax tree is recovered for incomplete source code.
https://0x2a-42.github.io/playground.html