<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinya_game_app</author_name>
  <author_url>https://blog.hatena.ne.jp/shinya_game_app/</author_url>
  <blog_title>Flat Leon Works</blog_title>
  <blog_url>https://flat-leon.hatenablog.com/</blog_url>
  <categories>
    <anon>Nim</anon>
  </categories>
  <description>Nimにはクラスという概念がありません。しかし、オブジェクト指向プログラミング自体はサポートされており、object型を使えばクラスとほぼ同じことが可能になっています。ただし、object型の定義が微妙に面倒なことに加え、やはりクラスが欲しいということで、簡潔にクラス(object型)を定義できるマクロを作ってみました。 更新履歴 2021/06/27 最新のNim(v1.4.6)でビルドエラーになっていたのを修正しました GitHubにもコードを上げました(https://github.com/flatleon/NimClassMacro) 注意 とりあえず作ってみたレベルなので、実際に使っ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflat-leon.hatenablog.com%2Fentry%2Fnim_class_macro&quot; title=&quot;【Nim】クラス定義マクロを作ってみる - Flat Leon Works&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>2017-12-31 13:40:20</published>
  <title>【Nim】クラス定義マクロを作ってみる</title>
  <type>rich</type>
  <url>https://flat-leon.hatenablog.com/entry/nim_class_macro</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
