Skip to content

Your Basket

Free Post & Packing - Click for details

Receive the Foyles Newsletter

  • › Author Events
  • › Signings
  • › New Arrivals
  • › Offers
Newsletter sign up form
British Book Awards banner

Browse

[x]

This item has been added to your basket

View Basket

Beginning Lua Programming

Contributor(s):
Kurt Jung (author) Aaron Brown (author)
Format:
Paperback , 233 x 187 x 36mm , 644pp
Publication date:
09 Feb 2007 
Publisher:
John Wiley & Sons Ltd 
ISBN-13:
9780470069172 
ISBN-10:
0470069171 

List Price: £26.99
Online Price: £22.94
You Save: £4.05 (15%)

Buy Now

1 in stock at Charing Cross Road available for collection after 24 hours.

Free Postage and Packing on UK orders

For details of Foyles prices online and in-store and delivery arrangements click here *


Synopsis:

Lua offers a wide range of features that you can use 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. The authors present the fundamentals of programming, explain standard Lua functions, and explain how to take advantage of free Lua community resources. Complete code samples are integrated throughout the chapters to clearly demonstrate how to apply the information so that you can quickly write your own programs.

Author Biography:


Between his first programs submitted to a Burroughs 5500 on Hollerith punch cards and his latest programs tapped into a Palm Pilot, Kurt Jung has been the principal programmer on various projects ranging from airline yield management to state machine-driven workflow. Aaron Brown began programming in elementary school on a Commodore 64. He plays various musical instruments and speaks Esperanto.

Table of Contents:

Acknowledgments.introduction.chapter 1, Getting Situated.choosing How to Install Lua.finding Your System's Shell.dealing With Tarballs and Zip Files.compiling Lua.binary Packages.additional Tools.chapter 2, First Steps.numbers and Arithmetic Operations, Basic Interpreter Usage.interpreter Know-how.numerical Gotchas.variables and Assignment.strings.relational Operators and Boolean Values.the nil Value.boolean Operators.the Concatenation, Length, and Modulo Operators.automatic Conversion of Operands.precedence and Associativity.variables and Values.comments.expressions and Statements.compound Statements.chapter 3, Extending Lua With Functions.return Values.chunks as Functions.variable Scope.understanding Side Effects.functions Calling Functions.functions as Values.whitespace, Semicolons, and Function Calls.upvalues and Closures.chapter 4, Working With Tables.tables Introduced.a Shorter Way to Write Some Keys.altering a Table's Contents.tables as Arrays.array Length.looping Through Tables.tables of Functions.functions With Variable Numbers of Arguments.keyword Arguments.different but The Same.building Other Data Structures From Tables.custom-made Loops.global Variable Environments.chapter 5, Using Strings.basic String Conversion Functionsstring Length.converting Between Characters and Character Codes.formatting Strings and Numbers With String.format.input/output.pattern-matching.chapter 6, Handling and Avoiding Errors.kinds of Errors.handling Errors.locating Errors.chapter 7, Using Modules.interfaces and Implementations.the Require Function.where to Put Modules.preserving a Module's Interface.module Bookkeeping.bytecode.namespaces.the Module Function.c Modules.chapter 8, Extending Lua's Behavior With Metamethods.using Concatenation and Arithmetical Operators on Tables.relational Metamethods.indexing and Call Metamethods.non-tables With Metamethods.non-syntactical Metamethods.metamethod Applicability.chapter 9, Handling Events Naturally With Coroutines.coroutines and Program Control.managing Concurrent Tasks.retaining State.handling Events Simply.chapter 10, Looking Under The Hood.bytecode and Luac.garbage Collection.the Implementation of Tables and Strings.the Debug Library.chapter 11, Exploring Lua's Libraries.core Library.coroutine Library.package Library.string Library.table Library.math Library.input/output Library.operating System Library.debugging Library.chapter 12, Using Community Libraries.library Overview.how Lua Interacts With Libraries.the Pack Binary Structuring Library.the Curl File Transfer Library.the gd Graphics Library.the Sqlite Database Library.chapter 13, Interfacing Lua With Other Languages.how C Programs Use Lua.communicating Between Lua and C.calling Lua From C.working With Userdata.indexing Values in C.retaining Values in C.layering Your Extension Library.chapter 14, Managing Information With Databases.some Basic Relational Database Concepts.sql, Luasql, and Mysql.chapter 15, Programming for The Web.a Web Server Primer.dynamic Web Content.executing CGI Scripts.installing a Web Server.testing Your Web Server With Static Content.serving Dynamic Web Content.interactive CGI Applications.the Kepler Project.chapter 16, Connecting to a Larger World.installing Luasocket.network Overview.using Luasocket for Network Communication.handling Multiple Persistent Connections.the Application Protocols.networking With Lua and Streams.chapter 17, Programming Games With Lua.understanding Why and When to Use Lua.simple 2-D Action Game Using Sdl.chapter 18, Carrying Lua With You.getting Started With Plua.exploring Plua's Features.plua on The Mothership.programming With Plua.chapter 19, Fitting Into The Lua Community.the Lua Web Site.the Lua Reference Manual.framing Questions.the Lua Mailing List.the Lua Chat Room.forums.the Lua Wiki.luaforge.annual Workshops.appendix A, Answers.index.

Additional Information:

Illustrations: illustrations Related subjects: Lua (Computer program language) Programming languages

* Please Note:

Online: All orders placed here will be charged at the online price shown above whether you have the item delivered or you collect it.

Instore: Items purchased instore are at the price on offer there at that time.

Store Collection: If you are paying online but wish to collect from our Charing Cross Road store, please allow 24 hours between purchase and collection. Please go to Customer Services in the basement

Same-day: For same-day collections, please reserve the book directly with the store on 020 7437 5660 or email orders@foyles.co.uk. Please note the price charged will be the instore not online price.