Exercises, examples and other material relating to training module U113. This topic is presented on public courses Learning to program in Lua
, Lua Programming
|Articles and tips on this subject||updated|
|4102||Installing Lua 5.2.2 on Mac OS X 10.7.4|
"Where's the C compiler" ... "How do I build for Mac?" ... Here's how I've just done the job on a newly set up system ...
1. Download and install XCode (the Mac OS Development environment) from the Apple Store. It's free of charge.
2. Install command line tools - within XCode select from menu bar
|1632||Lua - a powerful, up and coming scripting language|
Lua is a powerful, lightweight scripting language. It combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. It is ideal for configuration, scripting, and rapid prototyping. Lua has been used in many industrial applications, ...
|2461||Luac - getting lua to start fast by precompiling|
Luac is Lua's Compiler ... using "luac" you can turn your Lua program into a binary (executable) file. Covered on Installing Lua on our Lua Programming and Learning to program in Lua courses.
usage: luac [options] [filenames].
Available options are:
- process stdin
-o name ...
Examples from our training material
|inst|| Install procedure for LuaSocket|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
Sourcing and building Lua (Linux, OSX, Windows)
Garbage collection and implementations.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.