<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>vm2gol-v2</anon>
  </categories>
  <description>かんたんな自作言語のコンパイラをいろんな言語で書いてみるシリーズ 18番目の言語は OCaml です。 いつもの通りでライフゲームのコンパイルだけ通ればヨシ、という程度の雑なものです。 できたもの github.com ※ 関数型っぽくない実装からむりやり移植したものなので、関数型言語でコンパイラ実装に入門したい人向けの参考実装としては割と微妙だと思います。 主な部分のサイズ（行数）はこんな感じ。 $ wc -l *.ml lib/{utils,types}.ml 401 codegen.ml 127 lexer.ml 369 parser.ml 52 lib/utils.ml 6 lib/t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20210626_vm2gol_v2_ocaml&quot; title=&quot;OCamlでかんたんな自作言語のコンパイラを書いた - memo486&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sonota88/20230414/20230414224014.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-26 05:45:40</published>
  <title>OCamlでかんたんな自作言語のコンパイラを書いた</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/20210626_vm2gol_v2_ocaml</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
