[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Ref manual; lua_State documentation
- From: Coda Highland <chighland@...>
- Date: Fri, 11 May 2012 13:59:40 -0500
On Fri, May 11, 2012 at 1:42 PM, liam mail <email@example.com> wrote:
> On 11 May 2012 19:25, Coda Highland <firstname.lastname@example.org> wrote:
>> It may be opaque but there's still a relationship between them that
>> needs documented.
> But "The reference manual is the official definition of the Lua
> language." and this is an implementation detail.
>  http://www.lua.org/manual/5.1/
>  http://www.lua.org/manual/5.2/
Coroutines are a documented function and the relationship between
coroutines is well-defined. As such, while the WAY two lua_States
implement their information sharing is an implementation detail, the
FACT that they share information is not. As such, it should be
documented that two distinct lua_States can share global data and that
coroutines are an example of how this might happen.