<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iwsttty</author_name>
  <author_url>https://blog.hatena.ne.jp/iwsttty/</author_url>
  <blog_title>bit</blog_title>
  <blog_url>https://iwsttty.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>最近までいろいろ ANTLR v4 をいじっていて、ようやく文法ファイルの書き方がわかってきた。 でも初心者向けの解説記事を書けるほど頭の中がこなれていないので、サンプルだけ示すことにする。こんなファイルを考える。 &quot;This&quot; &quot;is a &quot; &quot;\&quot;quoted\&quot; text.&quot; &quot;&quot;このファイルから、「This」「is a 」「&quot;quoted&quot; text.」「(空文字)」という四つの文字列を認識するパーサを書きたいとする。ファイル解析のプログラムはスクラッチからがりがり書いてもよいけど、文法が複雑になってくるとプログラムが汚くなりがちである。そこで、構文解析プログラムジェネレータである A…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiwsttty.hatenablog.com%2Fentry%2F2014%2F05%2F11%2F175728&quot; title=&quot;ANTLR v4 の文法ファイルのサンプル - bit&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>2014-05-11 17:57:28</published>
  <title>ANTLR v4 の文法ファイルのサンプル</title>
  <type>rich</type>
  <url>https://iwsttty.hatenablog.com/entry/2014/05/11/175728</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
