â [ruby] Rubyç¨ã®PEGãã¼ãµParslet via @frsyuki http://kschiess.github.com/parslet/index.html Rubyç¨ã®PEGãã¼ãµã«ã¯æ¢ã«Treetopããããã©ãã¨ã©ã¼è¡¨ç¤ºãæ¹åããã¦ããããããã ã Treetopã¯ç¬èªã®ææ³ã ã£ããã©ãParsletã¯Rubyã®å é¨DSLã«ãªã£ã¦ããã ã¾ããTreetopã¯ææ³ã¨åãã¨ããã«ã¢ã¯ã·ã§ã³ãæ¸ãããã©ãParsletã¯ãParserãã¨ãTransformerããå¥ã ã«å®ç¾©ãã¦çµã¿åãããã¨ããAPIã«ãªã£ã¦ããã ãã¥ã¼ããªã¢ã«ãè¦ãã°é°å²æ°ã¯ã ãããåããã¨æãã ã¨ããããé»å(足ãç®ã ãã ãã©)ã Parserã¯æ§ææ¨ãHashã¨ãã¦è¿ãã"1"@0ã¿ãããªã®ã¯Parslet::Sliceã®ã¤ã³ã¹ã¿ã³ã¹ã§ã0è¡ç®ã«ãã"1"ã¨ããæååã表ãã¦ããã.as(:
{{#tags}}- {{label}}
{{/tags}}