{"type":"rich","version":"1.0","categories":["Crystal"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2Fruccola-crystal-vm-202208\" title=\"Ruccola VM Crystal\u7248\u306e\u901f\u5ea6\u6539\u5584 (2022-08) - memo486\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://memo88.hatenablog.com/","title":"Ruccola VM Crystal\u7248\u306e\u901f\u5ea6\u6539\u5584 (2022-08)","author_url":"https://blog.hatena.ne.jp/sonota88/","blog_title":"memo486","width":"100%","height":"190","url":"https://memo88.hatenablog.com/entry/ruccola-crystal-vm-202208","description":"github.com fastvm/rclvm.cr \u306e\u9ad8\u901f\u5316\u306e\u81ea\u5206\u7528\u30e1\u30e2\u3002 \u30aa\u30da\u30b3\u30fc\u30c9\u3092 String \u306e\u307e\u307e\u53d6\u308a\u56de\u3059\u5b9f\u88c5\u3060\u3063\u305f \u2192 \u3053\u308c\u3092\u30b7\u30f3\u30dc\u30eb\u3084 enum \u306b\u3059\u308b\u3068\u3069\u3046\u306a\u308b\u304b def execute : Int32 | Nil insn = @mem.main[@pc] opcode = insn[0] case opcode when \"exit\" then return insn[1].as(Int32) when \"cp\" then cp() ; @pc += 1 when \"lea\" then lea() ; @pc += 1 when \"add_ab\" then add_ab\u2026","provider_url":"https://hatena.blog","published":"2022-08-20 09:41:36","author_name":"sonota88","provider_name":"Hatena Blog","image_url":null}