Download Beginning Lua Programming (Programmer to Programmer) by Aaron Brown, Kurt Jung PDF

By Aaron Brown, Kurt Jung

This ebook is for college students and pros who're intrigued via the chance of studying and utilizing a robust language that gives a wealthy infrastructure for developing courses. No programming wisdom is critical to learn from this e-book apart from the part on Lua bindings, which calls for a few familiarity with the c program languageperiod. a definite convenience point with command-line operations, textual content modifying, and listing buildings is assumed.

Software builders who've event with services, strings, and associative arrays can skim Chapters 2 via five with the caveat that convinced Lua colloquialisms are brought there besides programming concepts.

Throughout the textual content, sections touching on a selected working procedure are in actual fact marked and will be skipped by means of readers engaged on a unique platform.

This publication is prepared to lead you thru the fundamentals of utilizing Lua. Its constitution is as follows:
* fitting Lua in your approach (Chapter 1)
* studying the basics of programming in Lua (Chapters 2 via 10)
* Reviewing typical Lua capabilities (Chapter 11)
* Exploring software improvement with Lua utilizing applications contributed by way of the group (Chapters 12 via 18)
* utilizing Lua's many neighborhood assets (Chapter 19)

Chapters 2 via 10 every one construct on strategies which are provided in its predecessors, so a sequential examining of this a part of the booklet is suggested. The precis of Lua's integrated libraries comprises examples that imagine you've a superb take hold of of the fabrics offered within the first 10 chapters.

Some of the libraries and strategies provided in Chapters 12 and thirteen are wanted within the closing chapters of the e-book. Chapters 14 via 19 are fairly self sustaining of each other and will be learn out of sequence.

You desire strangely little within the method of machine assets to profit and use Lua. This booklet makes a speciality of home windows and Unix-like (including Linux) platforms, yet any working approach that helps a command shell might be appropriate. You'll want a textual content editor to organize and shop Lua scripts.

If you opt to increase Lua with libraries written in a programming language like C, you'll want a compatible software program improvement package. a lot of those kits are freely on hand on the net yet, in contrast to Lua, they could eat prodigious quantities of disk house and memory.

Chapter 18 discusses utilizing Lua on a Palm Pilot. no matter if you don't personal or have entry to 1 of those units, this bankruptcy exhibits how one can simulate one at the significant computing device systems.

Show description

Read Online or Download Beginning Lua Programming (Programmer to Programmer) PDF

Best programming books

Game Programming Gems, Volume 2

Online game Programming gem stones 2, the second one quantity during this profitable sequence, encompasses a thoroughly new set of over 70 articles on different themes that may be utilized in your individual video game tasks. Written by way of online game programming specialists, every one contribution presents a hands-on technique to programming difficulties, or an artistic procedure for lowering programming time and redundancy.

Functional Programming, Glasgow 1990: Proceedings of the 1990 Glasgow Workshop on Functional Programming 13–15 August 1990, Ullapool, Scotland

This quantity comprises the papers provided on the third Glasgow Workshop on practical Programming which used to be held in Ullapool, Scotland, 13-15 August 1990. contributors of the useful programming teams on the universities of Glasgow and Stirling attended the workshop, including a small variety of invited members from different universities and undefined.

Programming Languages and Systems: 17th European Symposium on Programming, ESOP 2008, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2008, Budapest, Hungary, March 29-April 6, 2008. Proceedings

This publication constitutes the refereed complaints of the seventeenth ecu Symposium on Programming, ESOP 2008, held in Budapest, Hungary, in March/April 2008, as a part of ETAPS 2008, the ecu Joint meetings on concept and perform of software program. The 25 revised complete papers provided including the summary of 1 invited speak and instrument displays have been conscientiously reviewed and chosen from 104 submissions and handle basic matters within the specification, research, and implementation of programming languages and sytems.

Additional info for Beginning Lua Programming (Programmer to Programmer)

Sample text

You can also use the Windows search path mechanism. When a command is invoked that is not internal (such as dir or del) and is not qualified with path information, Windows examines the search path, looking for a matching executable. To see the current search path from the shell, execute this command: path In the following steps, you work with files and directories so you can use Windows Explorer if you like. Complete these steps to move the Lua executables to a directory that is included in the Windows search path: 1.

A revision control system enables you to do the following: ❑ Recover an earlier revision of a script ❑ Review the history of a script’s progress in the form of commit log entries ❑ Safely develop scripts from more than one machine ❑ Back up your work easily because only the repository needs to be backed up ❑ Create and merge multiple sets of files — known as branches — to distinguish between the installed and developmental versions of your scripts One advanced system, Monotone, uses distributed repositories with Lua as a scripting language.

21 Chapter 1: Getting Situated Revision Control System Organizing your Lua scripts in a directory or directory tree makes it easier to reuse code that you have written. It also simplifies your managing those scripts with a revision control system such as CVS or Subversion. A revision control system enables you to do the following: ❑ Recover an earlier revision of a script ❑ Review the history of a script’s progress in the form of commit log entries ❑ Safely develop scripts from more than one machine ❑ Back up your work easily because only the repository needs to be backed up ❑ Create and merge multiple sets of files — known as branches — to distinguish between the installed and developmental versions of your scripts One advanced system, Monotone, uses distributed repositories with Lua as a scripting language.

Download PDF sample

Rated 4.31 of 5 – based on 25 votes