{"version":"1.0","categories":["scheme"],"title":" eval \u3068 REPL\uff08\u5bfe\u8a71\u578b\u8a55\u4fa1\u74b0\u5883\uff09\u3092\u8ffd\u52a0","author_url":"https://blog.hatena.ne.jp/higepon/","type":"rich","description":"eval \u3068 REPL\uff08\u5bfe\u8a71\u578b\u8a55\u4fa1\u74b0\u5883\uff09\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002\uff08trunk \u306e\u30b3\u30fc\u30c9\u3067\u8a66\u305b\u307e\u3059\uff09 mosh>(define (add2 n) (+ n 2)) #<clsoure> mosh>(add2 5) 7 \u73fe\u6642\u70b9\u3067\u306f eval \u306e\u7b2c2\u5f15\u6570\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002 \u307e\u305f REPL \u306f Scheme \u306e\u30b3\u30fc\u30c9\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002 (define (REPL . x) (define (rec) (display \"mosh>\") (print (eval (read (current-input-port)) '())) (rec)) (rec)) REPL\u306f Read-Eval-Print-Loop \u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20080514%2F1210770025\" title=\" eval \u3068 REPL\uff08\u5bfe\u8a71\u578b\u8a55\u4fa1\u74b0\u5883\uff09\u3092\u8ffd\u52a0 - higepon blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"higepon","height":"190","url":"https://higepon.hatenablog.com/entry/20080514/1210770025","width":"100%","image_url":null,"blog_url":"https://higepon.hatenablog.com/","provider_url":"https://hatena.blog","blog_title":"higepon blog","published":"2008-05-14 22:00:25","provider_name":"Hatena Blog"}