Beginning Lua Programming
Lua offers a wide range of features that you can utilize to support and enhance your applications. With this book as your guide, you'll gain a thorough understanding of all aspects of programming with this powerful language. It will walk you through the basics, covering everything from installing Lua on your system to developing games and web sites.Experts Jung and Brown first present the fundamentals of programming and explain standard Lua functions. They then show you how to take advantage of all of the free Lua community resources that are available. Complete code samples are integrated throughout the chapters to clearly demonstrate how to apply the information. Diagrams are also included to highlight important Lua features such as stacks, hash tables, garbage collection, and function closures. All of this will help you to quickly write your own effective programs.What you will learn from this bookWays to extend Lua's operators with metamethodsMethods on how to use tables, strings, and modulesHow to handle events naturally with coroutinesTechniques for managing information with databasesTips for handling and avoiding programming errorsWays to create your own innovative gamesHow to enhance application development using packages contributed by the Lua communitySteps for presenting dynamic information on your web siteWho this book is forThis book is for beginning programmers, game developers, and web site developers who are interested in a simple yet powerful introduction to programming.Wrox Beginning guidesare crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.