<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogashi</author_name>
  <author_url>https://blog.hatena.ne.jp/hogashi/</author_url>
  <blog_title>hogashi.*</blog_title>
  <blog_url>https://blog.hog.as/</blog_url>
  <categories>
    <anon>自由研究</anon>
    <anon>lex</anon>
  </categories>
  <description>雑談で構文解析面白いよ〜と教えてもらったのでやってみるかというので冬休みの自由研究している。大学で lex と yacc で自作言語を作る実験をやったことはあるものの、名前とコードの見た目以外全部忘れていて、手の付け方もわからなかったので、今日はひとまず lex から勉強し始めた。 lex というのは、 Plan 9 /sys/man/1/lex を見ると「generator of lexical analysis programs」 だそうで、日本語を探すと字句解析プログラム生成器という感じ。一緒に例が書いてあり、 lex だけでお試しできるいいやつだったのでお試しした。ex1.lex %%…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hog.as%2Fentry%2F2019%2F12%2F28%2F182232&quot; title=&quot;冬休みの自由研究始めた - hogashi.*&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>2019-12-28 18:22:32</published>
  <title>冬休みの自由研究始めた</title>
  <type>rich</type>
  <url>https://blog.hog.as/entry/2019/12/28/182232</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
