ãªãã¸ã§ã¯ãæåããã°ã©ãã³ã°ãç¥æ ¼åãããããªè¨äºãæµãã¦ããã®ã§ï¼åãç¥ã£ã¦ããåé¡ç¹ã«ã¤ãã¦æ¸ãã¦ã¿ããã¨æãã¾ãï¼åãã¾ã å¦çã ã£ãããã¯ï¼ãªãã¸ã§ã¯ãæåã®è©ä¾¡ãã¾ã ããã»ã©å®ã¾ã£ã¦ããªãã¦ï¼ãªãã¸ã§ã¯ãæåã®æ¬¡ã¯ã©ããªãã©ãã¤ã ãåºã¦ãããã¨ãæ®éã«å¦çã¬ãã«ã§è°è«ãã¦ãããã®ã§ããï¼ããã¾ã§å¼·å¤§ã«ãªã£ã¦ãã¾ãã¨ãããæã¡è² ããããªãã¦æ°ã«ã¯ãªããªãã®ã§ããããï¼åã«ã¯ãªãã¸ã§ã¯ãæåãæ®éçãªççã¨ããæãã¯å
¨ç¶ããªãã¦ï¼ããã¾ã§ä½¿ããã¦ãçç±ã¯ï¼ç¾å®çãªãã¯ããã¸ã¼ã§å¤§ããªã·ã¹ãã ãä½ããªããã°ãªããªãå¿
è¦æ§ã®ã»ããåªå
ããçµæã§ããã¨èªèãã¦ãã¾ãï¼ãªãã¸ã§ã¯ãæåããã®å¾ã®25å¹´ã»ã©ããã£ã¨å®å®ãã¦ãã®å°ä½ãä¿ã¦ãã»ã©ç´ æ´ããããã®ã¨ã¯æããªãã®ã§ãï¼
以ä¸ã§ä¸ããåé¡ç¹ã¯ï¼åå¥ã«è§£æ±ºãã¦ããç 究ã¯ãã£ãããã¾ããï¼åãè«æãæ¸ããããã¾ãããã©ï¼å®éã®è¨èªã«å°å ¥ããã¦ããªããã°ãã¾ãæå³ããªãã®ã§ï¼åé¡ç¹ã¨ãã¦ææããã¦ããã ãã¾ããï¼è«æãããªãã®ã§ï¼è»½ãæ°æã¡ã§èªãã§ããã ããã°ã¨æãã¾ãï¼
ï¼ï¼ã¡ãã»ã¼ã¸ã®æµããè¦ããªã
ããªãã¸ã§ã¯ãæåã«ããã¦ã¡ãã»ã¼ã¸ã®ããåãã»ã©éè¦ãªãã®ã¯ãªãã®ã«ï¼ãã®ããåãã®æ§åãããã°ã©ã ä¸ã§è¡¨ç¾ã§ãã¦ãã¾ããï¼ã¡ãã»ã¼ã¸ã®éä¿¡ã¯ï¼ç¹°ãè¿ããæ¡ä»¶åå²ãªã©ã®å¶å¾¡æã«ãã£ã¦ä½ãããé¢æ°å¼ã³åºãã®å¯ä½ç¨ã¨ãã¦éæ¥çã«è¡¨ç¾ããã¾ãï¼ä¸æ¹åä¿¡ã®æ¹ã¯ãã£ã¨è¦ããªãã¦ï¼ä¾ãã°ãã®æã®ãªãã¸ã§ã¯ãã®å é¨ç¶æ ã«ãã£ã¦åä¿¡ã§ããã¡ãã»ã¼ã¸ã®ç¨®é¡ãå¤ããã¯ããªã®ã«ï¼ãããã£ãå¶å¾¡ãæ½è±¡åãã§ãã¾ããï¼æåã«åæåã®ã¡ãã»ã¼ã¸ãåä¿¡ããå¾ï¼å¦çã®ã¡ãã»ã¼ã¸ãããã¤ãåä¿¡ãã¦ï¼çµäºã®ã¡ãã»ã¼ã¸ãåä¿¡ããï¼ã¨ãã£ããããã³ã«çãªè¨è¿°ãã§ãã¾ããï¼
ï¼ï¼ãªãã¸ã§ã¯ãã®ã¤ãªããå ·åãæç¶ãã§ãã表ç¾ã§ããªã
ã次ã«å¤§äºãªã®ããªãã¸ã§ã¯ãã®ã¤ãªããå ·åã§ãï¼ãã¨ãã°ï¼ï¼¶ï¼£ã¨ããï¼ã¤ã®ãªãã¸ã§ã¯ãã®éã¾ãã§ä¸ã¤ã®é¨åãä½ããããªå ´åãããã¾ãï¼ããã°ã©ã ã¯ï¼ï¼ï¼ï¼¶ï¼ï¼£ãããããåãç¸æã¨ã¤ãªãã£ã¦ãããã¨ãåæã§ã¤ãããã¾ãï¼ãã¨ãã°ï¼ï¼ãç¥ã£ã¦ããVã¨ï¼ï¼£ãç¥ã£ã¦ããVã¯åããã®ã§ããï¼ã¨ãã£ããã¨ã§ãï¼ï¼ãããï¼ãã®ã¤ãªããå ·åãæ£ãããã©ãããä¿è¨¼ããæ¹æ³ãããã¾ããï¼æ¨æ§é ããªãã¸ã§ã¯ãã§ä½ãã¨ãï¼èªåã®åä¾ã¯å ¨å¡èªåã親ã¨ãã¦è¦ã¦ãããï¼ãããã£ãã¤ãªãããæç¶ãã§é å¼µã£ã¦ä½ãã®ã§ï¼ééããå ¥ãå¯è½æ§ãããã¾ãï¼ééããã§ããã ãå ¥ããªãããã«ããããã«ï¼ãªãã¸ã§ã¯ãã®å¤å´ããã¯å å´ã触ããªãããã«ã«ãã»ã«åãã¾ããï¼ããããå¶ç´ã¯ãªãã¸ã§ã¯ãæåèªèº«ãèªç±åº¦ãé«ãããï¼éã«è¨ãã¨ä½ãä¿è¨¼ããªã貧弱ã§ããããå¿ è¦ãªã®ã§ãï¼
ï¼ï¼ã¦ã¼ã¶ã¬ãã«ã§ã®é¨åååå©ç¨ã«å ¨ç¶ãªã£ã¦ããªã
ãåãç´ æ´ãããããã°ã©ã ã®é¨åååå©ç¨ã®ä¾ã ã¨æã£ã¦ããã®ãUNIXã®ãã¤ãã©ã¤ã³ã§ãï¼ãããéãã人ã¯ã©ããããããã®ããªï¼ã³ãã³ãã®åºåã次ã®ã³ãã³ãã®å ¥åã«ãªãããã«ãã¤ãã§ã¤ãªãã§è¡¨ç¾ãããã®ã§ãï¼ãã¤ãã人éã«ã¨ã£ã¦ããã使ããããçç±ã¯ï¼ãããæµãããã¼ã¿ã人éã«è¦ããå½¢å¼ã ã£ãããã§ãï¼è¦ãããã次ã®ã³ãã³ãã«ã©ããªå¦çããããã°ãããèãããããªãã¾ãï¼ä½ãåãããããããã°ï¼éä¸ã«æµãã¦ããæååãè¦ãã°ãããã¾ãï¼å ¸åçãªå ¥åãã¼ã¿ãã¨ãã£ã¿ã§ä½ã£ã¦ãããã§ããï¼éä¸ã®å¦çãç¹æ®ããã¦ããããããã°ã©ã ã§å¦çããªãã¦ããããããªå ´åï¼äººéãã¨ãã£ã¿ä¸ã§æä½æ¥ã§ç·¨éãã¦ãããããã§ãï¼ããã¹ããã¼ã¿ã¨ããå ±éã®ãã¼ã¿å½¢å¼ã®ä¸ã§äººéã¨ã³ã³ãã¥ã¼ã¿ãå調ãã¦åé¡ã解ãã¦ããã¨ããæè¦ãããã¾ããï¼
ãããªç´ æ´ãããä»æãã使ãããæ代ã¯ãããªã«ã³ã³ãã¥ã¼ã¿ãéãã£ãããã§ã¯ããã¾ããï¼ããã§ããã¤ããªã¼ã§ã¯ãªãããã¹ãã®10é²è¡¨è¨ã§æ°ã表ãã¨ããï¼å®ã«ç¡é§ãªæ¹æ³ã人éã®å©ä¾¿æ§ãåªå ãã¦ä½¿ããã¦ããã¨ãããã¨ã«æ¬æã表ãã¾ãï¼
1次å ã«ã³ãã³ãã並ã¹ã¦å¦çãé ã«è¡ããããªåç´ãªå¦çã ãã§ããæ代ã¯çµããã¾ããï¼ãã¤ãã«ä»£ãããã£ã¨è¤éãªã³ãã³ãã®çµã¿åããæ¹ãçºæããªããã°ãªãã¾ããï¼ãã¤ãã¯ä¸æ¹åã®æ å ±ã®æµãã§ãããï¼æ å ±ã¯åæ¹åã®æµãã許ãã¹ãã§ãï¼
åã¯UNIXã«X-Windowã¨ããã¦ã¤ã³ãã¦ã·ã¹ãã ãå ¥ã£ã¦ããã¨ãï¼æ¬¡ä¸ä»£ã®ãã¤ããçºæãããã®ãã¨ã¯ã¯ã¯ã¯ãã¦ã¾ãããï¼çµå±ã¾ã 誰ããããçºæã§ãã¦ãã¾ããï¼åãç¥ããªãã ãã§ããã®ããããã¾ããï¼ï¼é¨ååã¯ãªãã¸ã§ã¯ãæåã«ã¨ã£ã¦ããããï¼ããã°ã©ã ã®ä¸ã¯éãããï¼äººéã¯é ããããã¾ããï¼
å大ã®ç°ä¸å çã®IntelligentPadã«ãã®å¯è½æ§ãæãã¾ãããï¼çµå±ã¯ãªãã¸ã§ã¯ãã®åæã¨ããé常ã«é£ããåé¡ããã®åã«ç«ã¡ã¯ã ããã¾ããï¼
ãããããã¦ãããã¡ã«ï¼WWWã®å¤§ççºãèµ·ãã£ã¦å ¨é¨å¹ã£é£ã³ã¾ããï¼
ï¼ï¼ç¥è表ç¾ãæç¶ãå´ã«åã£ã¦ãã
ãããã°ã©ãã³ã°ã¨ããå¦çã£ã½ãå¼ã³æ¹ã§ã¯ãªãï¼ããå°ãåºãæå³ãè¾¼ãã¦ç¥è表ç¾ã¨å¼ã¶ãã¨ã«ãã¾ãï¼ããã°ã©ã ã¯ãã¡ããç¥è表ç¾ã®ä¸é¨ã§ãï¼ãã¨ãã°ï¼EXCELã®è¡¨ãç¥è表ç¾ã§ããï¼æ§é ããã£ããã¼ã¿ã¯ç¥è表ç¾ã§ãï¼ãªãã¸ã§ã¯ãæåã®ä½ãæ²ãããã¨ããã¨ï¼æ§é ããã£ããã¼ã¿ãç´æ¥ä½ãåºããã¨ã¯ã§ããªãã¨ãããã¨ã§ãï¼æç¶ãã使ã£ã¦å¤æããããããã¾ããï¼ãã¨ãã°LISPã§ã¯ã³ã³ãã¥ã¼ã¿ãå¦çãããã¼ã¿æ§é ã人éãç´æ¥å ¥åãããã¨ãã§ãã¾ãï¼ãããã人éã¨ã³ã³ãã¥ã¼ã¿ã®ä»²ã®è¯ãé¢ä¿ããªãã¸ã§ã¯ãæåã§ã¯æ¶ãã¦ãã¾ã£ã¦ã¾ãï¼
ï¼ï¼ãªãã¸ã§ã¯ãæåã¯äººéãã ã¾ãã¦ãã
ããªãã¸ã§ã¯ãæåã§ä½ãããå ¸åçãªã°ã©ãã£ã«ã«ãªããã°ã©ã ãèãã¾ãããï¼ãªãã¸ã§ã¯ãã«ã¯å é¨ç¶æ ãããã¾ãï¼ãã®å é¨ç¶æ ãæ´æ°ããããã¨ãå¯ä¸ã®è¨ç®ã§ãï¼ãã®å é¨ç¶æ ã人éã«ã¿ããããã®ããã°ã©ã ã¨ï¼äººéãè¦ã¦ãããã®ï¼ç»é¢ï¼ã«å¯¾ãããã¦ã¹ãã¿ããã®æä½ã解éãã¦å é¨ç¶æ ãæ´æ°ããããã®ããã°ã©ã ãããã¾ãï¼ããã¯ä¸ã®ä¾ã§ã§ã¦ããï¼ï¼¶ï¼£ã¨ãããã¨ãªãã§ããï¼ã ã¾ãã¦ããã¨ãã£ãã®ã¯ï¼ï¼ã¯å é¨ã«åå¨ãã¾ãããã©ãï¼ï¼¶ãã©ãä½ããããã§è¦ãæ¹ãéã£ã¦ãã¾ãï¼åãè¦ãæ¹ã§ãï¼ã®ä¸èº«ãéã£ã¦ãããï¼åãä¸èº«ã§ãè¦ãæ¹ãéã£ã¦ãããï¼ã¨ãããã¨ãå¹³æ°ã§èµ·ãã¾ãï¼çéã¯LISPã§ãï¼LISPã¯ã³ã³ãã¥ã¼ã¿ãè¦ã¦ããã¡ã¢ãªã¼ã®æ§é ã¨äººéãè¦ã¦ããï¼³å¼ã¨ã1対1ã®é¢ä¿ã«ãªãã®ã§ï¼ã¤ã¾ã人éã¨ã³ã³ãã¥ã¼ã¿ãåããã®ãè¦ã¦ããã¨ããå®å¿æãããã¾ãï¼ãªãã¸ã§ã¯ãæåã¯ã³ã³ãã¥ã¼ã¿ã¨äººéãåããã®ãè¦ã¦ããæããã¾ããï¼ã³ã³ãã¥ã¼ã¿ããããé å¼µã£ã¦äººéã«ããããã®ãè¦ãã¦ããï¼ãããã¯ã ã¾ãã¦ããï¼ã¨ããæãã§ãï¼
ããããªã£ã¡ãã£ãçç±ã¯ï¼ã³ã³ãã¥ã¼ã¿ã«èª²ããããå½¹å²ãï¼ããã¾ã§ããã°ã©ã ãä½ã人ã¨ä½¿ã人ã¨ãä¸ä½ã¨ãªã£ã¦ããæ代ããï¼ä½ã人ã¨ä½¿ã人ã¨ãæ確ã«åãããæ代ã«å¤ãã£ã¦ããã¨ãããã¨ãªã®ããããã¾ããï¼UNIXã®ããã¹ãã¯äººéã«ããããããã¨ãã£ã¦ãï¼ããããããã®ããã¹ãããã¯è¦æ ããããªãããã§ï¼ä½ã人ã¨ä½¿ã人ãä¸ç·ãªãææ ¢ãã§ãã¾ããããï¼éã«ï¼ä½¿ãã ãã®äººã«ã¨ã£ã¦ã¯ï¼ä¸æã«ã ã¾ãã¦ããã£ãã»ããããããã§ããï¼ãããã£ãããã ã¾ããæ¹ããéãå²ããã¨ããäºæ ããã£ãã®ã§ãããï¼
ï¼ï¼ãªãã¸ã§ã¯ãæåã¯è²§ä¹
ããªãã¸ã§ã¯ãæåãæ´»èºããæ代ã¯ã¡ã¢ãªã¼ãé常ã«å°ãªãã©ãç¯ç´ããããéè¦ã§ããï¼ãªã®ã§ãã使ããã¦ããä¾ã¯ï¼åã¨ãããã®ããã£ã¦ï¼ãã®åãã©ã®ããã«æ±ããããã«ãã£ã¦å®è¡ã®å¹çãå¤ããã®ã§ï¼ä½¿ç¨æ³ã«é©ããå®è£ ãé¸ãã§å¹çããããããã¨ãã§ããï¼ãããã¢ã«ã´ãªãºã ã¯ãã®ãã¼ã¿æ§é ã®å½±é¿ãåããªãããã«è¨ç®æ¹æ³ã ãæ¸ãã°ããï¼ãããªãã¨ãè¨ããã¦ããæ代ã§ããï¼ã¤ã¾ãï¼ä¸åº¦æ¸ããã¢ã«ã´ãªãºã ã¯ããããªãã¼ã¿æ§é ã«å¯¾ãã¦ï¼å¹çã®è¯ãå®è¡ãã§ããã¨ãããã®ã§ãï¼
ãããä»ã¯ï¼ã¡ã¢ãªã¼ããµãã ãã«ãã£ã¦å®è¡é度ã®å·®ãããã»ã©éè¦ã§ã¯ãªããªã£ã¦ããã®ã§ï¼ãããªå®è£ æ¹æ³ã«ä¾åããªãã¢ã«ã´ãªãºã ã¨ãã貧ä¹ãªãã¨ãè¨ããªãã¦ããããªãã¾ããï¼ä¸è½ãªãã¼ã¿æ§é ãä¸ã¤æ±ºãã¦ï¼ã¢ã«ã´ãªãºã ã¯å ¨é¨ãã®æ§é ã«å¯¾ãã¦ä½ã£ã¦ãã¾ãã°ããã®ã§ãï¼LISPã¿ãããªãã®ã§ãï¼ãã ãï¼LISPã®æ代ããä½ãå¤ãã£ããã¨ããã¨ï¼æ±ããã¼ã¿ãæ¨æ§é ã®ããã«åç´ã§ã¯ãªãï¼ã°ã©ãæ§é ã«ãªã£ããã¨ï¼ä¸ã¤ã®ã¹ã¬ããã§ã¯ãªããã«ãã¹ã¬ããã§ãã¤åæ£ã«ãªã£ããã¨ï¼ãªãã¸ã§ã¯ããè¤éã«åç §ããã£ã¦ãããããªã°ã©ãæ§é ãLISPã®Så¼ã®ãããªã·ã³ãã«ã§æ±ç¨æ§ã®ããè¨æ³ã§è¨è¿°ããªããã°ãªããªãã¨ãããã¨ã§ãï¼ãªã®ã§Så¼çãªä»é¢¨ã®æ¡å¼µãæ±ãããã¦ãã¾ãï¼
ï¼ï¼é¢ä¿ãè¨è¿°ã§ããªã
ãã¡ãã»ã¼ã¸ã¯åé æ¼ç®ãªã®ã§ï¼è¤æ°ã®ãªãã¸ã§ã¯ãéã®é¢ä¿ã表ç¾ããã®ãè¦æã§ãï¼ããä¸ã¤ã®ãªãã¸ã§ã¯ãã«ï¼èµ·ããï¼æ©ãï¼ã¨ãã£ãå½ä»¤ãããã ããªãç°¡åã§ãï¼ããã«å¯¾ãã¦ï¼äºã¤ã®ãªãã¸ã§ã¯ããé¢ä¿ããå½ä»¤ï¼ãã¨ãã°äºäººã«å¯¾ãã¦ï¼ã¶ã¤ããï¼ãªãã¹ï¼ã¨ããå½ä»¤ãè¦æã§ãï¼é常ã®ãªãã¸ã§ã¯ãæåã§ã¯ï¼é¢ä¿ãããªãã¸ã§ã¯ãã®ã©ããä¸ã¤ãç¹å¥ã«é¸ãã§ï¼ããã«å¯¾ããã¡ãã»ã¼ã¸ã¨ãã¦è¡¨ç¾ãã¾ãï¼ä»ã®ãªãã¸ã§ã¯ãã¯ãã®ã¡ãã»ã¼ã¸ã®å¼æ°ã¨ãã¦æ¸¡ããã¾ãï¼ï¼ï¼ã§è¨ã£ããããªã¤ãªããå ·åã表ç¾ããããã°ï¼ã¡ãã»ã¼ã¸ã®åä¿¡å´ã«é¸ã°ãããªãã¸ã§ã¯ãã責任ããã£ã¦å¼æ°ã§æ¸¡ãããã»ãã®ãªãã¸ã§ã¯ãã©ãããã¤ãªããªããã°ãªãã¾ããï¼
Prologã¯é¢ä¿ã表ç¾ã§ãã¾ãï¼ã¨ãããé¢ä¿ãã表ç¾ã§ãã¾ããï¼ãã¨ãã°ï¼ï¼¡ï¼ï¼¢ï¼ï¼£ã¨ããå¼ããã£ãã¨ãã¾ãï¼æ®éã®è¨èªã§ã¯ï¼¡ï¼ï¼¢ã®è¨ç®ããã¦ï¼ï¼£ã®ã¡ã¢ãªã¼ã«ãã®å¤ãæ¸ãè¾¼ãã¨ãã解éããã¾ãï¼ï¼¡ã¨ï¼¢ã®å¤ã決ã¾ã£ã¦ãã¦ï¼£ã¯æªå®ç¾©ã ã£ããï¼ï¼£ã®æ°ããå¤ã¨ãã¦ããããè¨ç®ããã¾ããï¼ããã«å¯¾ãã¦ï¼ããã§è¡¨ç¾ããå¼ã¯è¨ç®ã®æ¹æ³ã§ã¯ãªãããã¾ã§ãå¼ã¨ãããå¤æ°å士ã®æ°å¦çãªé¢ä¿ã表ãã¦ããã¨è§£éã§ãã¾ãï¼ãã¨ãã°ãã®å¼ããã£ãã¨ãï¼Prologã§ã¯ãï¼¢ãï¼ï¼ï¼ï¼£ãï¼ï¼ã®ã¨ãAã¯ä½ã§ããããã¨ããèãæ¹ã«ããããããã¨ãã§ããã®ã§ãï¼
è¨ç®ã®æ¹åã¾ã§ãã¨ã§æ±ºãããããããã®èªç±åº¦ã¯ã¨ãããï¼ãªãã¸ã§ã¯ãæåãã¡ãã»ã¼ã¸ã®ããã¨ãã«ãã ãã£ã¦ããã¨ï¼é¢ä¿ã表ç¾ããã®ãããã大å¤ã¨ãããã¨ã¯ããã£ã¦ããã ããã§ããããï¼
ãªãã¸ã§ã¯ãæåã®åé¡ç¹ã®ãã¡ï¼ããä¸é¨ã¯ãã¹ã±ããã®è¨è¨æ¹éã«å½±é¿ãä¸ãã¦ãã¾ãï¼ãã¨ãã°ï¼ã³ã³ãã¥ã¼ã¿ãè£ã§äººéã®ããã«é å¼µãã¨ããã®ã§ã¯ãªãï¼ã³ã³ãã¥ã¼ã¿ã¨äººéãåããã®ãè¦ã¦ããæã¨ããã®ã大äºã«ãã¦ããé¨åãªã©ã§ããï¼äººéã¨ã³ã³ãã¥ã¼ã¿ã®é¢ä¿ãã©ããã£ã¦ã»ãããã¨ãã£ãæããè¾¼ãããã¦ãã¾ãï¼
以ä¸ã§ä¸ããåé¡ç¹ã¯ï¼åå¥ã«è§£æ±ºãã¦ããç 究ã¯ãã£ãããã¾ããï¼åãè«æãæ¸ããããã¾ãããã©ï¼å®éã®è¨èªã«å°å ¥ããã¦ããªããã°ãã¾ãæå³ããªãã®ã§ï¼åé¡ç¹ã¨ãã¦ææããã¦ããã ãã¾ããï¼è«æãããªãã®ã§ï¼è»½ãæ°æã¡ã§èªãã§ããã ããã°ã¨æãã¾ãï¼
ï¼ï¼ã¡ãã»ã¼ã¸ã®æµããè¦ããªã
ããªãã¸ã§ã¯ãæåã«ããã¦ã¡ãã»ã¼ã¸ã®ããåãã»ã©éè¦ãªãã®ã¯ãªãã®ã«ï¼ãã®ããåãã®æ§åãããã°ã©ã ä¸ã§è¡¨ç¾ã§ãã¦ãã¾ããï¼ã¡ãã»ã¼ã¸ã®éä¿¡ã¯ï¼ç¹°ãè¿ããæ¡ä»¶åå²ãªã©ã®å¶å¾¡æã«ãã£ã¦ä½ãããé¢æ°å¼ã³åºãã®å¯ä½ç¨ã¨ãã¦éæ¥çã«è¡¨ç¾ããã¾ãï¼ä¸æ¹åä¿¡ã®æ¹ã¯ãã£ã¨è¦ããªãã¦ï¼ä¾ãã°ãã®æã®ãªãã¸ã§ã¯ãã®å é¨ç¶æ ã«ãã£ã¦åä¿¡ã§ããã¡ãã»ã¼ã¸ã®ç¨®é¡ãå¤ããã¯ããªã®ã«ï¼ãããã£ãå¶å¾¡ãæ½è±¡åãã§ãã¾ããï¼æåã«åæåã®ã¡ãã»ã¼ã¸ãåä¿¡ããå¾ï¼å¦çã®ã¡ãã»ã¼ã¸ãããã¤ãåä¿¡ãã¦ï¼çµäºã®ã¡ãã»ã¼ã¸ãåä¿¡ããï¼ã¨ãã£ããããã³ã«çãªè¨è¿°ãã§ãã¾ããï¼
ï¼ï¼ãªãã¸ã§ã¯ãã®ã¤ãªããå ·åãæç¶ãã§ãã表ç¾ã§ããªã
ã次ã«å¤§äºãªã®ããªãã¸ã§ã¯ãã®ã¤ãªããå ·åã§ãï¼ãã¨ãã°ï¼ï¼¶ï¼£ã¨ããï¼ã¤ã®ãªãã¸ã§ã¯ãã®éã¾ãã§ä¸ã¤ã®é¨åãä½ããããªå ´åãããã¾ãï¼ããã°ã©ã ã¯ï¼ï¼ï¼ï¼¶ï¼ï¼£ãããããåãç¸æã¨ã¤ãªãã£ã¦ãããã¨ãåæã§ã¤ãããã¾ãï¼ãã¨ãã°ï¼ï¼ãç¥ã£ã¦ããVã¨ï¼ï¼£ãç¥ã£ã¦ããVã¯åããã®ã§ããï¼ã¨ãã£ããã¨ã§ãï¼ï¼ãããï¼ãã®ã¤ãªããå ·åãæ£ãããã©ãããä¿è¨¼ããæ¹æ³ãããã¾ããï¼æ¨æ§é ããªãã¸ã§ã¯ãã§ä½ãã¨ãï¼èªåã®åä¾ã¯å ¨å¡èªåã親ã¨ãã¦è¦ã¦ãããï¼ãããã£ãã¤ãªãããæç¶ãã§é å¼µã£ã¦ä½ãã®ã§ï¼ééããå ¥ãå¯è½æ§ãããã¾ãï¼ééããã§ããã ãå ¥ããªãããã«ããããã«ï¼ãªãã¸ã§ã¯ãã®å¤å´ããã¯å å´ã触ããªãããã«ã«ãã»ã«åãã¾ããï¼ããããå¶ç´ã¯ãªãã¸ã§ã¯ãæåèªèº«ãèªç±åº¦ãé«ãããï¼éã«è¨ãã¨ä½ãä¿è¨¼ããªã貧弱ã§ããããå¿ è¦ãªã®ã§ãï¼
ï¼ï¼ã¦ã¼ã¶ã¬ãã«ã§ã®é¨åååå©ç¨ã«å ¨ç¶ãªã£ã¦ããªã
ãåãç´ æ´ãããããã°ã©ã ã®é¨åååå©ç¨ã®ä¾ã ã¨æã£ã¦ããã®ãUNIXã®ãã¤ãã©ã¤ã³ã§ãï¼ãããéãã人ã¯ã©ããããããã®ããªï¼ã³ãã³ãã®åºåã次ã®ã³ãã³ãã®å ¥åã«ãªãããã«ãã¤ãã§ã¤ãªãã§è¡¨ç¾ãããã®ã§ãï¼ãã¤ãã人éã«ã¨ã£ã¦ããã使ããããçç±ã¯ï¼ãããæµãããã¼ã¿ã人éã«è¦ããå½¢å¼ã ã£ãããã§ãï¼è¦ãããã次ã®ã³ãã³ãã«ã©ããªå¦çããããã°ãããèãããããªãã¾ãï¼ä½ãåãããããããã°ï¼éä¸ã«æµãã¦ããæååãè¦ãã°ãããã¾ãï¼å ¸åçãªå ¥åãã¼ã¿ãã¨ãã£ã¿ã§ä½ã£ã¦ãããã§ããï¼éä¸ã®å¦çãç¹æ®ããã¦ããããããã°ã©ã ã§å¦çããªãã¦ããããããªå ´åï¼äººéãã¨ãã£ã¿ä¸ã§æä½æ¥ã§ç·¨éãã¦ãããããã§ãï¼ããã¹ããã¼ã¿ã¨ããå ±éã®ãã¼ã¿å½¢å¼ã®ä¸ã§äººéã¨ã³ã³ãã¥ã¼ã¿ãå調ãã¦åé¡ã解ãã¦ããã¨ããæè¦ãããã¾ããï¼
ãããªç´ æ´ãããä»æãã使ãããæ代ã¯ãããªã«ã³ã³ãã¥ã¼ã¿ãéãã£ãããã§ã¯ããã¾ããï¼ããã§ããã¤ããªã¼ã§ã¯ãªãããã¹ãã®10é²è¡¨è¨ã§æ°ã表ãã¨ããï¼å®ã«ç¡é§ãªæ¹æ³ã人éã®å©ä¾¿æ§ãåªå ãã¦ä½¿ããã¦ããã¨ãããã¨ã«æ¬æã表ãã¾ãï¼
1次å ã«ã³ãã³ãã並ã¹ã¦å¦çãé ã«è¡ããããªåç´ãªå¦çã ãã§ããæ代ã¯çµããã¾ããï¼ãã¤ãã«ä»£ãããã£ã¨è¤éãªã³ãã³ãã®çµã¿åããæ¹ãçºæããªããã°ãªãã¾ããï¼ãã¤ãã¯ä¸æ¹åã®æ å ±ã®æµãã§ãããï¼æ å ±ã¯åæ¹åã®æµãã許ãã¹ãã§ãï¼
åã¯UNIXã«X-Windowã¨ããã¦ã¤ã³ãã¦ã·ã¹ãã ãå ¥ã£ã¦ããã¨ãï¼æ¬¡ä¸ä»£ã®ãã¤ããçºæãããã®ãã¨ã¯ã¯ã¯ã¯ãã¦ã¾ãããï¼çµå±ã¾ã 誰ããããçºæã§ãã¦ãã¾ããï¼åãç¥ããªãã ãã§ããã®ããããã¾ããï¼ï¼é¨ååã¯ãªãã¸ã§ã¯ãæåã«ã¨ã£ã¦ããããï¼ããã°ã©ã ã®ä¸ã¯éãããï¼äººéã¯é ããããã¾ããï¼
å大ã®ç°ä¸å çã®IntelligentPadã«ãã®å¯è½æ§ãæãã¾ãããï¼çµå±ã¯ãªãã¸ã§ã¯ãã®åæã¨ããé常ã«é£ããåé¡ããã®åã«ç«ã¡ã¯ã ããã¾ããï¼
ãããããã¦ãããã¡ã«ï¼WWWã®å¤§ççºãèµ·ãã£ã¦å ¨é¨å¹ã£é£ã³ã¾ããï¼
ï¼ï¼ç¥è表ç¾ãæç¶ãå´ã«åã£ã¦ãã
ãããã°ã©ãã³ã°ã¨ããå¦çã£ã½ãå¼ã³æ¹ã§ã¯ãªãï¼ããå°ãåºãæå³ãè¾¼ãã¦ç¥è表ç¾ã¨å¼ã¶ãã¨ã«ãã¾ãï¼ããã°ã©ã ã¯ãã¡ããç¥è表ç¾ã®ä¸é¨ã§ãï¼ãã¨ãã°ï¼EXCELã®è¡¨ãç¥è表ç¾ã§ããï¼æ§é ããã£ããã¼ã¿ã¯ç¥è表ç¾ã§ãï¼ãªãã¸ã§ã¯ãæåã®ä½ãæ²ãããã¨ããã¨ï¼æ§é ããã£ããã¼ã¿ãç´æ¥ä½ãåºããã¨ã¯ã§ããªãã¨ãããã¨ã§ãï¼æç¶ãã使ã£ã¦å¤æããããããã¾ããï¼ãã¨ãã°LISPã§ã¯ã³ã³ãã¥ã¼ã¿ãå¦çãããã¼ã¿æ§é ã人éãç´æ¥å ¥åãããã¨ãã§ãã¾ãï¼ãããã人éã¨ã³ã³ãã¥ã¼ã¿ã®ä»²ã®è¯ãé¢ä¿ããªãã¸ã§ã¯ãæåã§ã¯æ¶ãã¦ãã¾ã£ã¦ã¾ãï¼
ï¼ï¼ãªãã¸ã§ã¯ãæåã¯äººéãã ã¾ãã¦ãã
ããªãã¸ã§ã¯ãæåã§ä½ãããå ¸åçãªã°ã©ãã£ã«ã«ãªããã°ã©ã ãèãã¾ãããï¼ãªãã¸ã§ã¯ãã«ã¯å é¨ç¶æ ãããã¾ãï¼ãã®å é¨ç¶æ ãæ´æ°ããããã¨ãå¯ä¸ã®è¨ç®ã§ãï¼ãã®å é¨ç¶æ ã人éã«ã¿ããããã®ããã°ã©ã ã¨ï¼äººéãè¦ã¦ãããã®ï¼ç»é¢ï¼ã«å¯¾ãããã¦ã¹ãã¿ããã®æä½ã解éãã¦å é¨ç¶æ ãæ´æ°ããããã®ããã°ã©ã ãããã¾ãï¼ããã¯ä¸ã®ä¾ã§ã§ã¦ããï¼ï¼¶ï¼£ã¨ãããã¨ãªãã§ããï¼ã ã¾ãã¦ããã¨ãã£ãã®ã¯ï¼ï¼ã¯å é¨ã«åå¨ãã¾ãããã©ãï¼ï¼¶ãã©ãä½ããããã§è¦ãæ¹ãéã£ã¦ãã¾ãï¼åãè¦ãæ¹ã§ãï¼ã®ä¸èº«ãéã£ã¦ãããï¼åãä¸èº«ã§ãè¦ãæ¹ãéã£ã¦ãããï¼ã¨ãããã¨ãå¹³æ°ã§èµ·ãã¾ãï¼çéã¯LISPã§ãï¼LISPã¯ã³ã³ãã¥ã¼ã¿ãè¦ã¦ããã¡ã¢ãªã¼ã®æ§é ã¨äººéãè¦ã¦ããï¼³å¼ã¨ã1対1ã®é¢ä¿ã«ãªãã®ã§ï¼ã¤ã¾ã人éã¨ã³ã³ãã¥ã¼ã¿ãåããã®ãè¦ã¦ããã¨ããå®å¿æãããã¾ãï¼ãªãã¸ã§ã¯ãæåã¯ã³ã³ãã¥ã¼ã¿ã¨äººéãåããã®ãè¦ã¦ããæããã¾ããï¼ã³ã³ãã¥ã¼ã¿ããããé å¼µã£ã¦äººéã«ããããã®ãè¦ãã¦ããï¼ãããã¯ã ã¾ãã¦ããï¼ã¨ããæãã§ãï¼
ããããªã£ã¡ãã£ãçç±ã¯ï¼ã³ã³ãã¥ã¼ã¿ã«èª²ããããå½¹å²ãï¼ããã¾ã§ããã°ã©ã ãä½ã人ã¨ä½¿ã人ã¨ãä¸ä½ã¨ãªã£ã¦ããæ代ããï¼ä½ã人ã¨ä½¿ã人ã¨ãæ確ã«åãããæ代ã«å¤ãã£ã¦ããã¨ãããã¨ãªã®ããããã¾ããï¼UNIXã®ããã¹ãã¯äººéã«ããããããã¨ãã£ã¦ãï¼ããããããã®ããã¹ãããã¯è¦æ ããããªãããã§ï¼ä½ã人ã¨ä½¿ã人ãä¸ç·ãªãææ ¢ãã§ãã¾ããããï¼éã«ï¼ä½¿ãã ãã®äººã«ã¨ã£ã¦ã¯ï¼ä¸æã«ã ã¾ãã¦ããã£ãã»ããããããã§ããï¼ãããã£ãããã ã¾ããæ¹ããéãå²ããã¨ããäºæ ããã£ãã®ã§ãããï¼
ï¼ï¼ãªãã¸ã§ã¯ãæåã¯è²§ä¹
ããªãã¸ã§ã¯ãæåãæ´»èºããæ代ã¯ã¡ã¢ãªã¼ãé常ã«å°ãªãã©ãç¯ç´ããããéè¦ã§ããï¼ãªã®ã§ãã使ããã¦ããä¾ã¯ï¼åã¨ãããã®ããã£ã¦ï¼ãã®åãã©ã®ããã«æ±ããããã«ãã£ã¦å®è¡ã®å¹çãå¤ããã®ã§ï¼ä½¿ç¨æ³ã«é©ããå®è£ ãé¸ãã§å¹çããããããã¨ãã§ããï¼ãããã¢ã«ã´ãªãºã ã¯ãã®ãã¼ã¿æ§é ã®å½±é¿ãåããªãããã«è¨ç®æ¹æ³ã ãæ¸ãã°ããï¼ãããªãã¨ãè¨ããã¦ããæ代ã§ããï¼ã¤ã¾ãï¼ä¸åº¦æ¸ããã¢ã«ã´ãªãºã ã¯ããããªãã¼ã¿æ§é ã«å¯¾ãã¦ï¼å¹çã®è¯ãå®è¡ãã§ããã¨ãããã®ã§ãï¼
ãããä»ã¯ï¼ã¡ã¢ãªã¼ããµãã ãã«ãã£ã¦å®è¡é度ã®å·®ãããã»ã©éè¦ã§ã¯ãªããªã£ã¦ããã®ã§ï¼ãããªå®è£ æ¹æ³ã«ä¾åããªãã¢ã«ã´ãªãºã ã¨ãã貧ä¹ãªãã¨ãè¨ããªãã¦ããããªãã¾ããï¼ä¸è½ãªãã¼ã¿æ§é ãä¸ã¤æ±ºãã¦ï¼ã¢ã«ã´ãªãºã ã¯å ¨é¨ãã®æ§é ã«å¯¾ãã¦ä½ã£ã¦ãã¾ãã°ããã®ã§ãï¼LISPã¿ãããªãã®ã§ãï¼ãã ãï¼LISPã®æ代ããä½ãå¤ãã£ããã¨ããã¨ï¼æ±ããã¼ã¿ãæ¨æ§é ã®ããã«åç´ã§ã¯ãªãï¼ã°ã©ãæ§é ã«ãªã£ããã¨ï¼ä¸ã¤ã®ã¹ã¬ããã§ã¯ãªããã«ãã¹ã¬ããã§ãã¤åæ£ã«ãªã£ããã¨ï¼ãªãã¸ã§ã¯ããè¤éã«åç §ããã£ã¦ãããããªã°ã©ãæ§é ãLISPã®Så¼ã®ãããªã·ã³ãã«ã§æ±ç¨æ§ã®ããè¨æ³ã§è¨è¿°ããªããã°ãªããªãã¨ãããã¨ã§ãï¼ãªã®ã§Så¼çãªä»é¢¨ã®æ¡å¼µãæ±ãããã¦ãã¾ãï¼
ï¼ï¼é¢ä¿ãè¨è¿°ã§ããªã
ãã¡ãã»ã¼ã¸ã¯åé æ¼ç®ãªã®ã§ï¼è¤æ°ã®ãªãã¸ã§ã¯ãéã®é¢ä¿ã表ç¾ããã®ãè¦æã§ãï¼ããä¸ã¤ã®ãªãã¸ã§ã¯ãã«ï¼èµ·ããï¼æ©ãï¼ã¨ãã£ãå½ä»¤ãããã ããªãç°¡åã§ãï¼ããã«å¯¾ãã¦ï¼äºã¤ã®ãªãã¸ã§ã¯ããé¢ä¿ããå½ä»¤ï¼ãã¨ãã°äºäººã«å¯¾ãã¦ï¼ã¶ã¤ããï¼ãªãã¹ï¼ã¨ããå½ä»¤ãè¦æã§ãï¼é常ã®ãªãã¸ã§ã¯ãæåã§ã¯ï¼é¢ä¿ãããªãã¸ã§ã¯ãã®ã©ããä¸ã¤ãç¹å¥ã«é¸ãã§ï¼ããã«å¯¾ããã¡ãã»ã¼ã¸ã¨ãã¦è¡¨ç¾ãã¾ãï¼ä»ã®ãªãã¸ã§ã¯ãã¯ãã®ã¡ãã»ã¼ã¸ã®å¼æ°ã¨ãã¦æ¸¡ããã¾ãï¼ï¼ï¼ã§è¨ã£ããããªã¤ãªããå ·åã表ç¾ããããã°ï¼ã¡ãã»ã¼ã¸ã®åä¿¡å´ã«é¸ã°ãããªãã¸ã§ã¯ãã責任ããã£ã¦å¼æ°ã§æ¸¡ãããã»ãã®ãªãã¸ã§ã¯ãã©ãããã¤ãªããªããã°ãªãã¾ããï¼
Prologã¯é¢ä¿ã表ç¾ã§ãã¾ãï¼ã¨ãããé¢ä¿ãã表ç¾ã§ãã¾ããï¼ãã¨ãã°ï¼ï¼¡ï¼ï¼¢ï¼ï¼£ã¨ããå¼ããã£ãã¨ãã¾ãï¼æ®éã®è¨èªã§ã¯ï¼¡ï¼ï¼¢ã®è¨ç®ããã¦ï¼ï¼£ã®ã¡ã¢ãªã¼ã«ãã®å¤ãæ¸ãè¾¼ãã¨ãã解éããã¾ãï¼ï¼¡ã¨ï¼¢ã®å¤ã決ã¾ã£ã¦ãã¦ï¼£ã¯æªå®ç¾©ã ã£ããï¼ï¼£ã®æ°ããå¤ã¨ãã¦ããããè¨ç®ããã¾ããï¼ããã«å¯¾ãã¦ï¼ããã§è¡¨ç¾ããå¼ã¯è¨ç®ã®æ¹æ³ã§ã¯ãªãããã¾ã§ãå¼ã¨ãããå¤æ°å士ã®æ°å¦çãªé¢ä¿ã表ãã¦ããã¨è§£éã§ãã¾ãï¼ãã¨ãã°ãã®å¼ããã£ãã¨ãï¼Prologã§ã¯ãï¼¢ãï¼ï¼ï¼ï¼£ãï¼ï¼ã®ã¨ãAã¯ä½ã§ããããã¨ããèãæ¹ã«ããããããã¨ãã§ããã®ã§ãï¼
è¨ç®ã®æ¹åã¾ã§ãã¨ã§æ±ºãããããããã®èªç±åº¦ã¯ã¨ãããï¼ãªãã¸ã§ã¯ãæåãã¡ãã»ã¼ã¸ã®ããã¨ãã«ãã ãã£ã¦ããã¨ï¼é¢ä¿ã表ç¾ããã®ãããã大å¤ã¨ãããã¨ã¯ããã£ã¦ããã ããã§ããããï¼
ãªãã¸ã§ã¯ãæåã®åé¡ç¹ã®ãã¡ï¼ããä¸é¨ã¯ãã¹ã±ããã®è¨è¨æ¹éã«å½±é¿ãä¸ãã¦ãã¾ãï¼ãã¨ãã°ï¼ã³ã³ãã¥ã¼ã¿ãè£ã§äººéã®ããã«é å¼µãã¨ããã®ã§ã¯ãªãï¼ã³ã³ãã¥ã¼ã¿ã¨äººéãåããã®ãè¦ã¦ããæã¨ããã®ã大äºã«ãã¦ããé¨åãªã©ã§ããï¼äººéã¨ã³ã³ãã¥ã¼ã¿ã®é¢ä¿ãã©ããã£ã¦ã»ãããã¨ãã£ãæããè¾¼ãããã¦ãã¾ãï¼
ObjectãMessageã¯æ±ºãã¦ç¾å®ã®æ¯å©ã§ã¯ããã¾ãããããã¾ã§å¶å¾¡æ§é ã§ããæ¬è³ªã¯å帰ã¨åãã¾ã§ãã
è¨ã£ã¦ããæå³ããããã¥ãããã°Wikipediaã§Smalltalkã®è¨äºãèªãã§ã¿ã¦ãã ããã
å ·ä½çãªè¨è¨/å®è£ ææ³ã«ã¤ãã¦å¦ã³ãªãããã¨ã§ã大åã®é ç®ãè¦ãã¯ãã§ãã
ãå¥ç´ã«ããè¨è¨ã
ãéæ¾ééã®ååã
ãã®è¾ºãã®ãã¼ã¯ã¼ãã§æ¤ç´¢ããããã¨ããå§ããã¾ãã
Smalltalkã«ã¯trueã¨falseã¨ããObjectãåå¨ãã¾ããtrueã¨falseã¯ä¸è¨ã®æ§ãªMessageãä¸ãããã¨ãã§ãã¾ãã
| result then else |
then := [ 1 ]. "[] ã¯ç¡åé«éé¢æ°"
else := [ 2 ].
result := true ifTrue: then ifFalse: else.
result := false ifTrue: then ifFalse: else.
ãã®ætrueã¯thenãè©ä¾¡(#valueãéã)ãresultã1ã«ãã¾ãã
falseã¯éã«elseãè©ä¾¡ãããã¨ã§resultã2ã«ãã¾ãã
è¨ãæ¹ãå¤ããã¨"ifTrue: then ifFalse: eles"ã¨ããMessageãç¾ããæresultãthenã®çµæã«ããããã°trueãelseã®çµæã«ããããã°falseã使ãã¨ããäºã§ãã
ãããObjectã¨Messageãå¶å¾¡æ§é ã¨ãã¦æ©è½ãã¦ããå ¸åçãªä¾ã§ãã
ããä¸ã¤ä¾ãä¸ãã¾ãã
| holder |
holder := [ :value | value printOn: Transcript ].
holder value: 1.
holder := NullValueHolder uniqueInstance.
holder value: 1.
ãã¡ãã¯"value: 1"ã¨ããMessageãç¾ããæ1ã表示ããããã°è¡¨ç¤ºç¨ã®ç¡åé«éé¢æ°ã使ããç¡è¦ããããã°NullValueHolderã使ãã¨ããäºã§ãããã®æ§ã«Objectã¯Messageãç¾ããæã®åä½ãåãæ¿ãã¦å¶å¾¡æ§é ãå®ç¾ããããã®ä»çµã¿ã«éãã¾ãããObjectã¯ç¾å®ã®æ¯å©ã§ãç¡ããã°ãç¶æ å¤åãå¿ è¦ã¨ããç©ã§ããªãªããé¢ä¿ã表ç¾ããããã®ãã®ã§ãç¡ãã®ã§ããç¹ã«ç¶æ å¤åã¯Objectã«æè»æ§ãæãããããã®ãã¾ãã®ãããªãã®ã§ããä¾ãã°true, false, nil, []. ãå§ãå¤ãã®Objectã¯åæç¶æ ããå¤åãã¾ãããtrue, false, nilã«ã¤ãã¦ã¯Classã®éãã ãã§å¶å¾¡ãå®ç¾ãã¦ããå é¨ã«å¤æ°ããæã¡ã¾ããããã®Objectã¨Messageã¨ããå¶å¾¡æ§é ã¨ãã観ç¹ã§Smalltalkã®Class群ãã¿ãã¨å®ã«è¯ãåºæ¥ã¦ãã¾ãã使ç¨è ã¯æ°ããæ¯ãèããå¿ è¦ãªæãä»ã¾ã§ã«ãªãObjectã¨Messageã®çµã¿åãããä½ãã ãã§æ°ããæ¯ãèããä½ããã¨ãã§ãã¦ãã¾ãã®ã§ãã
ã§ï¼ä»äººãã¤ãã£ããã®ã§ã¯ãªãï¼ãªãã¨ãèªåã§ããããã®ãä½ãããã¨æã£ã¦ã¦ï¼ãã¹ã±ãããã§ãã¾ãããï¼ãã®é¢ç½ãã«ä¸¦ã¶ãã©ããã¯ã¨ãããï¼ããªãé¢ç½ãã§ãã
http://web.archive.org/web/20050305092826/http://marimpod.homeip.net/chomswiki/24
ä½è ããããè¨ã£ã¦ãã®ã§ããã
ããã«ãè²´æ¹ãä»°ããªãã¸ã§ã¯ãã¨ã¡ãã»ã¼ã¸ã§ããã°ã©ã ãæ¸ããã¨ã®å©ç¹ã¯ä½ã§ãããã
Alan C. Kayã®The Early History of Smalltalkã«åãã¦ããªãã¤ããã§ãã
> ããã«ãè²´æ¹ãä»°ããªãã¸ã§ã¯ãã¨ã¡ãã»ã¼ã¸ã§ ããã°ã©ã ãæ¸ããã¨ã®å©ç¹ã¯ä½ã§ãããã
Messageã®åå©ç¨ã¨çµåããã¦æ¡å¼µæ§ã§ãã
| center result |
center :=
[ :edge1 :edge2 |
( edge1 + edge2 ) / 2.
].
result := center value: 1 value: 3.
result := center value: 1 @ 1 value: 2 @ 2.
ã¾ãåå©ç¨ã§ãããä¸è¨ã®ä¾ã§ã¯ä¸å¤®åº§æ¨ãç®åºããMessageãä¸æ¬¡å ã®æ°å¤ã¨äºæ¬¡å ã®æ°å¤ã§å ±æãã¦ãã¾ããéOOPLãªãä¸æ¬¡å ç¨ã¨äºæ¬¡å ç¨ããããcenterãç¨æããå¿ è¦ãããã¾ããä¸å¤®åº§æ¨ã®ç®åºã1ã¤ã ãã«ãã¦ãã¾ããã¨ãåºæ¥ãã®ã§ããã¾ããä¸æ¬¡å ãäºæ¬¡å ã ãã§ãªãé«æ¬¡å ã®æ°å¤ãæ°åãå°æ¥ç¾ããã§ãããããããªClassã®Objectã«å¯¾ãã¦ãåãMessageãåå©ç¨ããäºãã§ãã¾ãã
someObject ifNotNil: [ :value | ].
Continuation currentDo:
[ :continue |
someObject ifNotNil: continue.
].
次ã«çµåã§ããä¸è¨ä¾ã®#ifNotNil:ã®æ§ã«åãProtocolã«å¾ã£ãObjectã¨æç¶ã(Method)ã¯ä¾ã製é å ãç°ãªã£ã¦ãçµã¿åããã¦æ©è½ããããã¨ãã§ãã¾ããéOOPLã§ã¯æä¾å ãç°ãªãæ©è½å士ãçµã¿åããããããã¨ã¯å°ãã¨æãã¾ãã
| reader result |
reader := ReadStream on: #( 1 2 3 ).
result := reader next.
æå¾ã«æ¡å¼µæ§ã§ããé åãReadStreamã«å¤æãã¦ããä¸è¨ã®ä¾ã®æ§ã«æ¢åã®Classã®Protocolãæ¡å¼µããObjectãå©ç¨ãã¦æ¢åã®Classã対å¿ãã¦ããªãMessageã«é©åããããã¨ãã§ãã¾ããéOOPLã§ã¯ããããåãæ¦å¿µã¯ãªãã§ãããã
xxxxx yes "1" > i
xxxxx wc -l i
135613440 i
xxxxx time cat i | awk '{print $1++}' | awk '{print $1++}' | awk '{print $1++}' > j
real 4m44.736s
user 13m4.854s
sys 0m2.228s
xxxxx wc -l j
135613440 j
xxxxx
ã ããã£ã¦ã¢ããã人ã«è¿ããã©ããã¯ããããªããã©
ã¨ã¯ã»ã«ã®å¾ªç°åç §ã¨viscuitã®åãã¯ç¢ºãã«ã¡ããã§ããï¼