<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rhysd</author_name>
  <author_url>https://blog.hatena.ne.jp/rhysd/</author_url>
  <blog_title>はやくプログラムになりたい</blog_title>
  <blog_url>https://rhysd.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Boost</anon>
  </categories>
  <description>Boost.Spirit.Qi は今まで parse() とか phrase_parse() に直接パーサを渡すだけで簡単にパースできる場合にしか使っていなかったので，真面目に文法を定義してパースしてみた． 作ったのは，四則演算と括弧と対数関数と指数関数が使える簡単な電卓． Boost.Spirit.Qi でパースして Boost.Variant を使って式木をつくる． Qi の semantic action で C++11 のラムダ式が使えると風のうわさに聞いていたので，Boost.Phoenix V3 を使ってみた．結局 boost::phoenix::bind() で包まないといけなか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frhysd.hatenablog.com%2Fentry%2F2013%2F12%2F24%2F003122&quot; title=&quot; Boost.Spirit.Qi と Boost.Variant で簡単な電卓つくった - はやくプログラムになりたい&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>2013-12-24 00:31:22</published>
  <title> Boost.Spirit.Qi と Boost.Variant で簡単な電卓つくった</title>
  <type>rich</type>
  <url>https://rhysd.hatenablog.com/entry/2013/12/24/003122</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
