{"type":"rich","published":"2009-11-19 20:01:56","title":"A REPL command for golang","version":"1.0","author_name":"gfx","url":"https://gfx.hatenadiary.org/entry/20091119/1258628516","categories":["golang"],"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20091119%2F1258628516\" title=\"A REPL command for golang - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/gfx/","height":"190","width":"100%","blog_title":"Islands in the byte stream (legacy)","blog_url":"https://gfx.hatenadiary.org/","description":"Go \u3092\u3061\u3087\u3063\u3068\u8a66\u3059\u306e\u306b\u4fbf\u5229\u306a wrapper \u4e8c\u984c(by id:sfujiwara)\u306b\u89e6\u767a\u3055\u308c\u3066\uff0cREPL\u3092\u884c\u3046\u30e9\u30c3\u30d1\u30fc\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u3066\u307f\u305f\u3002http://github.com/gfx/golang-interpreter/blob/master/g\u4ee5\u4e0b\u306e\u3088\u3046\u306b\uff0cmain\u306a\u3069\u3092\u66f8\u304f\u3053\u3068\u306a\u304f\u5b9f\u884c\u3067\u304d\u308b\u3002 $ ./g go> fmt.Print(\"Hello, world\") Hello, world go> fmt.Print(math.Fabs(-42)) 42 go> ^D $ \u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u81ea\u52d5\u7684\u306bimport\u3057\u3066\u304f\u308c\u308b\u306f\u305a\u3060\u3002\u305f\u3060\u3057\uff0c\u3044\u307e\u306e\u3068\u3053\u308d\u95a2\u6570\u306f\u5b9a\u7fa9\u3067\u304d\u305a\uff0c\u884c\u306e\u7d99\u7d9a\u3082\u3067\u304d\u306a\u2026","provider_name":"Hatena Blog"}