æå¾ã®é ç®ãsemantic valueã®åç §ãã«ã¤ãã¦è£è¶³ãã¾ãã kmyaccã§ã¯ãã¢ã¯ã·ã§ã³ä¸ã®semantic valueãã$$, $1, $2...ã®ä»£ããã«ææ³è¨å·ã®ååã§åç §ãããã¨ãã§ãã¾ã(Cã§ã¯-nãªãã·ã§ã³ã®æå®ãå¿ è¦)ã 以ä¸ã«ä¾ã示ãã¾ãã foo: bar '+' baz { foo = bar + baz; } ä¸ã®ã¢ã¯ã·ã§ã³ã¯ã{ $$ = $1 + $3; }ã¨åãã§ãã åãææ³è¨å·ãè¦åä¸ã«è¤æ°åç¾ãããå ´åã¯ãã©ã®è¦ç´ ãæãã¦ããã®ããææ§ãªããããã®ã¾ã¾ææ³è¨å·ã§åç §ããã¨ã¨ã©ã¼ã«ãªã£ã¦ãã¾ãã¾ãã ããããå ´åã«ã¯ææ³è¨å·ã®åã«ãåå@ããåç½®ãããã¨ã«ããããã®ååã§semantic valueãåç §ãããã¨ãã§ãã¾ãã result@expr: addendum@expr '+' addenda@expr { result = addend
{{#tags}}- {{label}}
{{/tags}}