2013 Minori Yamashita [email protected]
-- ここにあなたの名前を追記 --
| #import <Foundation/Foundation.h> | |
| #import "RCTBridgeModule.h" | |
| #define RCT_EXTERN_MODULE(objc_name, objc_supername) \ | |
| RCT_EXTERN_REMAP_MODULE(objc_name, objc_name, objc_supername) | |
| #define RCT_EXTERN_REMAP_MODULE(js_name, objc_name, objc_supername) \ | |
| objc_name : objc_supername \ | |
| @end \ | |
| @interface objc_name (RCTExternModule) <RCTBridgeModule> \ |
| { | |
| "ecmaFeatures": { | |
| "arrowFunctions": true, | |
| "binaryLiterals": false, | |
| "blockBindings": true, | |
| "classes": true, | |
| "defaultParams": true, | |
| "destructuring": true, | |
| "forOf": true, | |
| "generators": true, |
| brew install homebrew/dupes/apple-gcc42 | |
| rbenv install 1.9.3-p484 | |
| rbenv global 1.9.3-p484 | |
| git clone https://github.com/cowboyd/libv8.git | |
| cd libv8 | |
| git checkout 3.11 | |
| export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 | |
| export CXX=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 | |
| export CPP=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 | |
| bundle install |
2013 Minori Yamashita [email protected]
-- ここにあなたの名前を追記 --
2013 Minori Yamashita [email protected]
ターゲットを動的オブジェクト指向プログラマに絞って、関数指向の考え方を説明します。 コードサンプルでは、オブジェクト指向には CoffeeScript ^1、関数指向には Clojure を使用しますが、文章は汎用的に書いてあります。
最下部に用語集があるので、わかりづらい単語、表現があったら参照してください。