2006-11-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¾ã æä¸åéãããã¿ãå¼ã£å¼µãã¾ãããã©ããæä¸ããã¯æ¬¡ã®ãããªçºè¨ããã¦ããã£ããããããï¼å«å¼ãã§ãï¼ã ããã®ã²ãã ï¼å ¨éºä¼åæ å ±ï¼ã¯ããããåã¤ã®å¡©åºã§æ§æããããã®å¡©åºã®ãã¢ãç´ä¸åååé£ãªã£ã¦ãããå¡©åºã®é åãå¶ç¶ã®ãã®ã¨ãããªâ¦
ãªãã°ããããã®ãã©ãã¯ããã¯ãçµç±ãã¦ãkikulogã®ãã®è¨äºãèªãã ã®ã§ãã⦠ãã¼ããæä¸åéããã¯âãã£ã¡ãã£ã¦ãâã®ã§ãããããkikulogã®èæ± ããèªèº«ã¨ãã®ä»ã®æ¹ã®ã³ã¡ã³ããããã¤ãæ¾ã£ã¦ã¿ã¾ãã æä¸æ°ã¯ã¡ãã£ã¨ãã¤ã¼ãã«ãããã®ã§ã¯ãªãâ¦
ãã£ï¼ Meadow2ã« ã©ã ãè¨ç®ã®åèæ¸ã¨ããæåãè¦ãã ãã©ã ãè¨ç®ã®åèæ¸ãã¨ããæååããã©ããã³ã¬ã¨åè´ãããããå¾®å¦ã«éãã¨ãããï¼æè¿TeXã使ããªããã¯ã¦ãªè¨æ³ã®è¦ééãï¼ãã次ãæ£ããã£ããããããã¯ã·ããã ã«ãã§ã¨ã¯ã¹ã¿ã¼ããâ¦
é»è»ã®ä¸å·ãåºåã§è¦ããç§å¦ä¸è½ä¸»ç¾©ã人éãå£åããããï¼éèªãWEDGE 2006 12æå·ãï¼ã¨ããè¨äºãæ°ã«ãªã£ã¦èªãã§ã¿ã¾ããããã¼ãã£ããã£ã±ããæ°´ã®è©æ¬ºå¸«ã»æ±æ¬åããã欣åéèºï¼ããããããããï¼ããããªæè¨ã®ãªã³ãã¬ã¼ãã§ãã æè²ã§ããâ¦
ã·ã§ã¼åãããæ§æ解æã®ãªããã·ï¼è¨æ£ãã¨ãæ§æ解æã®ãªããã·ï¼è£éºãã§åç §ããææ¸ããã¼ã¶ã¼ã«å¯¾å¿ããJavaCCè¨è¿°ãä½ã£ã¦ããã¾ããããã£ããã ãããªã³ã¯ãã¦ããã¾ããããã¨ãJavaCCã«é¢ãã¦ã¯ä»¥åã«æ¸ããè¨äºããã£ãã®ã§ããã ç°¡åãªç®è¡å¼â¦
ãªãã§ææ¿ãå¹ããªããã ã¼ãã³ãã¤ãã¼ãã¨æã£ã¦è¦ãããã¢ãéãã¦ããã
æ¸è°·é§ ã®å®®çåå£ãåºãã¨ããã§ãããããã¼ãããã§ãäºå¤§å·¨é ã®ç±ãæ¦ãããâå ç¥ã»å¥³ç çéãããâæ°ã»å¥³ç ãããããï¼ä¸å·ç¿åï¼
åä¾ã¨ä¸ç·ã«ãã¬ãããã·ã§ã¼ãããè¦ã¦ããã¨ãç°å¸¸ã«ãªã¤ãããã»ãªãã«åºä¼ããã¨ãããã ãããªã¯ã»ãããªã¿ -- NHKå¹¼å çªçµãããªãããªãã°ãã£ï¼ãã«ã¦ãã¯ã³ã¯ã³ãå£ãããã§ããã ã¦ã¼ã»ã¤ã¼ã»ã¿ã¼ -- ã¢ãã¡ãã¯ã³ã¯ã³ã»ã¬ãã¼ ããããï¼å¾¹ä¹â¦
ãã¾ã©ããåºå¡ãã¿ããªåè¢ã£ã¦ãåºã¯ã©ããªã®ããå¤ã¯éå°å·æ¿ãå¬ã¯éå°ææ¿ã§å転çãä¸ããã£ã¦æ¦ç¥ãããã®ãããããªãããã©ããªã®ããã½ã¬ã
ã³ã¼ã©ãã«ã¯ãã¹ã¦ã¦ã¼ã¶ã¼ï¼å©ç¨è ï¼å®ç¾©ã¨ãªãããã ãããã®ã³ã¼ã©ãã«ç¾¤ã¨HoareRuleså®è¡ãã¬ã¼ã ã¯ã¼ã¯ã¯åãé¢ãããé©å½ãªã¤ã³ã¿ã¼ãã§ã¼ã¹ãä»åãã«ãã¦ãã³ã¼ã©ãã«ã®è©³ç´°ã¯é è½ããã public interface CallableLibrary { // å®è¡ãã¬ã¼ã ã¯ã¼ã¯â¦
æ§æ解æã®ãªããã·ã¯ãå¤ãªãã¨ãæ¸ãã¦ãã¾ã£ãã§ããããã以ä¸è¿½è¨ãããã¨ã´ãã£ã´ãã£ãæ··ä¹±ãããã ããããã®ã¨ã³ããªã¼ã«è£è¶³ã¨æ³¨æãã¾ã¨ãã¾ããæ§æè¦åã®ææ§æ§ã¨æ¼ç®åã®åªå é ä½ãã¨ã®çºç«¯ã¯ãæ¼ç®åãå«ãå¼ããå¼ ::= å¼ '+' å¼ãã®ããã«ââ¦
æ¨æ¥ã®ã¨ã³ããªã¼ã®ã©ããå¤ãã¨ããã¨ï¼ å æ° ::= å æ° ('*' å æ°)* | '-' å æ°ããã ã¨ãç©ï¼'*'ï¼ã¨ç¬¦å·å転ï¼'-'ï¼ã®åªå é ä½ãç¸å¤ãããææ§ã§ããä¸æçã«ãã¼ãºï¼è§£æï¼ã§ãã¾ããããªãã¦ã»ãªããåã«ãªãã¾ããä¾ãã°ã2+-3*5 ãã2+(-(3*5)) ã 2â¦
å·¥ä½å¡ãæä¼ãã®ã·ã§ã¼åãid:aiue3ã¨ããæããããªIDã§ãã¤ã¢ãªã¼ãæ¸ãã¦ããããã§ããhttp://d.hatena.ne.jp/aiue3/20061120#1164006565 ã®ãªãã«å帰çä¸åãæ³ï¼recursive decent; å帰ä¸éæ³ï¼ã¨ããã®ãåºã¦ããã®ã§å°ãè£è¶³ãã¦ããã¾ãããããâ¦
æ§æã ãã示ãã¦ãå®æããªãã§ããããããã©ã®ããã«å®è¡ãããããè¨è¿°ãã¾ããå®è£ è¨èªã¯Javaã¨ãããã¨ã«ãã¾ããâã³ã¼ã©ãã«ã®å®è£ æ¹å¼ã³ã¼ã©ãã«ï¼è¿°èªãé¢æ°ãã³ãã³ãï¼ã«çµã¿è¾¼ã¿ã®ãã®ã¯åå¨ãã¾ããããã¹ã¦ã¦ã¼ã¶ã¼å®ç¾©ã§ãã次ã®ãããªã¤ã³ã¿â¦
ãæ¾åãè¶ ããé¸æãã¨ãããµãã¸ã§ã¯ãã®ã¡ã¼ã«ãæ¥ã¦ããªããã®ãã¥ã¼ã¹ãã¨éãã¦ã¿ããæ¬æã¯URLã ããåå°çã«ã¯ãªãã¯ãã¦ãã¾ã£ãããåºä¼ãç³»ãµã¤ãã£ã¦ãã¤ã§ããã*1ããã«ãä¼ç¤¾æ¦è¦ãã¨ãããå©ç¨è¦ç´ãã¨ãããã£ã³ãããã®ã«ã¡ãã£ã¨é©ãã¦èªâ¦
ãè¨å·ãä¹±ç¨ãã¦ãã¨ããè¨å·ã®ä¹±ç¨ã ããã£ã¦è¨ãæ¹ã¯ãããç¨åº¦ã¯èªç¥ããã¦ããã®ãã¨æã£ã¦ãããã§ããããã®ã¾ãã¾ã®æå³ã§ä½¿ããããã¨ãå¤ããã§ããâgoogle:"è¨å·ãä¹±ç¨" ã¾ã£ãå½ããåã ãã©ãã§ãã"abuse of notation"ã 㨠http://en.wikipediâ¦
æ§æçã«ã¯é¢æ°å¼ã³åºãã§ãã£ã¦ããç¨éï¼å½¹å²ããããã¯åï¼ã¿ã¤ãï¼ã«ããã次ã®3種ã«åé¡ããã¾ãã è¿°èª -- æ»ãå¤ã¯booleanãå¯ä½ç¨ãªãã ï¼ç義ã®ï¼é¢æ° -- æ»ãå¤ã®åã¯ä»»æãå¤ãå¿ ãæ»ããå¯ä½ç¨ãªãã ã³ãã³ã -- æ»ãå¤ã®åã¯ä»»æãå¤ããªãã¦â¦
nmTokenãããããå®ç¾©ã«ããã¨ãnameânmTokenãintegerânmTokenã«ãªã£ã¦ãã¾ã£ã¦ãã©ããæ°æã¡æªãã§ãããããããããã¦ãã®ã¬ã¯ãµã¼ã»ã¸ã§ãã¬ã¼ã¿ã¯æèã«ããåå¥è§£æè¦åãåãæ¿ãããã¨ãã§ããã ãããããã©ãã«ã®èªèã¯å¥ãªæèã«ãããã¨ã«ãâ¦
ãã¼ã¢è«çããã¼ã¢å¼ã«ã¤ãã¦ã¯ä½åº¦ã触ãããã¨ãããã¾ãï¼ä¾ãã°ãããã¥ã¢ã«ããã°ã©ãã³ã°ã¨ã¨ã¯ã½ã·ã¹ãã²ã¼ã ããã極å°ããã°ã©ãã³ã°è¨èªã¨ãã¼ã¢è«çãï¼ããã¼ã¢å¼ï¼ãã¼ã¢è«çã«ãããè«çæï¼ãè¨è¿°ããæ§æã¨å®è¡ãã¬ã¼ã ã¯ã¼ã¯ãããã¨ä¾¿å©â¦
ãã¯ã¦ãªãã®RSSã¢ã¸ã¥ã¼ã«ã使ã£ã¦ã注ç®ã®ã¨ã³ããªã¼ï¼URL㯠http://b.hatena.ne.jp/entrylist?url=http%3A%2F%2Fd.hatena.ne.jp%2Fm-hiyama%2F&mode=rssï¼ããµã¤ããã¼ã«å ¥ãã¦ã¿ããã ãã©ãè¦ã°ããè¯ããªããããã¡ãã£ã¨æ°ãããã表示ãã§ããªããã®â¦
åã¯ãä»äºã¨è¶£å³ã®åºå¥ãããã¾ãããããªããªãçæ´»ããã¦ããã®ã§ããããã¯ä»äºãã¨ããå¢çç·ãå¼ãã«ããã®ã§ãããæ¯è¼çã«,ä»äºçãª,é£çµ¡çãªå 容ï¼ãçãããã«ãªï¼ã«ã¯ããé£çµ¡çãã¨ããåé¡ã¿ã°ãä»ãããã¨ã«ãã¾ããããã«æ¸ãã¦ãã¾ãã£ã¦ãâ¦
ç©çå¦è ã®ç°å´ããã次ã®ãã¼ã¸ãå ¬éãªãã£ã¦ãã¾ãã ãæ°´ããã®ä¼è¨ããä¿¡ããªãã§ãã ãã ï¼http://www.gakushuin.ac.jp/~881791/fs/ï¼ æ°´ä¼ãã¿ã¯ãåèªèº«ãä½åº¦ãæ±ã£ã¦ãã¾ãï¼ã¯ã¦ãªããã¯ãã¼ã¯ - voodooã«é¢ããm-hiyama-taxonã®ããã¯ãã¼ã¯ãâ¦
æ¥ææ¥ï¼ä¸æ¨æ¥ï¼ãä¸æå±ã§æ¬¡ç·ï¼åå ï¼ã¨ã«ã¬ã¼*1ãé£ã¹ã¦ãããè¿ãã®ãã¼ãã«ã§ãäºå代å¾åã¨ãã¼ãã女æ§äºäººã大声ã§ããã¹ã£ã¦ããã声ã大ããã®ã¯ã¾ã¼ããã¨ãããããããã®è©±ã®å 容ã ⦠⦠ãã¼ããªãã¨ããããã¾ã¼ãããããã«åç©ã®æ»éª¸ã®è©±ãªâ¦
æªå±±ç´è± -- ããã¯ãç°èã®ä¿ºãã¡ã®ç»é²åæ¨ãæ´å²ãç¥ããããªããåãçã¾ãã家ãä»ã¯ç´è±åç©é¤¨ã«ãªã£ã¦ããããè¡ã£ã¦ã¿ãªã
ã¡ã¬ãæ¥çã¯ãæãã¼ã«ã»ã¡ã¼ã«ã¼ã¨è£ã§çµè¨ãã¦ãæã æ¶è²»è ã«ãµããªããã«çã¡ãã»ã¼ã¸ãéãã¤ãã¦ãã -- ãªãã¦äºå®ããããã¨ã¯ã¾ã£ãã確èªããã¦ãã¾ãããã§ãããã¢ãµã極æ¨ã®CMãè¦ã¦ãã¨ãåã¯ãæ°ããã¡ã¬ãè²·ããã¨ããã®ãããã¦ããæ°åã«â¦
11æã«å ¥ãã¨è¡ã¯ã¯ãªã¹ãã¹ä¸è²ãã£ã¦ãããããªã¼ãã¿ã¤ã åãéãã ããããããã¯ã¨ãããã表é¡ã®ãå½¼ãã¯ã¦ãã®é·ç·ã§ããå°å¦çããããä½å¦å¹´ã¨ã¯å¼ã¹ãªãå¹´é½¢ã§ãããä»å¹´ããµã³ã¿ããã®ãã¬ã¼ã³ãã楽ãã¿ã«ãã¦ã¾ããã¦ãã®é·ç·ãã5æ³ãããã®ã¨â¦
ãã20ã»ã©åºã¦ããã®ã§ãããã©ããããï¼
æè¿ã®è¨ãã¾ã¤ããï¼ å ï¼ãã³ã³ãã¹ âã³ãã³ãã¹ å¼ï¼ã¢ã¤ãã㪠âé¨å®¿ã
åã¯ãã¯ã¦ãªãã¤ã¢ãªã¼ææãªãã·ã§ã³ä»ãã¦ããã®ã§ããããã®æ©è½ããµãããªä½¿ã£ã¦ãªããã©ãã§ãã¢ã¯ã»ã¹è§£æã«ãã¡ã¤ã³åã®éè¨ãããã®ã§ããããåãã¦çºãã¦è¦ã¾ããããã¾ãã«ãæå¤æ§ããªãã®ã§ã¬ãã«ãªã2006å¹´ï¼ç¾å¨ã¾ã§ã®ï¼ã¢ã¯ã»ã¹ç·è¨ãããâ¦
ã¯ã¼ã¤ãå®çµã ãã·ãªã¼ãºãã¡ããã¨å®çµãããªãã¦ãæ» å¤ã«ãªãããåã¯ãååã®æå¾ï¼ä¸é¨çç¥ã»ç縮ï¼ï¼ è«çã®å®ç¾©ã¨ãã¦éå ä½ç¨ç´ ã使ãå®ç¾©ãããã¾ããããã«ã¤ãã¦èª¬æããããç¥ãã¾ãããã¹ãã©ã¹ãã¼ã¬ã¼ã®æå³ã¨ãã¦ã¯ãè«çããã¬é åºã¨èããâ¦