7. WATASHI HA RUBY GA SUKI DESU
Kanji Katakana Hiragana
Kanji eg: ,
Katakana eg:
Hiragana eg: , ,
8. Hiragana
Katakana
Each Japanese alphabet is a combination of vowels(a,i,u,e,o) and consonants(k,s,t,n,h,m,y,r,w). Total of Hiragana and
Katakana are 46 each. The number of possible Kanji in use in Japan is around 50,000 , though around 2000 ~ 3000 are
in common use.
25. PREPOSITIONS
preposition
noun Grammar
a word governing, and usually preceding, a
noun or pronoun and expressing a relation
to another word or element in the clause,
as in “the man on the platform,” “she
arrived after dinner,” “what did you do it
for you
27. POSTPOSITIONS IN JAPANESE
S O
Watashi ha Ruby ga Suki desu(I Ruby Like)
O S
Ruby ga Watashi ha Suki desu(Ruby I Like)
O
Ruby ga Suki desu(Ruby Like)
Postposition is used to decide the role of noun which it supports. This enables you to
change the order of structure very flexibly, chain as many sentence as you like, and
also let you to omit subject.
28. ABUSING POSTPOSITIONS
Don’t Read !!
”
” Confusing, vague, and long
sentence without much point
(Could be powerful)
34. GRAMMAR
# -*- encoding: utf-8 -*-
def parse
@sequence.split('').map do |s|
s.split(/#{ .join("|")}/)
end.flatten.map do |s|
if [s]
[s]
elsif [s[0]]
NumberConverter.convert(s)
end
end
end
35. PARSER
# -*- encoding: utf-8 -*-
describe Parser do
it "must divide a phrase into words" do
Parser.new(" ").
parse.must_equal [1, 2, :+, 4, :*]
end
end
43. WHY SO MANY WAYS?
To import OO & Functional
To suit for Scripting
To adopt New Concepts
44. MATZ @
SAPPORO RUBY KAIGI
http://regional.rubykaigi.org/sapporo03
”In future, I want Ruby to keep being the light
which brings new concepts and ideas to people.
I also would like people to see such light, add their
own, and spread it to other people.”
http://igarashikuniaki.net/tdiary/20101205.html
45. WHAT CAN YOU DO?
http://www.igvita.com/2010/12/02/concurrency-with-actors-goroutines-ruby/
http://www.pragprog.com/titles/btlang/seven-languages-in-seven-weeks
http://www.rubyinside.com/ruby-refinements-an-overview-of-a-new-proposed-ruby-feature-3978.html
http://rubykaigi.org/2011/en
46. MERRY CHRISTMAS &
HAVE A HAPPY NEW YEAR!!
& !!
hello 2011
http://www.railsonwave.com/assets/2006/12/21/screensaver_1.jpg