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

Abstract Syntax Tree in Javascript

Abstract Syntax Tree in Javascript

JavascriptのASTについて

More Decks by Taketoshi Aono(青野健利 a.k.a brn)

Other Decks in Programming

Transcript

  1. 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
  2. var a = /aaa|bbb/! b / 2 = 0;! !

    // Is it easy?! b = / 2 = 0 /! ת׆כ剣せז姻鋉邌植ַ׵
  3. var a = (x, y) => x + y;! var

    a = (x, y);! ! var a = x => x;! var a = x;! ،ٗ٦ꟼ侧
  4. var {a: b, b: c} = {b: 1, c: 2};!

    ({a: b, b: c});! ! [a, b, c] = [0, 1, 2];! [a, b, c];! ⴓⶴ➿Ⰵ