reading an EPIC summary of some @rustlang syntax discussion about my favorite--the turbofish! as much as i love me some ergonomics, allowing unbounded syntax lookahead to parse rust makes me realllllllly sadhttps://github.com/rust-lang/rfcs/pull/2544#issuecomment-453653184 …
-
-
I'd rather we not conflate all rust parsers into libsyntax- independent implementations are good for keeping the spec unambiguous and understandable
-
It won’t prevent independent implementations. It’s not like unbounded lookahead is that much of a burden in practice!
- 6 more replies
New conversation -
-
-
well, libsyntax2, IDEs have different design requirements for parsers, chiefly they need to have *really* good recovery and be totally okay with partial nodes. That's kinda what the plan is with libsyntax2, which rustc probably won't use
-
What does unbounded lookahead have to do with recovery?
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.