Home 5 Free E-Books and Tutorials on Lua

5 Free E-Books and Tutorials on Lua

This week Lua broke into the TIOBE Index top 10 for the first time. The TIOBE Index is a deeply flawed index, as a few of you have pointed out here before, and it’s hard to believe that Lua has suddenly surpassed JavaScript in popularity – though there are a lot of people out there using it for World of Warcraft scripting.

None the less, I thought this would be an excellent occasion to do a free e-book round-up for Lua. Whether you want to learn it for game scripting, extending Renoise or building Web servers, these references will help you get started with the language.

The Lua community makes finding resources for leaning Lua quite easy. The Lua-Users wiki has a page dedicated to learning the language.

There’s also a Web-based demo where you can enter your code and experiment with it.

Lua-Users Tutorial

The Lua-Users tutorial consists of several individual tutorials that build on each other. It’s aimed at absolute beginners that may not even be familiar with scripting languages.

Programming in Lua

The first edition of Programming in Lua by Roberto Ierusalimschy is available for free online. Ierusalimschy is the chief architect of Lua. The book was written with Lua 5.0 in mind (it’s up to 5.1 now, and the 5.2 alpha is available for testing), but is still a good beginner’s reference.

You can buy the second edition here.

Lua Programming Gems

Lua Programming Gems edited by L. H. de Figueiredo, W. Celes, R. Ierusalimschy introduces more advanced Lua concepts. Parts of it are available for free in online. The full book can be bought in print and various digital formats.

Lua Functional Programming

Lua Functional Programming is a Wikibook in progres “inspired by and based on Paul Graham’s work On Lisp.” It’s meant for programmers already experienced with Lua.

Lua 5.1 Reference Manual

For those that just want to dive into the reference manual, the whole thing is available online for free.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.