Lua Book

Cameron Laird claird at lairds.com
Tue Mar 2 12:24:30 EST 2004


In article <mailman.28.1078240405.12614.python-list at python.org>,
Pete Shinners  <pete at shinners.org> wrote:
>Cameron Laird wrote:
>> Incidentally, have you heard the news about Lua?  Look at
>> <URL: http://www.inf.puc-rio.br/~roberto/book/ >.
>
>I have no experience with Lua, but some of the code examples from the book 
>may frighten me away for good.
>
>http://www.inf.puc-rio.br/~roberto/book/code/allwords.lua.html
>
>
>
>I suppose Python's recent introduction of generators makes this rather trivial.
>
>def allwords():
>     for line in sys.stdin:
>         for word in line.split():
>             yield word
>
>for word in allwords():
>     print word
>
>
>

Provocative comparison; perhaps Roberto will even join in
and comment here.  In any case, there's still a place for
Lua, and I think there's value in the discussion of Lua
that comp.lang.python has already hosted.
-- 

Cameron Laird <claird at phaseit.net>
Business:  http://www.Phaseit.net



More information about the Python-list mailing list