<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>h_sakurai</author_name>
  <author_url>https://blog.hatena.ne.jp/h_sakurai/</author_url>
  <blog_title>Scala で TAPLを勉強しつつ LLVM コンパイラを作る日記</blog_title>
  <blog_url>https://h-sakurai.hatenadiary.org/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>今日は tiny-c のフロントエンドをC言語風式言語 Compact を使うように書き換えました。 ソースでいうとCLex.javaとcparser.yをcompact.scalaとcompact2ast.scalaに置き換えを行いました。https://github.com/hsk/ctinyc処理内容compact.scalaで文字列をタプルと基本Scalaのプリミティブとして構文木を作ります。 ast.scalaは抽象構文木を表します。 compact2ast.scalaがcompactの構文木をastに変換しコンパイル後アセンブルします。 compiler.scalaはastをコンパ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh-sakurai.hatenadiary.org%2Fentry%2F20101103%2Fp1&quot; title=&quot;tiny-cをscalaに移植する。(5)  - Scala で TAPLを勉強しつつ LLVM コンパイラを作る日記&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>2010-11-03 00:00:00</published>
  <title>tiny-cをscalaに移植する。(5) </title>
  <type>rich</type>
  <url>https://h-sakurai.hatenadiary.org/entry/20101103/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
