{"author_url":"https://blog.hatena.ne.jp/shinriyo/","version":"1.0","blog_title":"\u4e07\u5e74\u7d20\u4eba\u304b\u3089Hacker\u3078\u306e\u9053","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinriyo.hateblo.jp%2Fentry%2F2017%2F03%2F11%2Fmruby%25E3%2581%25AE%25E5%25AE%259F%25E8%25A1%258C_macOS_10.12.3\" title=\"mruby\u306e\u5b9f\u884c macOS 10.12.3 - \u4e07\u5e74\u7d20\u4eba\u304b\u3089Hacker\u3078\u306e\u9053\" 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","author_name":"shinriyo","blog_url":"https://shinriyo.hateblo.jp/","url":"https://shinriyo.hateblo.jp/entry/2017/03/11/mruby%E3%81%AE%E5%AE%9F%E8%A1%8C_macOS_10.12.3","categories":[],"image_url":null,"published":"2017-03-11 23:34:14","title":"mruby\u306e\u5b9f\u884c macOS 10.12.3","description":"mruby\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3002 mruby-1.2.0.tar.gz \u5c55\u958b tar zxvf mruby-1.2.0.tar.gz \u30d3\u30eb\u30c9 cd mruby ruby minirake mruby\u3067\u30b3\u30f3\u30d1\u30a4\u30eb sample.cpp\u4f5c\u308b #include <stdlib.h> #include <stdio.h> #include \"mruby.h\" #include \"mruby/compile.h\" int main() { auto mrb = mrb_open(); auto ai = mrb_gc_arena_save(mrb); mrb_load_string(mrb, \"5.tim\u2026","width":"100%","height":"190"}