Acquainting - a systematic approach to Lua programming
The following document contains an overview of the author's initial activities
with Lua, TkLua and LuaSocket.
Please, also consider my "Hints for Reading"
and the "List of Recent Changes".
Overview
The list of topics given below directly guides you to the desired information
- just click on a topic of your choice:
Lua (in general)
-
Lua_00 - lists the given command line arguments
-
Lua_01 - lists any predefined global variables
in Lua
-
Lua_02 - replaces some "intrinsic" functions
by user-defined ones
-
Lua_03 - experiments with tag-based (single)
inheritance
-
Lua_04 - experiments with tag methods for numerical
operators
-
ASCIITable - prints an ASCII table onto
"stdout"
TkLua
-
TkLua_00 - a first program with a graphical
user interface
-
TkLua_00a - similar to TkLua_00, but with
an additional "console window"
-
TkLua_01 - shows the set of "Windows system
colors"
-
TkLua_01a - shows the set of predefined Tk
colors
-
TkLua_02 - shows the set of X11 bitmaps predefined
within Tk
-
TkLua_03 - shows the set of mouse pointers
predefined within Tk
-
TkLua_04 - shows the set of fonts installed
on the local system
-
TkLua_05 - provides detail information about
the system's windowing system
-
TkLua_06 - graphical display of an ASCII table
LuaSocket
-
Socket_00 - determines IP address and host
name of the local system
-
Socket_01 - data communication between two
UDP sockets
-
Socket_02 - data communication between two
TCP sockets
-
TkSocket_00 - "DNS lookup" example with
graphical user interface
-
TkSocket_01 - UDP communications example
with graphical user interface
-
TkSocket_02 - TCP communications example
with graphical user interface
Source Code
The source code of all abovementioned examples (together with any additionally
required files) is available for download as a single ZIP archive:
|