Reputation: 9340
Does anyone know what parsing and error recovery technique used by Sun (or Oracle) JDK parser? I'm interested especially in the high quality error messages produced (exact error location + related statement and/or expression, pretty neat) and the ability to skip as little token as possible before continue parsing (so it can still parse correct construct and doesn't miss the nearest possible errors)
Upvotes: 2
Views: 97