lua-users home
lua-l archive

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


>Roberto Ierusalimschy wrote:
>> This is what "stringdump" does. The "string" in the name is supposed to
>> mean that the result is a string (and not a file, for instance). But
>> we plan to change that name (maybe "dumptostring"?)
>
>Why not simply use compile()? That name seems to fit the bill quite
>well.

Because "compile" gives the wrong impression. Functions in Lua are always
compiled to bytecode when they are defined.
--lhf