LUA resources

Started by Audionut, January 26, 2016, 02:38:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Audionut

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
Quote from: dmilligan on January 24, 2016, 08:05:11 PM
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

Quote from: Audionut on January 26, 2016, 02:38:17 AM
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).