åæ Documentation version: $Header: /cvs/projects/PLY/doc/ply.html,v 1.3 2004/05/27 17:30:56 beazley Exp $ PLY Version: 1.5 ç®æ¬¡ Introduction PLYæ¦è¦ Lexã®ä¾ Lexå®è£ ãã¼ã åºæ¬çãªãã¼ã¸ã³ã° yaccã®ä¾ ææ³è¦åé¢æ°ã®çµå 空çæè¦å ææ§ææ³ãæ±ã parser.out ãã¡ã¤ã«ã«ã¤ã㦠æ§æã¨ã©ã¼ã®å¦ç è¡çªå·ã®è¿½è·¡ ASTã®æ§ç¯ Yacc å®è£ ãã¼ã ãã¼ãµã¨Lexer State Management Pythonã®æé©åã¢ã¼ãã使ç¨ãã 次ã«ãã¹ãã㨠Introduction PLYã¯ããã¥ã©ã¼ãªã³ã³ãã¤ã©æ§ç¯ãã¼ã«ã§ããlexã¨yaccã®ãã¥ã¢Pythonå®è£ ã§ããããã®å®è£ ã¯ãå 人ã®
PowerDNS BV (bert hubert <bert@powerdns.com>) v0.8 $Date: 2002/07/22 14:02:09 $ 大西 大樹 (daiki onishi <[email protected]>) v0.8j 2003/02/08 æ¬ããã¥ã¡ã³ã㯠Lex 㨠YACC ã®åºæ¬çãªä½¿ãæ¹ã«ã¤ãã¦è¨è¿°ãã¾ã 1. ã¤ã³ãããã¯ã·ã§ã³ 1.1 æ¬ããã¥ã¡ã³ãã«å«ã¾ããªããã® 1.2 ãã¦ã³ãã¼ã 1.3 ã©ã¤ã»ã³ã¹ã«ã¤ã㦠2. Lex 㨠YACC ã§ã§ããã㨠2.1 ããããã®ããã°ã©ã ã®ãã£ã¦ããã㨠3. Lex 3.1 æ£è¦è¡¨ç¾ã§ã®ããã 3.2 C ã®ãããªã·ã³ã¿ãã¯ã¹ããã¤ããå°ãé«åº¦ãªä¾ 3.3 ãããã 4. YACC 4.1 åç´ãªæ¸©åº¦èª¿ç¯å¨ 4.2 å¼æ°ãæ±ããããã«æ¡å¼µããã温度調ç¯å¨ 4.3 è¨å®ãã¡ã¤ã«ã®æ§æ解æ
åå¥ã¹ãã£ãçæããã°ã©ã Flex 2.3.7ã1.03ç 1993å¹´2æ G. T. Nicol è åº ããã°ã©ã ã®å®ä¾ã«ã¤ã㦠Flexå ¥é åé¡è§£æ±ºæ段ã¨ãã¦ã®Flex ä¸è¬çãªããã°ã©ãã³ã°ã»ãã¼ã«ã¨ãã¦ã®Flex Flexã®èµ·å ã³ãã³ãã©ã¤ã³ã»ãªãã·ã§ã³ ã³ãã³ãã©ã¤ã³ã»ãªãã·ã§ã³ï¼Flex 2.5ã®è£è¶³æ å ±ï¼ Flexè¨è¿°è¨èª ã³ã¡ã³ã ãªãã·ã§ã³ã®Cã³ã¼ã å®ç¾© %% ã«ã¼ã« ãã¿ã¼ã³ã»ã»ã¯ã·ã§ã³ æå Flexã«ãããæåå Flexã«ãããæåã®ã°ã«ã¼ãå Flexã«ãããæåã®ã°ã«ã¼ãåï¼Flex 2.5ã®è£è¶³æ å ±ï¼ æ£è¦è¡¨ç¾ ã¹ã¿ã¼ãç¶æ ã¹ã¿ã¼ãç¶æ ã®èª¬æ ç¶æ ã®æ´»æ§å ã¹ã¿ã¼ãç¶æ ã«é¢ãã注 ã¹ã¿ã¼ãç¶æ ã«é¢ãã注ï¼Flex 2.5ã®è£è¶³æ å ±ï¼ ã¹ã¿ã¼ãç¶æ ã®ä½¿ç¨ä¾ %optionï¼Flex 2.5ã®è£è¶³æ å ±ï¼ Flexã¨ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ Flexã¨C F
é»åã欲ãã! PCã§ææ¸ä½æã¨ããã¦ãã¦ãã¡ãã£ã¨é»åã使ããããªããã¨ã¯ã ã¡ããã¡ããããã¾ãã Windowsãªããã¹ã¿ã¼ãã¡ãã¥ã¼ããGUIãã¼ã¹ã®é»åãèµ·åã§ãã¾ããã ç«æ´¾ãªãã¼ãã¼ããä»ãã¦ãPCã§ã ãã¦ã¹ã§ä¸ææ¸å½ãã¿ã³ãã¯ãªãã¯ããã®ãªãã¦ã å·éã«èããã¨ãªãããã«ã§ãã ãã¡ãããã®é»åã§ããã¼ãã¼ãããå ¥åãããã¨ã¯åºæ¥ã¾ããã æ¼ç®åã®åªå é ä½ã¯è¦ã¦ããã¾ããããæ¬å¼§ã使ã£ãè¨ç®ãã§ãã¾ããã ããã«ãä¸è¬ã«ãé»åã§ä½ååãã®æ°å¤ã足ãå ´åãªã©ã¯ã ããããå ¥åãã¹ãã¦ãªãããªããã¨éä¸ã§ä¸å®ã«ãªããã®ã§ãã ã¾ããéä¸ã§å ¥åãã¹ã«æ°ä»ããå ´åã æå¾ã®å ¥åã ãã¯ãªã¢ãã¦å ¥ãç´ããã¨ã¯ä¸å¿åºæ¥ããããªãã§ããã ã©ãã¾ã§ã©ãã¯ãªã¢ããã¦ãã®ãããããããªãã¦ã çµå±æåããå ¥ãç´ããããã¦ã¾ãã? ç§ã¯(ããã°ã©ãã®çã«)æ©æ¢°ãªã³ããªã®ã§ãããæåããå ¥ãç´ã
yacc/lexã¨ã¯ Cã§ããã°ã©ãã³ã°è¨èªã®å¦çç³»ãå®è£ ããã®ã§ããã°ã å¤ãã®å ´åãyaccã¨lexã¨ãããã¼ã«ã使ãã¾ãã å®ã®ã¨ãããCã¨yacc/lexã§ç°¡åãªããã°ã©ãã³ã°è¨èªãä½ããã¨ããã®ã¯ã 以åããCè¨èªã¨ã¿è©± ãã§æ¸ããã é»åãä½ã£ã¦ã¿ããã ã®ç¼ãç´ãã«ãªãã¾ããyaccã¨lexã®èª¬æããã¡ãã«ç°¡åã«æ¸ããã®ã§ã ãã¡ããè¦ã¦ãã ããââã¨è¨ãããã¨ããã§ããã ã¾ãããã§ã軽ã説æãã¾ãã å 容çã«ã¯éè¤ãã¨ãããã³ãããã¦ããé¨åãããã¾ããã ããã°ã©ãã³ã°è¨èªã®å¦çç³»ã¯ãé常ã以ä¸ã®ãããªæé ãåãã¾ãã åå¥è§£æ ã½ã¼ã¹ããã°ã©ã ãããåå¥(ãã¼ã¯ã³)ãã®ä¸¦ã³ã«åå²ããå¦çã§ãã æ§æ解æ ãã¼ã¯ã³ã®ä¸¦ã³ããã解ææ¨ãæ§ç¯ããå¦çã§ãã ãã®å¾ãCãªã©ã®æ©æ¢°èªãåãã³ã³ãã¤ã©ã Javaã®ãããªãã¤ãã³ã¼ããåãã³ã³ãã¤ã©ãªãã ãã³ã¼ãçæãã¨ããå¦ç
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}