4 ms·
Don't mean to hijack, but could I be referred to a good introduction to Lua? I keep hearing about it, but it's one of the few languages I know NOTHING about, an
by BasDirks 15y ago
Don't mean to hijack, but could I be referred to a good introduction to Lua? I keep hearing about it, but it's one of the few languages I know NOTHING about, and I have a free weekend!
- justincormack 15y agoThe reference manual is very well written http://www.lua.org/manual/ http://www.lua.org/manual/
- xolox 15y agoThe first edition of "Programming in Lua" is available for free online and might make for more interesting reading than the reference manual: http://www.lua.org/pil/ http://www.lua.org/pil/
- reginaldo 15y agoWhen I was getting started I bought the "Programming in Lua"[1] ebook, by the author of Lua himself. There's an older edition available for free online[2]. Then there's of course the lua users wiki and its "Learning Lua" section[3]. I find the wiki a little hard to navigate so I just went ahead and bought the book. IMHO the gems in Chapter 10 (Complete Examples) and the clear explanation of coroutines are alone worth the price. The rest is a very nice bonus too. [1] http://store.feistyduck.com/products/programming-in-lua http://store.feistyduck.com/products/programming-in-lua [2] http://www.lua.org/pil/ http://www.lua.org/pil/ [3] http://lua-users.org/wiki/LearningLua http://lua-users.org/wiki/LearningLua
- BasDirks 15y agoThank you (and all other commenters) kindly. I purchased the book.
- huyegn 15y agoIf you liked Kernighan and Ritchie's "The C Programming Language", then you'll love "Programming In Lua". The first edition is available online here: http://www.lua.org/pil/ http://www.lua.org/pil/ Like K&R, it's style is colloquially terse, yet each sentence is chock full of information. It's a great book for someone who's already coming from another language like Python. If you're into graphics programming, then http://love2d.org/ http://love2d.org/ would be the perfect vehicle for you to get into Lua while you read PIL.
- swah 15y agohttp://www.lua.org/pil/1.html http://www.lua.org/pil/1.html
- randrews 15y agoThis isn't a language introduction, but after you learn it, I've written a bunch of posts at http://playwithlua.com http://playwithlua.com, all about weekend-sized hacks in Lua.
- meric 15y agohttp://love2d.org/ http://love2d.org/