Upgrade to Pro — share decks privately, control downloads, hide ads and more …

C Compiler in Crystal on Compile Time

C Compiler in Crystal on Compile Time

2016/11/29の東京 Crystal 勉強会 #4で発表したものです。

TSUYUSATO Kitsune

November 30, 2016
Tweet

More Decks by TSUYUSATO Kitsune

Other Decks in Programming

Transcript

  1. &-7. w &TP-BOH7.$PNQJMFS*OGSBTUSVDUVSF w TIJOIࢯ࡞ w #SBJOG DLΈ͍ͨͳݴޠͰ΋࣮ߦՄೳͳ͘Β͍
 γϯϓϧͳ7. w

    ͦͷ্Ͱಈ͘$ίϯύΠϥ΋ఏڙ͞Ε͍ͯΔ w 7.ͷίʔυˠϓϩάϥϜ΁ͷม׵ثΛ࡞Ε͹ɺ
 ͦͷݴޠͰ$ίϯύΠϥ͕ಈ͘Α͏ʹͳΔ
  2. GPSJO QVTI 1 {% begin %} 2 {% array =

    [0] %} 3 {% i = 0 %} 4 {% for x in array %} 5 {% if i < 10 %} 6 {% array.push 0 %} # ͜͜Ͱarrayͷத਎Λ௥Ճ 7 {% p i %} 8 {% i = i + 1 %} # ͳ͔ͥ += ͕࢖͑ͳ͍… 9 {% end %} 10 {% end %} 11 {% end %}