• <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.¢%

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

            LPeg

            Posted on 2014-11-03 22:08 S.l.e!ep.¢% 閱讀(752) 評論(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是一個(gè)為Lua所使用的新的模式匹配庫,基于解析表達(dá)式語法(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定義模式為第一類對象,也就是說.

            国产亚洲精久久久久久无码77777 国产亚洲精品久久久久秋霞 | 久久人人爽人人爽人人片AV高清| 久久中文字幕视频、最近更新| 久久婷婷是五月综合色狠狠| 久久精品国产99久久久| 国产精久久一区二区三区| 无码八A片人妻少妇久久| 国产999精品久久久久久| 一级a性色生活片久久无少妇一级婬片免费放 | 欧美精品九九99久久在观看| 精品无码久久久久久午夜| 中文字幕久久亚洲一区| 69久久夜色精品国产69| 久久婷婷五月综合色高清| 亚洲中文字幕伊人久久无码| 久久91精品久久91综合| 99久久99久久久精品齐齐| 日本精品一区二区久久久| 91精品国产91热久久久久福利| 91精品国产综合久久婷婷| 欧美久久久久久| 久久久久九国产精品| 久久精品夜色噜噜亚洲A∨ | 久久艹国产| 日本精品一区二区久久久| 国产成人精品久久亚洲高清不卡| 精品无码久久久久久午夜| 熟妇人妻久久中文字幕| 少妇久久久久久被弄高潮| 一级A毛片免费观看久久精品| 精品久久综合1区2区3区激情| 大香网伊人久久综合网2020| 国产一区二区三区久久精品| 久久精品无码专区免费青青| 欧美黑人又粗又大久久久| 亚洲国产精品久久电影欧美| 久久久一本精品99久久精品88| 97精品依人久久久大香线蕉97 | 麻豆AV一区二区三区久久| 久久国产精品99精品国产| 精品久久久久中文字幕日本 |