<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>minazoko</author_name>
  <author_url>https://blog.hatena.ne.jp/minazoko/</author_url>
  <blog_title>Code Aquarium</blog_title>
  <blog_url>https://mnzk.hatenablog.com/</blog_url>
  <categories>
    <anon>Clojure</anon>
  </categories>
  <description>instaparseは文脈自由文法(CFG)による構文解析ライブラリです。ほぼそのままのEBNFと正規表現を使えます。ここでは手ごろなところでCSVの解析器を作ってみます。 leiningenプロジェクト依存モジュール 何はともあれproject.clj。最低限必要なライブラリは以下の二つ。 :dependencies [[org.clojure/clojure &quot;1.5.1&quot;] [instaparse &quot;1.0.1&quot;]] CSVのBNF CSVはRFC4180にBNFが記述されているのでこれを拝借します。 file = [header CRLF] record *(CRLF record) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmnzk.hatenablog.com%2Fentry%2F2013%2F04%2F21%2F150211&quot; title=&quot;instaparseでCSVパーサーを書いてみる - Code Aquarium&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-04-21 15:02:11</published>
  <title>instaparseでCSVパーサーを書いてみる</title>
  <type>rich</type>
  <url>https://mnzk.hatenablog.com/entry/2013/04/21/150211</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
