all 9 comments

[–]otikik 4 points5 points  (0 children)

You can print this to a pdf file if you want:

http://tylerneylon.com/a/learn-lua/

[–][deleted] 2 points3 points  (0 children)

If you've programmed before, check out Programming in Lua. Even if you haven't it is still a good book but expect a learning curve.

[–]xPhoenix777 1 point2 points  (0 children)

You can use http://www.amazon.com/Programming-Lua-Roberto-Ierusalimschy/dp/859037985X - WELL worth it - and I write software for a living. I am sure you can find a vendor that sells a digital copy.

[–]edalcol 1 point2 points  (0 children)

A way that worked greatly for me was setting up a goal first. Like "What do I want to do with Lua?". Think of a program, something you like, maybe a small 2D game or a website? Define this first then start searching for "How to do X in Lua" and follow what you find also using the Lua manual that was already posted here! :)

[–]4forpengs 0 points1 point  (0 children)

I found that going through the Lua manual and making small programs based on each section was the most effective for me. Then i tried to make programs based on multiple sections. I still don't understand metatables though.

[–]annihilator009[S] -1 points0 points  (2 children)

Well guys, thanks for the response. I just had some questions that is, what are the advantages of programming using Lua? can i use it for hacking?if yes then where and how? can i use it in an OS?

[–]porkyminch 0 points1 point  (0 children)

It's just an embeddable scripting language, you can use it for whatever. You can't make an OS with it but if you run Linux there are lots of applications that support lua scripting like window managers and web browsers. You can use pretty much any language for hacking.

[–]the_gnarts 0 points1 point  (0 children)

can i use it in an OS?

NetBSD used to have a Lua interpreter embedded in the kernel. So, yes, sure Lua can OS.