[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] llvm-lua 1.0
- From: Alexander Gladysh <agladysh@...>
- Date: Mon, 8 Jun 2009 20:48:38 +0400
On Fri, Jun 5, 2009 at 9:12 AM, Mark Hamburg<mark@grubmah.com> wrote:
> The only standard routines I've had cause to monkey patch are
> coroutine.yield and coroutine.resume. This was done so that one could yield
> back to the scheduler while still using coroutines as coroutines by passing
> an extra token back in the actual yield/resume interaction.
In our engine we're overloading ("monkey patching"):
print -- prints to log instead of console.
dofile, loadfile -- caches loaded code in the engine internals
math.random -- with implementation from lrandom
Alexander.