{"title":"camlp4\u3067\u56db\u5247\u6f14\u7b97\u3002","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e183\u3002camlp4\u3067\u8a08\u7b97\u6a5f\u3092\u3064\u304f\u3063\u3066\u307f\u308b\u3002\u3044\u304d\u306a\u308acamlp4\u3092\u30d0\u30ea\u30d0\u30ea\u3064\u304b\u3046\u306e\u306f\u5927\u5909\u305d\u3046\u306a\u306e\u3067\u3001\u307e\u305a\u306f\u30d1\u30fc\u30b5\u90e8\u5206\u3060\u3051\u3092\u3064\u304b\u3063\u3066\u8a08\u7b97\u6a5f\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002 \u3053\u308c\u306f\u3001\u30d1\u30fc\u30b5\u3068\u3057\u3066\u4f7f\u3046\u306e\u3082\u3042\u308a\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u305f\u3060\u3001\u3069\u3046\u3082\u5b57\u53e5\u89e3\u6790\u5668\u3092\u3064\u304f\u308b\u306e\u304c\u3048\u3089\u3044\u9762\u5012\u305d\u3046\u306a\u3093\u3060\u3088\u306a\u3041\u3002 \u4f7f\u3044\u65b9 $ ./p4 \"1+4*2\" 9 $ ./p4 42 42 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 (* ocamlc -pp 'camlp4o pa_extend.cmo' -I +camlp4 gramlib.cma 183-p4.ml *) let (@@) f g = f g let ($) f g x = f (g x) \u2026","author_name":"mzp","categories":["OCaml","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20071114%2Fexp\" title=\"camlp4\u3067\u56db\u5247\u6f14\u7b97\u3002 - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://mzp.hatenadiary.org/entry/20071114/exp","width":"100%","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/mzp/","published":"2007-11-14 00:00:00","image_url":null,"blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","blog_url":"https://mzp.hatenadiary.org/","version":"1.0","type":"rich"}