lua-users home
lua-l archive

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

>dostring runs a chunk. Chunks run in the global level. It'd be hard to have
>them run in a local scope. Why do you want to do this?

One of the reasons that I would like to see dostring execute at the 'local' 
level is during debugging. It would be very useful to able to execute 
some arbitary lua code in a string in the current scope accessing 
and modifying locals. This is the model suggested by the ActiveScript
debugging APIs.