lua-users home
lua-l archive

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


Bruce Dodson:
> I'm interested in learning how Lua works internally (I mean down at the
> lparser / lopcode / lvm level) but find that, at this level, I'm foiled by
> the lack of comments in the source code.

I concure.

I think commenting the source code (or a separate internals document) would
be a worthy project for anyone who is interested.

I also think the source code should have easy visually markers for finding
functions. In my own code, for example, I use the following:

/****************/
/**** func() ****/
/****************/

int func()
{
return 0;
}

*cheers*
Peter Hill.