<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuyarin</author_name>
  <author_url>https://blog.hatena.ne.jp/yuyarin/</author_url>
  <blog_title>yuyarinの日記</blog_title>
  <blog_url>https://yuyarin.hatenadiary.org/</blog_url>
  <categories>
    <anon>University</anon>
    <anon>Programming</anon>
  </categories>
  <description>いよいよ演習が始まる。結局一人で演習をすることになってしまった。とりあえず字句解析の入力部分のTips的なものを書いてみる。ネタバレになるので読みたくない人はすっ飛ばしてください。 mini-PythonはLL(1)文法になるように設計されているので、基本的に次の文字を見ればその字句がわかると言うようになっています（←これ構文解析の話。ごっちゃにしてた）。講義の仕様ではCで書かれているのでfgetcで一文字ずつ読むchar_streamが設計されています。これに倣うとC++を使う場合では string m_fileName; ifstream m_fileStream; char m_curr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuyarin.hatenadiary.org%2Fentry%2F20071022%2F1192983972&quot; title=&quot;mini-Pythonインタープリタ そにょ４ - yuyarinの日記&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>2007-10-22 01:26:12</published>
  <title>mini-Pythonインタープリタ そにょ４</title>
  <type>rich</type>
  <url>https://yuyarin.hatenadiary.org/entry/20071022/1192983972</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
