<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uehaj</author_name>
  <author_url>https://blog.hatena.ne.jp/uehaj/</author_url>
  <blog_title>uehaj's blog </blog_title>
  <blog_url>https://uehaj.hatenablog.com/</blog_url>
  <categories>
    <anon>Groovy</anon>
  </categories>
  <description>Groovy AST Browser Improved!の記事に書いたように、Groovy 1.8のGroovy ConsoleはAST変換の過程を見ることができるのです。では、ファイルでスクリプトのコードが(Groovy Consoleからコピペせずに)欲しいときはどうすれば良いかというと、以下のようにします。 groovy -e 'println(new groovy.inspect.swingui.AstNodeToScriptAdapter().compileToScript(&quot;1+1&quot;, 9))'すると以下が標準出力に表示されます。 return 1 + 1 public class…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuehaj.hatenablog.com%2Fentry%2F20110630%2F1309422652&quot; title=&quot;AST変換の途中結果をGroovyソースに戻してみよう(ファイルで) - uehaj&amp;#39;s blog &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>http://ecx.images-amazon.com/images/I/41qWLAB81HL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-06-30 17:30:52</published>
  <title>AST変換の途中結果をGroovyソースに戻してみよう(ファイルで)</title>
  <type>rich</type>
  <url>https://uehaj.hatenablog.com/entry/20110630/1309422652</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
