<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xtalco</author_name>
  <author_url>https://blog.hatena.ne.jp/xtalco/</author_url>
  <blog_title>新言語 Xtalを作る日記</blog_title>
  <blog_url>https://xtalco.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>コンパイル単位でのトップレベルの変数を保持するモジュールオブジェクトです。 静的に発見できない変数参照は、toplevelモジュールから検索されます。 println(foo); // toplevel::foo と同じ意味 そのため、toplevelにincludeすれば、暗黙的な変数参照の対象となります。 test_module : module{ foo : fun(obj){ println(obj ); } } toplevel.include(test_module); foo(1000); // toplevel::foo(1000) と同じになるtoplevelには最初からin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxtalco.hatenadiary.org%2Fentry%2F20061022%2F1161350740&quot; title=&quot; toplevelモジュール - 新言語 Xtalを作る日記&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>2006-10-22 22:25:40</published>
  <title> toplevelモジュール</title>
  <type>rich</type>
  <url>https://xtalco.hatenadiary.org/entry/20061022/1161350740</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
