Poised Solutions Library

Poised Solutions Tech Library

book review
programming in lua

Poised Solutions

Programming in Lua Book Review

General

Coding

IT Library

Programming in Lua

Programming in Lua

Amazon UKAmazon USA
Programming in Lua
Author:
Roberto Ierusalimschy
Publisher:
Lua.org
Published:
2006
Pages:
307

Programming in Lua


Programming in Lua Chapters

Programming in Lua Chapters
  1. Getting Started
    • Chunks
    • Some Lexical Conventions
    • Global Variables
    • The Stand-Alone Interpreter
  2. Types and Values
    • Nil
    • Booleans
    • Numbers
    • Strings
    • Tables
    • Functions
    • Userdata and Threads
  3. Expressions
    • Arithmetic Operators
    • Relational Operators
    • Logical Operators
    • Concatenation
    • Precedence
    • Table Constructors
  4. Statements
    • Assignment
    • Local Variables and Blocks
    • Control Structures
    • break and return
  5. Functions
    • Multiple Results
    • Variable Number of Arguments
    • Named Arguments
  6. More About Functions
    • Closures
    • Non-Global Functions
    • Proper Tail Calls
  7. Iterators and the Generic for
    • Iterators and Closures
    • The Semantics of the Generic for
    • Stateless Iterators
    • Iterators with Complex State
    • True Iterators
  8. Compilation, Execution and Errors
    • Compilation
    • C Code
    • Errors
    • Error Handling and Exceptions
    • Error Messages and Tracebacks
  9. Coroutines
    • Coroutine Basics
    • Pipes and Filters
    • Coroutines as Iterators
    • Non-Preemptive Multithreading
  10. Complete Examples
    • Data Description
    • Markov Chain Algorithm
  11. Data Structures
    • Arrays
    • Matrices and Multi-Dimensional Arrays
    • Linked Lists
    • Queues and Double Queues
    • Sets and Bags
    • String Buffers
    • Graphs
  12. Data Files and Persistence
    • Data Files
    • Serialization
  13. Metatables and Metamethods
    • Arithmetic Metamethods
    • Relational Metamethods
    • Library-Defined Metamethods
    • Table-Access Metamethods
  14. The Environment
    • Global Variables with Dynamic Names
    • Global-Variable Declarations
    • Non-Global Environments
  15. Modules and Packages
    • The require Function
    • The Basic Approach for Writing Modules
    • Using Environments
    • The module Function
    • Submodules and Packages
  16. Object Oriented Programming
    • Classes
    • Inheritance
    • Multiple Inheritance
    • Privacy
    • The Single-Method Approach
  17. Weak Tables
    • Memoize Functions
    • Object Attributes
    • Revisiting Tables with Default Values
  18. The Mathematical Library
  19. The Table Library
    • Insert and remove
    • Sort
    • Concatenation
  20. The String Library
    • Basic String Functions
    • Pattern-Matching Functions
    • Patterns
    • Captures
    • Replacements
    • Tricks of the Trade
  21. The I/O Library
    • The Simple I/O Model
    • The Complete I/O Model
    • Other Operations on Files
  22. The Operating System Library
    • Date and Time
    • Other System Calls
  23. The Debug Library
    • Introspective Facilities
    • Hooks
    • Profiles
  24. An Overview of the C API
    • A First Example
    • The Stack
    • Error Handling with the C API
  25. Extending Your Application
    • The Basics
    • Table Manipulation
    • Calling Lua Functions
    • A Generic Call Function
  26. Calling C from Lua
    • C Functions
    • C Modules
  27. Techniques for Writing C Functions
    • Array Manipulation
    • String Manipulation
    • Storing State in C Functions
  28. User Defined Types in C
    • Userdata
    • Metatables
    • Object-Oriented Access
    • Array Access
    • Light Userdata
  29. Managing Resources
    • A Directory Iterator
    • An XML Parser
  30. Threads and States
    • Multiple Threads
    • Lua States
  31. Memory Management
    • The Allocation Function
    • The Garbage Collector
Programming in Lua Appendices
  1. Index

Lua








Poised Solutions Web Development and Web Design by Poised Solutions IT Practice

Guild of Developers  •  PantheonOS  •  Cyber Security