{"url":"https://blog.emattsan.org/entry/2018/11/25/191307","height":"190","author_url":"https://blog.hatena.ne.jp/E_Mattsan/","categories":["Prolog"],"blog_title":"\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5","provider_name":"Hatena Blog","width":"100%","author_name":"E_Mattsan","title":"\u507d\u30af\u30d5\u8a9e\u89e3\u8aad\u5668\u3092Prolog\u3067\u66f8\u304f\u3002","type":"rich","blog_url":"https://blog.emattsan.org/","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51acAIMMQuL._SL160_.jpg","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F2018%2F11%2F25%2F191307\" title=\"\u507d\u30af\u30d5\u8a9e\u89e3\u8aad\u5668\u3092Prolog\u3067\u66f8\u304f\u3002 - \u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u507d\u30af\u30d5\u8a9e\u3068\u306f\u306a\u306b\u304b\u3002 \u300c\u767d\u3068\u9ed2\u306e\u3068\u3073\u3089\u300d\u7b2c11\u7ae0\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002 \u672c\u5f53\u306f\u30b3\u30fc\u30c9\u4e0a\u3082\u25cf\u3068\u25cb\u306e\u5217\u3067\u8868\u73fe\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3042\u3064\u304b\u3044\u304c\u3081\u3093\u3069\u3046\u3060\u3063\u305f\u306e\u3067\u25cf\u3092 1 \u306b\u25cb\u3092 0 \u306b\u7f6e\u304d\u63db\u3048\u3066\u30b3\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059\u3002 \u51e6\u7406\u7cfb\u306f\u3044\u3064\u3082\u306e\u3088\u3046\u306b GNU-Prolog \u3067\u3059 \u89e3\u8aad\u5668 % \u507d\u30af\u30d5\u8a9e\u89e3\u8aad\u5668 % decode.prolog % \u898f\u5247 % 1. S -> U 011 U (U '\u306a\u3089\u3070' U) s(LHS, RHS) :- append(U1, [0'0, 0'1, 0'1 | U2], LHS), u(U1, T_U1), u(U2, T_U2), append(T_U1, ['\u306a\u3089\u3070' | T_U2],\u2026","published":"2018-11-25 19:13:07","provider_url":"https://hatena.blog"}