Re:The Super Tiny Compiler
by alxmng on Thursday March 02, 2023 @09:33PM
(#35005107)
The purpose of tokenizing everything is to report all errors upfront. Imagine a big source file with two syntax errors. Tokenizing and parsing everything and reporting both errors with one compilation is a better user experience.
[ Parent
| on HN ]
There are no comments on this comment yet.