Max Heiber
Max Heiber
@ivogabe I've posted a [WIP PR](https://github.com/ivogabe/gulp-typescript/pull/616) to get your feedback. The reason it is 'WIP' is that tests are hanging on my branch and I'm not sure why. Do you...
I know it's been a long time. I've been really swamped but haven't forgotten about this. If there isn't much demand, then would it be OK for me to pick...
I'm interested in this issue, but a prerequisite is understanding what is causing performance issues. I asked this StackOverflow question about how the incremental compilation currently works: https://stackoverflow.com/questions/54716548/how-does-gulp-typescript-incremental-compilation-work. If someone...
Thanks @ivogabe , this is very helpful. Do you think it would help if the TS Compiler API enabled us to do async io instead of relying on fs.readFileSync for...
TS Compiler API now supports --incremental 🎉 🎉 ! cc @DanielRosenwasser
@ahelwer I tried the playground with the "JavaScript" grammar. It looks like that doesn't handle unclosed parentheses either, even with incremental edits. this parsed OK: ``` function foo() { call()...
re https://github.com/tree-sitter/tree-sitter/issues/1870#issuecomment-1248061755, thanks for testing. I think the reason you're seeing a better parse is not the length, but instead because you added a closing curly. If I change the...
Thanks @maxbrunsfeld ! It's helpful to get confirmation that what we're trying is indeed off-roading (for now).
@alanz re [your comment](https://github.com/tree-sitter/tree-sitter/issues/1870#issuecomment-1249239740), thanks for the research > I made a [proof of concept approach](https://github.com/alanz/tree-sitter-error-recovery-example/tree/error-recovery) to re-sync at a recovery point, using an external scanner ([the one from python](https://github.com/tree-sitter/tree-sitter-python/blob/master/src/scanner.cc))...
Closing, since there's an answer: > Yeah, there is intentionally not much that you as a grammar author can do to manipulate the error recovery. I think you're just hitting...