<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その62。S式計算機。ちょっとさきの勉強会のネタ。本番は、OCamlで作ったのを持っていくつもりだけれども、とりあえずRubyでも作ってみる。 &gt; 1 1 &gt; (+ 1 2) 3 &gt; (* (+ 2 3) 1 3) 15require 'strscan' require 'readline' def call(name) lambda{|x,*args| x.send name,*args } end module SExpression class Call def initialize(op,*args) @op = op @args = args end def eva…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20070621%2Fsexp&quot; title=&quot;S式計算式 - みずぴー日記&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.d.st-hatena.com/diary/mzp/2007-06-21.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-06-21 00:00:00</published>
  <title>S式計算式</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20070621/sexp</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
