lua-users home
lua-l archive

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

> I know the struct FuncState is important for parsing. But I don't
> understand clearly the expression parsing  and assignment parsing. I'm
> stumbled especially by the member 'freereg' and 'nactvar' of
> FuncState.
> Would you explain the detailed information of 'freereg' and 'nactvar'?

Basically the do what is in the comments: freereg is the first
free register (not in use); nactvar is the number of active local
variables. Can you be more specific about what you do not understand?

-- Roberto