C grammar in GCC source code

前端 未结 7 1149
别那么骄傲
别那么骄傲 2020-12-29 09:31

I\'m looking for the C grammar in GCC source code, more specifically for the grammar in the yacc/bison form.

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-29 10:06

    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.

提交回复
热议问题