Name
@brn (ꫬꅿ⨳ⵃ)
Occupation
ؿٗٝزؒٝسؒٝآص،٥ط؎ذ؍ـؒٝآص،
Company
Cyberagent ،سذؙأةآؔ AI Messenger
OSS
Contributor of V8
Blog
http://abcdef.gets.b6n.ch/
Twitter
https://twitter.com/brn227
GitHub
https://github.com/brn
Slide 3
Slide 3 text
What is AST?
ASTהכJavascriptךفؚٗٓيػ٦أ׃穠卓欰䧭ׁ
圓俑邌植׃加圓鸡ךֿה
Slide 4
Slide 4 text
if (x) {
x = 100
}
Slide 5
Slide 5 text
IF
CONDITION
THEN
BLOCK
EXPRESSION
STATEMENT
ASSIGN
VAR PROXY (X) LITERAL (100)
if
(x)
{
x = 100
Slide 6
Slide 6 text
Why need it?
فؚٗٓيך㶵ךתת⢪ֲךכꨇ׃ְկ
javascript㹋遤ׅחכ圫ղזؿؑ٦ؤָ֮կ
غ؎ز؝٦س欰䧭ծCFG欰䧭ծIR欰䧭ծ剑黝⻉ծetc…
Slide 7
Slide 7 text
How do I create it?
فؚٗٓىؚٝ鎉铂חכ㛇劤涸חכ俑岀ָ㶷㖈ׅկ
JavascriptכEcmaInternationalָ➬圫תהגⰕ׃גְկ