This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Divide_By_0's profile picture

[LUA Noob] Needs something to start with.

Started by Divide_By_0, 12 March 2013 - 02:18 PM
Divide_By_0 #1
Posted 12 March 2013 - 03:18 PM
Hey Guys, Im Really new to this LUA Deal, where could i get a Learning Tutorial on ComputerCraft, I would Really like to get more into it, yet i have no Lua Experience.
I have a bit of Forth and java Experience however.
So anyone who has a GOOD Tutorial, that gives you coding teaching, and doesnt just say "Yay! Computrz!!! type edit startup and type stuffz an it whil wark!"
And yes i made the Grammatical Mistakes to show what i usually find :P/>
So thanks..
SuicidalSTDz #2
Posted 12 March 2013 - 03:29 PM
Read this, then head over to the Wiki for more CC related APIs.
Kingdaro #3
Posted 12 March 2013 - 03:36 PM
There are some nice tutorials on the CC Wiki.

http://computercraft.info/wiki/Tutorials
Bubba #4
Posted 12 March 2013 - 03:39 PM
Okay, well, I think your best bet is this for Lua, which is what you need to learn first. Once you've learned Lua, come back and check out this.
Dlcruz129 #5
Posted 12 March 2013 - 04:15 PM
My favorite Lua tutorial is the Lua PIL.

http://www.lua.org/pil/contents.html
theoriginalbit #6
Posted 12 March 2013 - 04:42 PM
Indeed. The PIL and the ComputerCraft wiki are 2 of the best resources for learning.

Also after an understanding gas been started, reading other people's code (well good programmers code) is another fantastic resource for learning. Reading a newbies program can sometimes have the opposite effect, so only stick to the advanced programmers.
ChunLing #7
Posted 12 March 2013 - 06:22 PM
It can be useful to use the demo page while your working through the first few chapters of Programming in Lua.