{"categories":["Ruby","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"published":"2007-06-21 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20070621%2Fsexp\" title=\"S\u5f0f\u8a08\u7b97\u5f0f - \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>","type":"rich","width":"100%","image_url":"https://cdn-ak.d.st-hatena.com/diary/mzp/2007-06-21.png","url":"https://mzp.hatenadiary.org/entry/20070621/sexp","title":"S\u5f0f\u8a08\u7b97\u5f0f","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e62\u3002S\u5f0f\u8a08\u7b97\u6a5f\u3002\u3061\u3087\u3063\u3068\u3055\u304d\u306e\u52c9\u5f37\u4f1a\u306e\u30cd\u30bf\u3002\u672c\u756a\u306f\u3001OCaml\u3067\u4f5c\u3063\u305f\u306e\u3092\u6301\u3063\u3066\u3044\u304f\u3064\u3082\u308a\u3060\u3051\u308c\u3069\u3082\u3001\u3068\u308a\u3042\u3048\u305aRuby\u3067\u3082\u4f5c\u3063\u3066\u307f\u308b\u3002 > 1 1 > (+ 1 2) 3 > (* (+ 2 3) 1 3) 15require 'strscan' require 'readline' def call(name) lambda{|x,*args| x.send name,*args } end module SExpression class Call def initialize(op,*args) @op = op @args = args end def eva\u2026","author_name":"mzp","version":"1.0","blog_url":"https://mzp.hatenadiary.org/","height":"190","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/mzp/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog"}