• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            S.l.e!ep.¢%

            像打了激速一樣,以四倍的速度運轉,開心的工作
            簡單、開放、平等的公司文化;尊重個性、自由與個人價值;
            posts - 1098, comments - 335, trackbacks - 0, articles - 1
              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            LPeg

            Posted on 2014-11-03 22:08 S.l.e!ep.¢% 閱讀(747) 評論(0)  編輯 收藏 引用 所屬分類: Lua

            Introduction

            LPeg ?is a new pattern-matching library for Lua, based on?Parsing Expression Grammars?(PEGs). This text is a reference manual for the library. For a more formal treatment of LPeg, as well as some discussion about its implementation, see?A Text Pattern-Matching Tool based on Parsing Expression Grammars. (You may also be interested in my?talk about LPeg?given at the III Lua Workshop.)

            LPeg是一個為Lua所使用的新的模式匹配庫,基于解析表達式語法(PEGs).

            本文作為此庫的參考手冊.


            Following the Snobol tradition, LPeg defines patterns as first-class objects. That is, patterns are regular Lua values (represented by userdata). The library offers several functions to create and compose patterns. With the use of metamethods, several of these functions are provided as infix or prefix operators. On the one hand, the result is usually much more verbose than the typical encoding of patterns using the so called regular expressions (which typically are not regular expressions in the formal sense). On the other hand, first-class patterns allow much better documentation (as it is easy to comment the code, to break complex definitions in smaller parts, etc.) and are extensible, as we can define new functions to create and compose patterns.

            Snobol(百科全書) 傳統(tǒng), LPeg定義模式為第一類對象,也就是說.

            欧美久久一级内射wwwwww.| 亚洲级αV无码毛片久久精品| 国产视频久久| 久久久亚洲欧洲日产国码是AV| 精品国产一区二区三区久久久狼| 99久久国产亚洲高清观看2024 | 草草久久久无码国产专区| 久久天天婷婷五月俺也去| AV色综合久久天堂AV色综合在| 久久夜色精品国产亚洲av| 久久超碰97人人做人人爱| 久久久久久极精品久久久| jizzjizz国产精品久久| 精品国产青草久久久久福利| 国产精品免费久久| 久久精品国产亚洲AV无码娇色 | 久久久无码精品亚洲日韩蜜臀浪潮| 久久久国产精品网站| 午夜人妻久久久久久久久| 尹人香蕉久久99天天拍| 久久成人精品| 亚洲欧美精品伊人久久| 97久久香蕉国产线看观看| 亚洲va久久久久| 午夜视频久久久久一区 | 免费精品久久天干天干| 久久免费视频一区| 久久久久国产精品三级网| 久久九九全国免费| 秋霞久久国产精品电影院| 69国产成人综合久久精品| 久久婷婷五月综合97色一本一本| 囯产精品久久久久久久久蜜桃| 欧美激情精品久久久久久| 久久久久香蕉视频| 久久精品国产精品亚洲人人| 97久久精品人人澡人人爽| 一本久久a久久精品综合夜夜| 久久青青草原国产精品免费| 91精品婷婷国产综合久久 | 中文字幕无码精品亚洲资源网久久|