[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Long-term LPeg memoisation
- From: Nagaev Boris <bnagaev@...>
- Date: Sun, 24 May 2015 08:59:46 +0000
On Sat, May 23, 2015 at 12:28 PM, Александр Машин <firstname.lastname@example.org> 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.