I'm looking for the C grammar in GCC source code, more specifically for the grammar in the yacc/bison form.
GCC of version 4.3 did not contain explicitly written C grammar. Parsing and semantical analysis were performed simultaneously, without presenting syntax tree as a separate data structure.
Information source: I read the GCC source code.
Found the C grammar in Yacc specification in the GCC version 3.3 in the file "c-parse.y"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With