<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>h_sakurai</author_name>
  <author_url>https://blog.hatena.ne.jp/h_sakurai/</author_url>
  <blog_title>Scala で TAPLを勉強しつつ LLVM コンパイラを作る日記</blog_title>
  <blog_url>https://h-sakurai.hatenadiary.org/</blog_url>
  <categories>
    <anon>JSOP</anon>
  </categories>
  <description>とりあえず、DのlazyのようなのをJSOPで作ってみました。処理系は６０行以下です。 ちゃんと、遅延評価したり、しなかったりできます。 [{ myif : { args : [&quot;c&quot;, [&quot;a&quot;], [&quot;b&quot;]], body : [&quot;if&quot;, &quot;c&quot;, [&quot;a&quot;], [&quot;b&quot;]] }, body : [&quot;myif&quot;, 0, [&quot;error&quot;], 3] }]これで、結果として3が返ります。 JavaScriptで書くと、こんな感じです。lazyなんて命令はないのでうごきませんが。 function() { var myif = function(c,lazy a,lazy b) { retur…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh-sakurai.hatenadiary.org%2Fentry%2F20061203%2Fp1&quot; title=&quot;0.0.4遅延評価したり、しなかったりする。 - Scala で TAPLを勉強しつつ LLVM コンパイラを作る日記&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>2006-12-03 00:00:00</published>
  <title>0.0.4遅延評価したり、しなかったりする。</title>
  <type>rich</type>
  <url>https://h-sakurai.hatenadiary.org/entry/20061203/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
