ProgramminginLua4ed - (EPUB全文下载)
文件大小:0.45 mb。
文件格式:epub 格式。
书籍内容:
Table of Contents
About the Book
I. The Basics
1. Getting Started
Chunks
Some Lexical Conventions
Global Variables
Types and Values
The Stand-Alone Interpreter
2. Interlude: The Eight-Queen Puzzle
3. Numbers
Numerals
Arithmetic Operators
Relational Operators
The Mathematical Library
Representation Limits
Conversions
Precedence
Lua Before Integers
4. Strings
Literal strings
Long strings
Coercions
The String Library
Unicode
5. Tables
Table Indices
Table Constructors
Arrays, Lists, and Sequences
Table Traversal
Safe Navigation
The Table Library
6. Functions
Multiple Results
Variadic Functions
The function table.unpack
Proper Tail Calls
7. The External World
The Simple I/O Model
The Complete I/O Model
Other Operations on Files
Other System Calls
8. Filling some Gaps
Local Variables and Blocks
Control Structures
break, return, and goto
II. Real Programming
9. Closures
Functions as First-Class Values
Non-Global Functions
Lexical Scoping
A Taste of Functional Programming
10. Pattern Matching
The Pattern-Matching Functions
Patterns
Captures
Replacements
Tricks of the Trade
11. Interlude: Most Frequent Words
12. Date and Time
The Function os.time
The Function os.date
Date–Time Manipulation
13. Bits and Bytes
Bitwise Operators
Unsigned Integers
Packing and Unpacking Binary Data
Binary files
14. Data Structures
Arrays
Matrices and Multi-Dimensional Arrays
Linked ............
书籍插图:
以上为书籍内容预览,如需阅读全文内容请下载EPUB源文件,祝您阅读愉快。
书云 Open E-Library » ProgramminginLua4ed - (EPUB全文下载)