<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>OCaml</anon>
    <anon>めざそう言語処理系の沼</anon>
    <anon>言語処理系</anon>
  </categories>
  <description>前回までは言語で扱える値は整数値と組み込み関数だけだった。比較とか分岐とかしたいよね、ということで今回は真偽値を追加して、ifで分岐できるようにする。 以下のようなコードが書けるようにする： (if (and (&gt;= 3 1 1) (&lt; 0 3) false (&lt;= 1 2 3 3 5)) 1 2) コード差分： Comparing v0.3...v0.4 · zehnpaard/kontlang · GitHub Valモジュール： type t = | Int of int | Bool of bool | Op of string * (t list -&gt; t) let to_strin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2020%2F05%2F21%2F205129&quot; title=&quot;めざそう言語処理系の沼　〜shift/resetへの旅 〜　その4 真偽値 - Arantium Maestum&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-21 20:51:29</published>
  <title>めざそう言語処理系の沼　〜shift/resetへの旅 〜　その4 真偽値</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2020/05/21/205129</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
