<?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>めざそう言語処理系の沼</anon>
    <anon>言語処理系</anon>
    <anon>OCaml</anon>
  </categories>
  <description>前回でようやくifで分岐ができるようになった。今回はletを使って変数を定義できるようにする。 こんな感じの式が評価できるようになる： (let [x 5] (+ x 6)) (let [(x 5) (y 6)] (+ x y)) Clojureっぽく[]が構文に現れるようにしてみた。複数の変数を同時に定義できるようになっている。ただし、複数の変数を定義する場合は変数と式を()で囲む必要がある点はClojureとは違う（フォーマッタなしでプリント出力した時に読みやすくするため） また、一つのletの中で定義された変数はお互いに参照できない。そのためのlet*も追加する： (let* [(x 5…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2020%2F05%2F24%2F094253&quot; title=&quot;めざそう言語処理系の沼　〜shift/resetへの旅 〜　その５ 変数とlet - 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-24 09:42:53</published>
  <title>めざそう言語処理系の沼　〜shift/resetへの旅 〜　その５ 変数とlet</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2020/05/24/094253</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
