ï¼£è¨èªã®ã½ã¼ã¹ããã¼ã¹ãããã¨æã£ã¦ãã¨ãããã£ããªãã¨æãåºãããRubyã§Raccã使ã£ã¦ãK&Rã«è¼ã£ã¦ãBNFãé£ããã¦ã¿ãããã³ã³ããªã¯ããçºçããã $ racc c.y 1 shift/reduce conflicts 2 reduce/reduce conflictsæ¬ã«ããã°ãå¯ä¸ã¶ã¤ãããããã®ã¯ãif-elseã®ããã¾ããã§ããããã¨æ¸ãã¦ãããã ãã©ãã-vããªãã·ã§ã³ãã¤ãã¦è©³ç´°ã表示ããã¨ã¶ã¤ãã£ã¦ãã®ã¯ state 2 7) declaration : declaration_specifiers _ init_declarator_list_opt ";" 13) declaration_specifiers_opt : declaration_specifiers _ "*" shift, and go to state 36 "*" [reduce us
{{#tags}}- {{label}}
{{/tags}}