lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2013/8/22 marbux <marbux@gmail.com>:
> On Wed, Aug 21, 2013 at 1:31 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>> It actually took less than 10 minutes, LPeg not required.
>
> Looks like a useful concept. Do you plan to publish the code?

I did not plan to, it is so trivial.

However, the version I made is not robust against nested annotations.
It does a simple gsub on the patterns in a predetermined order. I'm
working on a more sophisticated version, which does use LPeg, and
promises to take several hours. That version will be published on
GitHub as soon as the alpha version has passed a test or two.