3 ms·
And GNU is notorious for their use of yacc. Even gnulib functions like parse_datetime (primarily used to power the date command) rely on a yacc generated parser
by Levitating 2y ago
And GNU is notorious for their use of yacc. Even gnulib functions like parse_datetime (primarily used to power the date command) rely on a yacc generated parser.
- bonzini 2y agoThat's mostly for historical reasons. Nobody felt the need to switch and do all the work needed to avoid breaking edge cases. GCC used to have Bison grammars but it switched to recursive descent about 20 years ago. The C++ grammar was especially horrible.