[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Proposal] Allow yields through string.gsub
- From: "Soni L." <fakedme@...>
- Date: Wed, 6 Apr 2016 15:52:55 -0300
On 06/04/16 02:41 PM, Sean Conner wrote:
Well, I need to be able to integrate with the event system somehow. That
It was thus said that the Great Dirk Laurie once stated:
2016-04-06 18:41 GMT+02:00 Soni L. <firstname.lastname@example.org>:
1. Let coroutines be used for fast dynamic substitution, something we
currently can't do.
Can't we do it with lpeg?
I'm not sure about the "dynamic" bit, but the issue with LPeg is that once
it starts running, it can't be interrupted (at least, from within Lua---it
can certainly be interrupted by some external source) and from what I can
see, Soni wants the ability to yield arbitrarily.
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.