News for hackers. Stuff that matters.
Re:Rust Analyzer in 2018 and 2019 by skybrian on Tuesday December 18, 2018 @12:39AM (#18704751)
It seems like parsing both forwards in the normal way and backwards from the end of the file would be helpful? That is, take the longest suffix that parses correctly and assume any syntax errors are before that for error-reporting purposes.

Most programming languages aren't designed for parsing backwards, though!

Re:Rust Analyzer in 2018 and 2019 by hinkley on Tuesday December 18, 2018 @01:14AM (#18704857)
Backward in time, not a linear file scan.