<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mkomiya</author_name>
  <author_url>https://blog.hatena.ne.jp/mkomiya/</author_url>
  <blog_title>小宮日記</blog_title>
  <blog_url>https://mkomiya.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>気が向いたので作ってみた。 逆ポーランド記法はパーサーがいらないので簡単。 字句解析も手抜きで一桁しかダメですが、 計算機としてはちゃんと動きますので可愛いです。vc++でコンパイルしたものも置いておきます。 http://props.at.infoseek.co.jp/calc.exe 逆ポーランド記法というのは、 「5+3」を「5 3 +」というように演算子を後置で書く記法で、 スタックを使って簡単に構文を処理できる。 ((5+3-2)*4)/2 は 5 3 + 2 - 4 * 2 / となるC:\test&gt;calc &gt;5 3 + 2 - 4 * 2 / 5 3 + 2 - 4 * 2 /…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmkomiya.hatenadiary.org%2Fentry%2F20090725%2F1248531814&quot; title=&quot;一桁だけの逆ポーランド計算機 - 小宮日記&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>2009-07-25 23:23:34</published>
  <title>一桁だけの逆ポーランド計算機</title>
  <type>rich</type>
  <url>https://mkomiya.hatenadiary.org/entry/20090725/1248531814</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
