lua-users home
lua-l archive

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


2011/11/15 Jimmie Houchin <jlhouchin@gmail.com>:

>>> Smalltalk is different from all of the languages mentioned. All code is
>>> loaded into a running system. Code is updated, edited, modified live.

> Lua with a live system and rich environment would be awesome. Bridge the gap
> between the image based world and the file based one. But always with Lua
> having a small kernel and embeddability as a foundation.

If you mean that your Lua program looks something like this:

   while true do
        perform()
        end

and you want some interrupt handler to change 'perform()' to 'play()'
while it is running, you're asking for a major change.

But what can you do that way that you could not also achieve by
assigning another function to the global variable called 'perform'?

Dirk