<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akito0107</author_name>
  <author_url>https://blog.hatena.ne.jp/akito0107/</author_url>
  <blog_title>asterisc</blog_title>
  <blog_url>https://akito0107.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに Goの1.11からwasm向けのバイナリを吐けるようになりました。 wasm上でパーサを実行し、GoのASTをビジュアライズするものを作ったので、その紹介をします。 作ったものはこちら。 github.com AST Viewer Goに限らない話かもしれないですが、コード自動生成や、静的解析系のツールを実装しようとする場合、ASTを扱うことがよくあると思います。 ASTを直感的に扱えるようになるためには相当な慣れが必要になり、はじめのうちは、コードがどういったASTにパースされるのかを把握するために、逐一printするなどして確認していました。 この作業の効率を上げるために、AST…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakito0107.hatenablog.com%2Fentry%2F2018%2F12%2F17%2F034950&quot; title=&quot;wasmでGoのAST Viewerを作った話 - asterisc&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://i.imgur.com/tmGeINF.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-17 03:49:50</published>
  <title>wasmでGoのAST Viewerを作った話</title>
  <type>rich</type>
  <url>https://akito0107.hatenablog.com/entry/2018/12/17/034950</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
