node.js ã®ããã¥ã¡ã³ããè¦ã¦ããã C/C++ ã§ç°¡åã«æ¡å¼µãæ¸ãããã ã£ãã®ã§è©¦ãã¦ã¿ãã addons - Node.js Manual & Documentation ããã¥ã¡ã³ãã«è¼ã£ã¦ãã hello.cc ãã¿ã¦ã¿ãã¨ï¼ #include <v8.h> using namespace v8; extern "C" void init (Handle<Object> target) { HandleScope scope; target->Set(String::New("hello"), String::New("world")); } ãã® extern "C" void init (Handle<Object> target) ã¨ãããã¤ããjs㧠require("hello") ããã¨ãã«å¼ã°ããæããããããã®é¢æ°ã ãã¯å¿ ãå®è£ ããå¿ è¦ãããã ãã®ä¸ã® Ha
Xcode3 ãã Xcode4 ã«ä¹ãæãã¦ããããããã¸ã§ã¯ãè¨å®ã調æ´ãã¦ããæã«ãé¸æã§ããã³ã³ãã¤ã©ã¼ãããã¤ãããã®ãæ°ã«ãªãã¾ããã "GCC" ã¨ããã° Linux ã§ã馴æã¿ã®ã³ã³ãã¤ã©ã§ããã©ãããã¨ããã㦠Xcode ã§ã¯ "LLVM GCC" 㨠"Apple LLVM compiler" ã¨ãããã®ãé¸æã§ããããã«ãªã£ã¦ãã¾ãã ãããã«ã¤ãã¦å°ã調ã¹ã¦ã¿ãã¨ããããªã«ãã GCC ã¨æ¯ã¹ã¦ Apple LLVM compiler ã®æ¹ããåãã³ã¼ãã§ããã«ããããã¤ããªã®å®è¡é度ãéããªã£ãããã³ã³ãã¤ã«ã®é度ãéããªã£ãããã³ã³ãã¤ã«æã®ã¨ã©ã¼æ å ±ãå¤ããããåºåãã¦ãããã¨ã®ãã¨ã§ããã ã¡ãªã¿ã« "LLVM GCC" ã¨ããã®ã¯ãæ§æ解æã GCC ã§è¡ããã¨ã§ãäºææ§ãé«ãããã¨ãã¦ãããã®ã®ããã§ãã ãªããªãè¯ããããªæãã ã£ãã®ã§ã試ãã«ããã¾
yacc/lexã¨ã¯ Cã§ããã°ã©ãã³ã°è¨èªã®å¦çç³»ãå®è£ ããã®ã§ããã°ã å¤ãã®å ´åãyaccã¨lexã¨ãããã¼ã«ã使ãã¾ãã å®ã®ã¨ãããCã¨yacc/lexã§ç°¡åãªããã°ã©ãã³ã°è¨èªãä½ããã¨ããã®ã¯ã 以åããCè¨èªã¨ã¿è©± ãã§æ¸ããã é»åãä½ã£ã¦ã¿ããã ã®ç¼ãç´ãã«ãªãã¾ããyaccã¨lexã®èª¬æããã¡ãã«ç°¡åã«æ¸ããã®ã§ã ãã¡ããè¦ã¦ãã ããââã¨è¨ãããã¨ããã§ããã ã¾ãããã§ã軽ã説æãã¾ãã å 容çã«ã¯éè¤ãã¨ãããã³ãããã¦ããé¨åãããã¾ããã ããã°ã©ãã³ã°è¨èªã®å¦çç³»ã¯ãé常ã以ä¸ã®ãããªæé ãåãã¾ãã åå¥è§£æ ã½ã¼ã¹ããã°ã©ã ãããåå¥(ãã¼ã¯ã³)ãã®ä¸¦ã³ã«åå²ããå¦çã§ãã æ§æ解æ ãã¼ã¯ã³ã®ä¸¦ã³ããã解ææ¨ãæ§ç¯ããå¦çã§ãã ãã®å¾ãCãªã©ã®æ©æ¢°èªãåãã³ã³ãã¤ã©ã Javaã®ãããªãã¤ãã³ã¼ããåãã³ã³ãã¤ã©ãªãã ãã³ã¼ãçæãã¨ããå¦ç
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}