lua-users home
lua-l archive

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


> But the ^D, enter, ^Z issue remains (this isn't fatal, but for a language its nice 
> for the environment to know when a fatal error has occurred.)

Ok, sorry to cry wolf two times in a row.  It turns out this is a compile time stack 
size issue.  I cranked it up to 64K and this problem went away.

I've been playing with the language a little (wrote a test program which created a 
table with nested tables, then recusrively and dynamically printed it out by 
inspecting the type of each table entry -- this language is cool) and so far I am 
impressed.

One of the reasons I'm looking at Lua right now is that it seems to be a language as 
pure and simple as LISP (only one powerful abstract data type from which all other 
data types must be derived) however according to the article here: 
http://www.paulgraham.com/paulgraham/avg.html the author claims that main power of 
LISP over other languages is its "macro" ability (rewrite code at run time.)

Does lua have a similar capability?  I.e., can you "coerce" a table into a chunk?  I 
am guessing the answer is no, given that code input is in standard C strings rather 
than LUA strings.  Do you think this would be worthwhile feature to have?


--
Paul Hsieh
qed@pobox.com