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 gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers 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 iGaming headlines of the day delivered to your inbox

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

    Gambling News

    Explore the latest in online gambling with our curated updates. We cut through the noise to deliver concise, relevant insights, keeping you informed about the ever-changing world of iGaming and its most important trends.

    In-Depth Strategy Guides

    Elevate your game with tailored strategies for sports betting, table games, slots, and poker. Learn how to maximize bonuses, refine your tactics, and boost your chances to beat the house.

    Unbiased Expert Reviews

    Honest and transparent reviews of sportsbooks, casinos and poker rooms crafted through industry expertise and in-depth analysis. Delve into intricacies, get the best bonus deals, and stay ahead with our trustworthy guides.