<?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>haxe</anon>
  </categories>
  <description>前回は括弧演算子を作りました。今回は後置括弧演算子を作ります。 後置括弧演算子とは、以下のような形のものとします。 関数呼び出し a() 配列アクセス a[] ブロック a{} C言語だと、関数呼び出しと配列呼び出し等にあたるものです。 {}はrubyのブロックのようなものに使うとよいでしょう。 まずは、２項演算子と同じように作ります。 var opMs:Hash&lt;Int&gt;; まずはこんな風にハッシュを用意 opMs.set(&quot;(&quot;, 0); opMs.set(&quot;{&quot;, 0); opMs.set(&quot;[&quot;, 0); でもって、テーブルに括弧を定義 if(opMs.exists(token) &amp;&amp;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh-sakurai.hatenadiary.org%2Fentry%2F20090606%2Fp1&quot; title=&quot;haXeで作るプログラミング言語(7) - 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>2009-06-06 00:00:00</published>
  <title>haXeで作るプログラミング言語(7)</title>
  <type>rich</type>
  <url>https://h-sakurai.hatenadiary.org/entry/20090606/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
