(- fix parse) Make the parser properly handle extra whitespace

Squashes: 58817, a6ecc
(- new parse doc) Add some inline doc for the parsing algo

Squashes: 90603