{"type":"rich","blog_url":"https://kazu-yamamoto.hatenablog.jp/","author_name":"kazu-yamamoto","blog_title":"\u3042\u3069\u3051\u306a\u3044\u8a71","title":"chainl \u3068\u5de6\u518d\u5e30","author_url":"https://blog.hatena.ne.jp/kazu-yamamoto/","width":"100%","version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F20110127%2F1296098875\" title=\"chainl \u3068\u5de6\u518d\u5e30 - \u3042\u3069\u3051\u306a\u3044\u8a71\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","published":"2011-01-27 12:27:55","categories":["Haskell"],"provider_url":"https://hatena.blog","description":"Parsec \u306a\u3069\u304c\u5229\u7528\u3059\u308b\u518d\u5e30\u4e0b\u964d\u69cb\u6587\u89e3\u6790\u3067\u306f\u3001\u5de6\u518d\u5e30\u304c\u7121\u9650\u30eb\u30fc\u30d7\u306b\u9665\u308b\u3068\u3044\u3046\u554f\u984c\u304c\u3042\u308b\u3002\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e BNF \u3067\u5b9a\u7fa9\u3055\u308c\u308b\u6570\u5f0f\u3092\u8003\u3048\u308b\u3002 expr ::= expr '+' term | term term ::= term '*' factor | factor factor :: = '(' expr ')' | nat nat = '0' | '1' | ... expr \u3068 term \u304c\u5206\u304b\u308c\u3066\u3044\u308b\u306e\u306f\u3001\u8db3\u3057\u7b97\u3068\u639b\u3051\u7b97\u306e\u7d50\u5408\u529b\u306e\u9055\u3044\u3092\u8868\u73fe\u3059\u308b\u305f\u3081\u3067\u3042\u308b\u3002expr \u3068 term \u306f\u3001\u53f3\u8fba\u306e\u5de6\u7aef\u306b\u81ea\u5206\u81ea\u8eab\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u305d\u306e\u307e\u307e\u5b9f\u88c5\u3059\u308b\u3068\u7121\u9650\u30eb\u30fc\u30d7\u306b\u9665\u308b\u3002 data Exp\u2026","url":"https://kazu-yamamoto.hatenablog.jp/entry/20110127/1296098875","provider_name":"Hatena Blog"}