Algorithmization and Programming in Lua
Tomáš Hála · 2022
Functions (subroutines) 10.1 Declaration and parameters 10.2 Recursion and recursive functions 10.3 Function as a data type 10.4 Iterators and closures 10.4.1 User iterators 11 Modules (libraries) 11.1 How to create own library 11.2 Joining the library 11.3 Inspect 12 Abstract Data Types 12.1 Axiomatic description for ADT Queue 12.2 Implementation of the ADT Queue 12.3 Interface for a user 12.4 Module for set operations 12.5 Module for set operations with a metatable 13 Files 13.1 Difference between text and binary files 13.2 Access to a file 13.3 Open 13.4 Close 13.5 Data reading methods 13.6 Processing of text files -solved examples 13.7 Binary files 14 Communication with OS 14.1 Library os 14.2 Reading parameters from the command line 8 14.3 Environmental variables 14.4 Date and time 14.5 Executing programms 15 Use of Lua in Applications 15.1 Lua in ConT E Xt 15.1.1Small multiplication table 15.1.2Use of data structures References