<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoshiob</author_name>
  <author_url>https://blog.hatena.ne.jp/yoshiob/</author_url>
  <blog_title>yoshioblog</blog_title>
  <blog_url>https://yoshiob.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Scala の Parser Combinator を理解したい。 StandardTokenParsers を利用するのが簡単そうなのでまずは見よう見まねで使ってみた。 お題は、文字列を解析して、時刻を表示するプログラム。 &quot;3 days ago&quot; は3日前の時刻、&quot;2 days later&quot; は2日後の時刻を表示する。 import java.util._ import scala.util.parsing.combinator.syntactical._ object DateTranslator extends StandardTokenParsers { lexical.reserv…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshiob.hatenadiary.org%2Fentry%2F20080611&quot; title=&quot;ScalaのParser Combinator を勉強中 - yoshioblog&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>2008-06-11 00:00:00</published>
  <title>ScalaのParser Combinator を勉強中</title>
  <type>rich</type>
  <url>https://yoshiob.hatenadiary.org/entry/20080611</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
