1 / 15

Narcissus 自分自身を愛した美少年 JavaScript

Narcissus 自分自身を愛した美少年 JavaScript. 株式会社アクセラートジャパン 代表取締役 小林悠. Brendan Eich. Mozilla Corp. CTO JavaScript @ Netscape 2.0 JavaScript @ Mozilla JavaScript on JavaScript Narcissus ↓ JavaScript バカ JavaScript の父. Narcissus. 美少年@ギリシャ神話 水面に映った自分に恋をした ↓ バカ. 使ってみた. ドキュメント0 コメント0.

renate
Download Presentation

Narcissus 自分自身を愛した美少年 JavaScript

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Narcissus自分自身を愛した美少年JavaScript 株式会社アクセラートジャパン 代表取締役 小林悠

  2. Brendan Eich • Mozilla Corp. CTO • JavaScript@Netscape 2.0 • JavaScript@Mozilla • JavaScript on JavaScript Narcissus ↓ JavaScriptバカ JavaScriptの父

  3. Narcissus • 美少年@ギリシャ神話 • 水面に映った自分に恋をした ↓ バカ

  4. 使ってみた

  5. ドキュメント0コメント0 (Wikipedia英語版に書きました)

  6. ベンチマーク

  7. でも

  8. 世界1美しい文法 の世界1美しい実装

  9. 世界1美しい文法 • プログラミング言語=文脈自由文法+例外 • C++は例外だらけJavaScriptは例外が非常に少ない

  10. 世界1美しい実装

  11. Do-Whileの実装 case DO: do { try { execute(n.body, x); } catch (e if e == BREAK && x.target == n) { break; } catch (e if e == CONTINUE && x.target == n) { continue; } } while (getValue(execute(n.condition, x))); break;

  12. IFのパース case IF: n = new Node(t); n.condition = ParenExpression(t, x); x.stmtStack.push(n); n.thenPart = Statement(t, x); n.elsePart = t.match(ELSE) ? Statement(t, x) : null; x.stmtStack.pop(); return n;

  13. コメント0なのはその美しさ故であった!

  14. Narcissusは自分を愛した美少年

  15. ご静聴ありがとうございました

More Related