lua-users home
lua-l archive

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


On 3/16/14, Sean Conner <sean@conman.org> wrote:
> It was thus said that the Great Tim Hill once stated:
>
>   I tend to use the notation used in Forth [1]:
>
> 	lua_pushnil(L);			/* ( -- X )	*/
> 	lua_pushstring(L,"xxx");	/* ( X -- X s ) */
> 	/* etc ... */
>
>   The notation is:
>
> 	( pre-statement stack -- post-statement stack )
>

After doing the same for a while I found out that
I only need to include the post-statement stack in my comment.
The pre-statement stack is the post-statement stack of the previous line.

--Leo--