ããã°ã©ãã³ã°è¨èªNuã¨ã¯
ãä»åãã Nu ã¨ããããã°ã©ãã³ã°è¨èªã®é£è¼ãæ¸ããã¦é ãã¾ãåç°è£ç¾ã§ããå®ãããé¡ããããã¾ãã
ãç¾å¨ã¯æ°ããããã°ã©ãã³ã°è¨èªã®æ å ±ãããããéãã¦ããã«ä¼ãã£ã¦ããæ代ã«ãªããç¹å¾´ã®ããããã°ã©ãã³ã°è¨èªãæ¥ã çã¾ãã¦ãããããªæ°ããã¾ããNu ããããªä»ã®æ代ãããç¹å¾´ã®ããè¨èªã§ãã
ãNu ã®ãã¼ã ãã¼ã¸http://programming.nu/ã«ã¯ Nu ã«ã¤ãã¦ä»¥ä¸ã®ããã«æ¸ããã¦ãã¾ãã
ãNu is an interpreted object-oriented language. Its syntax comes from Lisp, but Nu is semantically closer to Ruby than Lisp. Nu is implemented in Objective-C and is designed to take full advantange of the Objective-C runtime and the many mature class libraries written in Objective-C. Nu code can fully interoperate with code written in Objective-C; messages can be sent to and from objects with no concern for whether those messages are implemented in Objective-C or Nu.
ãè¦ç´ããã¨ãNu ã¯ãªãã¸ã§ã¯ãæåãªã¤ã³ã¿ããªã¿ã¼åè¨èªã§ãLisp ç±æ¥ã®ææ³ãæ¡ç¨ãã¦ãã¾ããããã®å®ä½ã¯ Lisp ãã Ruby ã«ä¼¼ã¦ãã¾ããã¾ã Nu 㯠Objective-C ã§å®è£ ããã¦ããæ¢åã® Objective-C ã®ã©ã¤ãã©ãªã¼ãå®è¡ç°å¢ãå©ç¨ã§ãã¾ãããã㦠Nu 㯠Objective-C ã¨å®å ¨ã«ç¸äºéç¨ã§ãã¾ããã¨ãã£ãæãã§ããããã
ãRuby ã¯ãåç¥ã®ããã«è¿å¹´å¤§æåããããã°ã©ã è¨èªã§ãããå¾æ¥ã«ã¯åå¨ããªãã£ãç»æçãªè¨èªã¨ããã®ã§ã¯ãªããPerlãSmalltalkãLisp ãªã©ã®è¯ãé¨åãåãå ¥ããªãããããã°ã©ãã¼ã«è¦ªãã¿ãããè¨èªã¨ãã¦æ§æããã¦ãã¾ããåãããã« Nu ããLisp ã¨ããã·ã³ãã«ã§å¼·åãªè¨èªã« Objective-C ã®ãªãã¸ã§ã¯ãã·ã¹ãã ãçµã¿åãããRuby ã®è¦ªãã¿ããããã¾ã¶ãã¦ä½ãããè¨èªã«ãªã£ã¦ãã¾ãã
ãNu ã¯ä½è ã® Tim Burks ï¼ããã°ï¼ãã»ã¼ä¸äººã§ä½ã£ãããã§ããã¡ãªã¿ã« Nu ã®çºé³ã¯ä½è ã®ãã¬ã¼ã³ãããªãèã㨠"New" ã¨è¨ã£ã¦ããããã«èããã¾ãã
ã¤ã³ã¹ãã¼ã«
ãã¾ãã¯ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããããNu 㯠Objective-C ã§æ¸ããã¦ããã®ã§ãç¾å¨ã®ã¨ãã Mac OS X ã主ãªå®è¡ç°å¢ã§ããã¾ããiPhone ç¨ã©ã¤ãã©ãªã¼ãç¨æããã¦ããã®ã§ iPhone ã®éçºã©ã¤ã»ã³ã¹ãæã£ã¦ããæ¹ã¯ iPhone ã§è©¦ãã¦ã¿ãäºãã§ãã¾ãï¼iPhone çã«ä»ãã¦ã¯çè ã®ããã°ã§ç´¹ä»ãã¦ãã¾ãï¼ãã½ã¼ã¹ãããã«ãããã° Linux ã§ãåãããã§ãã Cocoa APIï¼Mac OS ã®APIï¼ã使ããªãã®ã§ã§ããäºãéããã¾ãã
ãä»åã®é£è¼ã§ã¯ Mac OS X çãä¸å¿ã«æ¸ãã¦ããã¾ãã
ã¤ã³ã¹ãã¼ã«ä½æ¥
ããã¦ã³ãã¼ããã¼ã¸ããææ°ã®ãNu-0.4.0.dmgãããã¦ã³ãã¼ããã¯ãªãã¯ããäºã§ãé常㮠Mac ã¢ããªã®ããã«ã¤ã³ã¹ãã¼ã«ã§ãã¾ãã
åä½ç¢ºèª
ãnushã³ãã³ããã¤ã³ã¹ãã¼ã«ããã¦ããã®ã§ãã¿ã¼ããã«ã§ nush ãèµ·åãã¦ã¿ã¾ããããnush 㯠Rubyã® irbã³ãã³ãã Python ã® pythonã³ãã³ãã¨åæ§ã«ãå ¥åããã Nuããã°ã©ã ããã®å ´ã§å®è¡ã§ããç°å¢ã§ãä¸è¬ã« REPL ï¼Read Eval Print Loopï¼ã¨å¼ã°ãããã®ã§ããã¡ãªã¿ã« quit ã¨å ¥åãã㨠nush ãçµäºã§ãã¾ãã
$ nush Nu Shell. % (+ 1 2) 3 % quit $
ã¨ãã£ã¿ã¼ç¨ãã¼ã«
ãNu 㯠Lisp ããã¼ã¹ã¨ãã¦ãã¾ããLispããã°ã©ã ã¨è¨ãã°ãã«ãã³ã ãããã§ãã®ã§ãã¨ãã£ã¿ã¼ã«å¯¾å¿ããã«ãã³ã®è¡¨ç¤ºã Lispç¨ã®ã¤ã³ãã³ãæ©è½ãå¿ é ã«ãªãã¾ãã以ä¸ã®ã¨ãã£ã¿ã¼ã«ã¯ Nuç¨ã®ãã¼ã«ãæºåããã¦ãã¾ãã
- Textmateï¼GitHubã« Nuç¨ã® Bundle ãå ¬éããã¦ãã¾ãã詳細ã¯A Bundle for TextMate Usersãåèã«ãã¦ãã ããã
- Emacsï¼Nuãã¤ã³ã¹ãã¼ã«ããã¨/usr/local/share/nu/nu-mode/ 以ä¸ã« nu.elãnush.el ãããã¾ããè¨å®ã¯ãã®ãã£ã¬ã¯ããªã¼ã® README ãåç §ãã ããã
- Vimï¼ç¾æç¹ã§ã¯æ£å¼ãª nu.vim ã¯ãªãªã¼ã¹ããã¦ãã¾ããããvi tips for Nuãåèã«ãªãã¾ãã