[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: Long-term LPeg memoisation
From: Nagaev Boris <bnagaev () gmail ! com>
Date: 2015-05-24 8:59:46
Message-ID: CAFC_Vt4gbU5NvDZMATaAk=rQYBiF-yWSj-+4f_GwGVuJffJsWw () mail ! gmail ! com
[Download RAW message or body]
On Sat, May 23, 2015 at 12:28 PM, Александр Машин <alex.mashin@gmail.com> wrote:
> Dear ALL,
>
> is it possible to save a compiled LPeg grammar or pattern to file or
> database and then to load it thence by means of pure Lua?
>
> Effectively it means whether I can cast userdata to string and string to
> userdata correctly.
>
> Alexander Mashin.
>
LPegLJ is LPeg version 0.12 Parser in pure LuaJIT. It supports saving
and loading patterns.
https://github.com/sacek/LPegLJ
--
Best regards,
Boris Nagaev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic