Author Topic: LUA resources  (Read 3105 times)

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3565
  • Blunt and to the point
LUA resources
« on: January 26, 2016, 02:38:17 AM »
Sticking this here as a reminder.  Feel free to throw info at this thread and I'll make it look pretty as time permits.


Quote from: Original Post
There are also countless programming resources online. You might consider learning some basics in an easier environment, something with a nice IDE, syntax highlighting, debugger, auto-complete, etc.

Do you or others have some suggestions?

I'll try and compile a useful sticky thread, and suggest to the powers that be that we retire everything picoC related and relegate Scrips Writing to LUA.

dmilligan

  • Developer
  • Hero Member
  • *****
  • Posts: 3217
  • 60Da / 1100D / EOSM
Re: Re: Questions about Lua scripting
« Reply #1 on: January 26, 2016, 04:41:36 PM »
Do you or others have some suggestions?
https://code.org/
https://www.google.com/?q=learn+to+code
Lua Specific:
http://www.lua.org/pil/contents.html

You can install a generic command line Lua compiler/interpreter to run Lua scripts on your computer (look here) or use the live interpreter (of course you won't be able to use the ML API with these, just generic libraries, but this is fine for starting out learning).

You can use the command line Lua compiler to make sure your scripts are free of syntax errors before loading them on the camera (which might save you some time), or alternatively use an IDE that supports syntax/error highlighting like: LDT (which also has a debugger built in).