lua-users home
lua-l archive

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


> Separately, I'm curious what the "do" stands for in "ldo.c".  I didn't
> see the abbreviation explained anywhere.  Can anyone explain what this
> means, please?

IIRC, it comes from 'dofile' and 'dostring', the original primitives
in Lua to run code, that later became 'loadfile' and 'loadstring' and
now is just 'load'. (The bulk of lua_load is done by
luaD_protectedparser, which still resides in ldo.c.)

-- Roberto