pllua-classic is a procedural language for PostgreSQL using Lua. It allows using records, arrays, arrays of records as correspondingly nested lua hashes.
The pllua-classicproject is a PostgreSQL Community project that is a part of the pgFoundry.
The pgFoundry page for the project is at http://pgfoundry.org/projects/pllua-classic, where you can find downloads, documentation, bug reports, mailing lists, and a whole lot more.