News for hackers. Stuff that matters.
Re:Automatic Syntax Error Recovery by vlovich123 on Tuesday November 17, 2020 @06:59PM (#25131530)
Fascinating. Is this a separate thing that would be integrated into an IDE or would it make more sense as part of the compiler? Are there any plans to productize this for any language? Any plans to provide a semantic feedback mechanism so that language-specific semantics can be fed back to make the suggestions even better (beyond just the structure of code)?
Re:Automatic Syntax Error Recovery by ltratt on Wednesday November 18, 2020 @10:26AM (#25137773)
> Is this a separate thing that would be integrated into an IDE or would it make more sense as part of the compiler?

As things stand it's most easily used in a batch setting (e.g. a compiler). I don't think it would take much, if any, work to use in an incremental parsing (for an IDE), but I haven't tried that yet!

Re:Automatic Syntax Error Recovery by vlovich123 on Wednesday November 18, 2020 @05:03PM (#25143046)
I’d be interested in helping you integrate that into an IDE if you’re open to it.
Re:Automatic Syntax Error Recovery by ltratt on Saturday November 21, 2020 @12:00PM (#25170823)
I'm not an IDE person myself (I'm a neovim person), but I'd love to see someone integrate such an approach into an IDE! The algorithm is free available and the implementation in Rust (grmtools) the same. If you wanted to reuse the Rust code, and it needs some tweaks, then I'm sure that we can find a way to support both batch and IDE-ish use cases well.