[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Circular header dependency between ltm.h and lstate.h
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 29 Jul 2023 14:13:05 -0300
> 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