<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>griefworker</author_name>
  <author_url>https://blog.hatena.ne.jp/griefworker/</author_url>
  <blog_title>present</blog_title>
  <blog_url>https://tnakamura.hatenablog.com/</blog_url>
  <categories>
    <anon>読書</anon>
  </categories>
  <description>メタプログラミングと聞くと、LISP や Ruby や JavaScript といったスクリプト言語を思い浮かべる人が多いと思う。 でも、メタプログラミングはスクリプト言語の専売特許というわけではない。C# のような静的型付けの言語でも可能だということを、本書は示している。 T4 を使えばソースコードを生成できるし、式や Reflection.Emit で動的にメソッドを作成して実行することも可能。 ビルド後にアセンブリを書き換えて、横断的な処理を追加することだってできる。そのためのツールは提供されている。Roslyn を使い、動的にソースコードの文字列をコンパイルして実行できるところまできて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2017%2F10%2F06%2Fmetaprogramming-dotnet&quot; title=&quot;『メタプログラミング.NET』を読んだ - present&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>https://images-fe.ssl-images-amazon.com/images/I/51AGfd5f88L._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-10-06 23:10:54</published>
  <title>『メタプログラミング.NET』を読んだ</title>
  <type>rich</type>
  <url>https://tnakamura.hatenablog.com/entry/2017/10/06/metaprogramming-dotnet</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
