Eliot’s Tips and Tricks

Key libraries

There are three key libraries in Lua that you should familiarize yourself with:

  • The string library. For doing string operations. It includes a good regex like pattern matching library.
  • The io library – operations on files.
  • The os library – date/time call and invoking processes.

Like Lua itself these libraries are small and elegant.

Tagged: