<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>scheme</anon>
    <anon>mosh</anon>
  </categories>
  <description>psyntax で wiki をR6RSライブラリ化していたら正規表現リテラルの問題に行き当たる。 R6RS には正規表現がないので、Mosh のコード中に #/^/ などの正規表現リテラルがあるとエラーとなってしまう。 より具体的には expander.ss の chi-expr で (stx-error e &quot;invalid expression&quot;) となる。 正規表現リテラルが入力要素として想定されるどの type にも属していないため else に行きエラーとなっている。 これを直すには self-evaluating? 手続きに regexp? を追加するのがよさそう。ただし本当は …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20080715%2F1216105211&quot; title=&quot; psyntax と正規表現リテラルの問題 - higepon blog&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-07-15 16:00:11</published>
  <title> psyntax と正規表現リテラルの問題</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20080715/1216105211</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
