<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Otter_O</author_name>
  <author_url>https://blog.hatena.ne.jp/Otter_O/</author_url>
  <blog_title>取り急ぎブログです</blog_title>
  <blog_url>https://otter-o.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>PEG</anon>
    <anon>Parser</anon>
    <anon>Monad</anon>
  </categories>
  <description>前回のポストから日数がたってしまいましたが、たまにはちゃんと最後まで書こうということで、出来上がったPEG電卓のコードを乗せておきます。パーサーの定義が前回までのポストとは微妙に変わっていますが、大筋は同じです。こっちのほうがコンパイルして動作確認も取れてます。電卓のほうは以前に書いた四則演算のPEG表現を素直にPEGパーサモナドで書き換えたものです…空白の処理なんかが増えてますが…コードが長いのでこのポストはこれでおしまい。 module Main where import System (getArgs) import Data.List (intercalate) ifNothing N…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotter-o.hatenadiary.org%2Fentry%2F20090207%2F1233991312&quot; title=&quot;PEG電卓をやってみた - 取り急ぎブログです&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-02-07 16:21:52</published>
  <title>PEG電卓をやってみた</title>
  <type>rich</type>
  <url>https://otter-o.hatenadiary.org/entry/20090207/1233991312</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
