<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ku-ma-me</author_name>
  <author_url>https://blog.hatena.ne.jp/ku-ma-me/</author_url>
  <blog_title>まめめも</blog_title>
  <blog_url>https://mametter.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Rubyでは行番号がどうやっても無理で Scala DSLによるBASIC実装 - Greenbear Diary (2009-04-07) 全くその通りで悔しいので、せめていんちきを。 # coding: UTF-8 require &quot;basic&quot; basic do 10 PRINT &quot;Hello world!&quot; 20 END end 以下ソース。 class &lt;&lt; Object def const_missing(*) end end def basic(&amp;blk) class &lt;&lt; env = Object.new alias PRINT puts def method_missing(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmametter.hatenablog.com%2Fentry%2F20090407%2Fp2&quot; title=&quot; BASIC 風 DSL (嘘) - まめめも&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>2009-04-07 00:00:01</published>
  <title> BASIC 風 DSL (嘘)</title>
  <type>rich</type>
  <url>https://mametter.hatenablog.com/entry/20090407/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
