3 karma · joined Jul 31, 2017 (9y ago) · 3 submissions
comment 9y ago · link · parent
https://softwareengineering.stackexchange.com/questions/2546...
"A hand-written recursive-descent C++ parser has replaced the YACC-derived C++ parser from previous GCC releases."
"GCC switched to hand-written parsing because error messages are more meaningful when using recursive descent techniques. Also, C++ is becoming such a (syntactically) complex language to parse that using parser generators is not worthwhile for it."
It is strange, because the more complex the language, the more I would expect that they would move to lexer/parser generator tools, while it seems to be exactly the other way around.
comment 9y ago · link · parent
comment 9y ago · link · parent