Re: Is Lua used as a data representation language?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Is Lua used as a data representation language?
- From: steve donovan <steve.j.donovan@...>
- Date: 2013年1月10日 08:45:41 +0200
On Thu, Jan 10, 2013 at 5:05 AM, Eric Wing <ewmailing@gmail.com> wrote:
> Just a thought and I don't actually know the answer (haven't done this
> myself). Doesn't LPeg + Leg have the capability to read Lua tables
> from Lua source code avoiding the untrusted execution problem
> (parsing)
Sure, there are already LPeg parsers for the full Lua grammar; it
would be an afternoon exercise to do LTIN for someone familiar with
LPeg, and it would be very fast.