Lua

A powerful, efficient, lightweight, embeddable scripting language.

207 resources1 categoriesView Original

Resources(207 items)

3

30log

Minimalist OOP library with basic classes, inheritance, and mixins in 30 lines.

Resources
A

Amulet

Open source, audio/visual toolkit suitable for small games and experimentation. It runs on Windows, Mac, Linux, HTML5 and iOS.

Resources
A

ansicolors

Simple function for printing to the console in color.

Resources
A

argparse

A feature-rich command line parser inspired by argparse for Python.

Resources
A

awesome-love2d

A list like this one, but focused on game dev and the LÖVE platform.

Resources
A

awesome-love2d

A list like this one, but focused on game dev and the LÖVE platform.

Resources
A

awesome-resty

A list like this one, but focused on OpenResty.

Resources
A

awesome-resty

A list like this one, but focused on OpenResty.

Resources
A

AwesomeWM

A highly configurable and extensible window manager for X, scripted and configured by Lua.

Resources
B

BabeLua

Lua editor/debugger extension for VS2012-13 with highlighting, auto-completion, linting, and formatting capabilities.

Resources
B

bump.lua

Minimal rectangle-based collision detection which handles tunnelling and basic collision resolution.

Resources
B

busted

BDD-style unit testing framework with great docs and Moonscript support.

Resources
C

cliargs

A simple command-line argument parsing module.

Resources
C

compat53

Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1.

Resources
C

ConcurrentLua

Implements an Erlang-style message-passing concurrency model.

Resources
C

Corona SDK

Development platform for iOS and Android. Proprietary, but used by numerous top games and apps, totaling over 150 million downloads.

Resources
C

Coronium

Simple cloud platform supporting analytics, data objects, user management, and more.

Resources
C

cqueues

Library for managing sockets, signals, and threads based on an event loop with coroutines.

Resources
C

Creating an Image Server

Walks through setting up and using OpenResty to build a simple image processing server; a great starting point for playing with OpenResty.

Resources
C

cron.lua

Time-related functions for Lua, inspired by JavaScript's setTimeout and setInterval.

Resources
D

dkjson

JSON encoder/decoder implemented in pure Lua.

Resources
D

docroc

Parse comments into a Lua table to generate documentation.

Resources
D

Drystal

Open source, games can run on Linux or on any platform with a recent web browser.

Resources
E

eLua

Lua, extended with optimizations and specific features for efficient and portable embedded software development.

Resources
E

Embedding Lua in C

An introductory walkthrough of embedding Lua in a C program. A bit dated, but still a great walkthrough.

Resources
E

etlua

Embedded Lua templates, ERB-style.

Resources
F

Fengari

The Lua VM rewritten in Javascript with seamless JS and DOM interoperability.

Resources
F

flux

A fast, lightweight tweening library for Lua with easing functions and the ability to group tweens together.

Resources
F

FOSDEM

Annual 2-day gathering of F/OSS developers in Brussels which sometimes has a "Lua devroom".

Resources
G

golua

Golang bindings to the Lua C API.

Resources
G

GopherLua

Lua 5.1 VM and compiler implemented in Go with Go APIs.

Resources
G

graphql-lua

Lua implementation of GraphQL.

Resources
H

Hammerspoon

A powerful, extensible OS X automation tool. A community-maintained fork of Mjolnir.

Resources
H

HardonCollider

Detect collisions between arbitrarily positioned and rotated shapes of any type.

Resources
H

HUMP

A set of lightweight helpers for LÖVE; a game-oriented utility belt.

Resources
I

i18n.lua

Internationalization library with locales, formatting, and pluralization.

Resources
I

inspect.lua

Human-readable representation of Lua tables.

Resources
J

Journey to the Center of Hawkthorne

2D platformer based on Community's Digital Estate Planning episode, made with LÖVE.

Resources
J

json.lua

A fast and tiny JSON library in pure Lua.

Resources
J

Jumper

Fast, lightweight, and easy-to-use pathfinding library for grid-based games.

Resources
K

Kepler Project

A collection of web-oriented projects using a common set of standards and components.

Resources
K

Kong

Microservice & API Management Layer.

Resources
K

KoReader

An ebook reader application supports PDF, DJVU, EPUB, FB2 and much more, running on Kindle, Kobo, PocketBook and Android devices.

Resources
K

kpie

A scripting utility to juggle windows.

Resources
L

Lake

A build engine written in Lua, similar to Ruby's rake.

Resources
L

lanes

Library implementing a message passing model with one OS thread per Lua thread.

Resources
L

Lapis

Full-stack framework for Lua and OpenResty. Like the Django or Rails of Lua. Supports Moonscript.

Resources
L

LDoc

Documentation generator which modernizes and extends LuaDoc.

Resources
L

Learn Lua in 15 Minutes

A well-commented example file which covers the basics.

Resources
L

Learning Lua from JS

An overview of the similarities and differences between Lua and JS; a great start for JavaScript folks looking to pick up Lua.

Resources
L

ledge

Lua module providing scriptable, RFC-compliant HTTP cache functionality.

Resources
L

lhf's Lua Tools

Assorted libraries and tools, many math- or data-related.

Resources
L

llthreads

A simple wrapper for low-level pthreads & WIN32 threads.

Resources
L

llthreads2

Newer rewrite of llthreads.

Resources
L

LLVM-Lua

Compiles Lua to LLVM.

Resources
L

Locco

Lua port of Docco, the "quick-and-dirty, hundred-line-long, literate-programming-style documentation generator".

Resources
L

LÖVE 2D

Desktop game development platform. Cross-platform, feature-complete, well-adopted.

Resources
L

lovebird

Browser-based debug console. Originally made for LÖVE, but works in any project with LuaSocket support.

Resources
L

LÖVR

3D framework for creating virtual reality experiences, inspired by LÖVE 2D.

Resources
L

LPeg

A pattern-matching library for Lua, based on Parsing Expression Grammars.

Resources
L

LPegLabel

An extension of LPeg adding support for labeled failures.

Resources
L

LPegLJ

A pure LuaJIT implementation of LPeg v1.0.

Resources
L

lpeg_patterns

A collection of LPeg patterns.

Resources
L

lredis

Asynchronous Redis client with pipelining and Pub/Sub support; based on cqueues.

Resources
L

Lua

Lua's original ANSI C interpreter.

Resources
L

Lua 5.3 Glossary

A glossary of some essential Lua terms.

Resources
L

Lua Conf

Annual 1-day Lua conference in Brazil.

Resources
L

Lua Crash Course

Short crash course readover, or reference for when you forget the basics.

Resources
L

Lua Development Tools

Eclipse plugin which provides code completion, debugging, and more. Built on Metalua.

Resources
L

Lua for IDEA

IntelliJ IDEA plugin which, among other things, provides code completion, smart highlighting, and experimental debugging.

Resources
L

Lua Fun

High-performance functional programming library designed for LuaJIT.

Resources
L

Lua Missions

A series of 'Missions' to work through which are designed to teach aspects of Lua along the way.

Resources
L

Lua Programming

A shorter overview of the language, up to date for Lua 5.2, and available online.

Resources
L

Lua Quick Reference

A quick reference on how to program in and embed Lua 5.1 through 5.3, by the creator of Textadept.

Resources
L

Lua Repo

The official Lua repo, as seen by the Lua team, mirrored to GitHub.

Resources
L

Lua states, libraries, coroutines and memory

Diagrams and explains some more advanced concepts of the Lua VM, particularly when interfacing with C.

Resources
L

Lua Unofficial FAQ

Answers all sorts of Lua-related questions, including many of the form 'How to ___?'.

Resources
L

Lua Users Foundation

An association of individuals with the mission of supporting and promoting Lua and its community and ecosystems.

Resources
L

Lua Workshop

Annual 2-day meeting of the Lua community, in rotating locations.

Resources
L

Lua Workshop Talks

High-quality talks are given at each ~annual Lua Workshop, and a history of them is online, slides included.

Resources
L

lua-cjson

Blazing fast JSON encoding/decoding implemented in C and exposed to Lua.

Resources
L

lua-cmsgpack

A MessagePack C implementation with Lua bindings, as used by Redis.=

Resources
L

lua-cURLv3

Lua binding to libcurl.

Resources
L

lua-http

Asynchronous HTTP and WebSocket library with client and server APIs, TLS, and HTTP/2; based on cqueues.

Resources
L

lua-l

The official Lua mailing list, and one of the focal points of the Lua community.

Resources
L

lua-lockbox

A collection of cryptographic primitives written in pure Lua.

Resources
L

lua-log

Asynchronous logging library with pluggable writers for file system, network, ZeroMQ, and more.

Resources
L

lua-MessagePack

Pure Lua implementation of MessagePack.

Resources
L

lua-mode

Emacs major mode for editing Lua.

Resources
L

lua-parser

A Lua 5.3 parser written using LPegLabel, with improved error messages.

Resources
L

lua-path

File system path manipulation library.

Resources
L

lua-pb

Protocol Buffers implementation.

Resources
L

lua-resty-cassandra

Lua Cassandra client driver for OpenResty and others.

Resources
L

lua-resty-http

Lua HTTP client driver, built on the cosocket API.

Resources
L

lua-resty-kafka

Kafka client driver based on OpenResty cosockets.

Resources
L

lua-resty-mysql

Lua MySQL driver for OpenResty.

Resources
L

lua-resty-rabbitmqstomp

RabbitMQ client library based on OpenResty cosockets.

Resources
L

lua-resty-redis

Lua Redis client driver for OpenResty.

Resources
L

lua-resty-template

Lua-oriented template engine for OpenResty, somewhat Jinja-like.

Resources
L

lua-stdlib

Middle-weight standard library extension; adds some useful data structures, utility functions, and basic functional stuff.

Resources
L

lua-term

Terminal operations and manipulations.

Resources
L

Lua-users style guide

A general, high-level style guide; unopinionated, easily agreed on.

Resources
L

lua-users tutorial

In-depth collection of tutorials aimed at newcomers.

Resources
L

lua-users wiki

A large community-maintained collection of Lua information and resources, supplementing the official website.

Resources
L

lua-users.org

A site for and by users of Lua, featuring an IRC channel, a web archive of lua-l, and a large wiki.

Resources
L

lua-websockets

WebSocket client and server modules. Webserver-agnostic, implemented in Lua on top of LuaSocket.

Resources
L

lua-zip

Lua binding to libzip. Reads and writes zip files.

Resources
L

lua-zlib

Simple streaming interface to zlib for gzip/gunzip.

Resources
L

lua-zmq

Lua bindings to ZeroMQ.

Resources
L

Lua.Space

The Lua community blog.

Resources
L

lua.vm.js

Lua VM on the web; a direct port of the C interpreter via LLVM, emscripten, and asm.js.

Resources
L

Lua: Good, bad, and ugly parts

A thorough summary of the good, different, bad, and ugly aspects of Lua, including many subtle quirks, by the author of ZeroBraneStudio.

Resources
L

LuaBridge

A lightweight library for mapping data, functions, and classes back and forth between C++ and Lua.

Resources
L

Luabuild

Highly customizable Lua 5.2 build system.

Resources
L

luacheck

Simple static analyzer which detects accidental globals and undefined or shadowed locals.

Resources
L

luacov

Simple coverage analyzer, used by busted and telescope for checking test coverage.

Resources
L

luacov-coveralls

LuaCov reporter for coveralls.io.

Resources
L

LuaCrypto

Lua bindings to OpenSSL.

Resources
L

LuaDate

Date and time module with parsing, formatting, addition/subtraction, localization, and ISO 8601 support.

Resources
L

luadec51

Lua Decompiler for Lua version 5.1.

Resources
L

LuaExpat

SAX XML parser via binding to the Expat library.

Resources
L

luaffi

Standalone FFI library, compatible with the LuaJIT FFI interface.

Resources
L

LuaFFT

An easy to use Fast Fourier Transformation package in pure Lua.

Resources
L

LuaFileSystem

Extends and complements Lua's built-in set of file system functions.

Resources
L

LuaInspect

Lua's most powerful code analysis and linting tool, built on Metalua. Used by ZeroBraneStudio, among others.

Resources
L

LuaJIT

High-performance Just-In-Time compiler for Lua.

Resources
L

LuaJIT FFI

LuaJIT's mechanism for calling external C functions and using C data structures from pure Lua code.

Resources
L

luajson

JSON encoder/decoder implemented in Lua on top of LPeg.

Resources
L

luakit

Fast, small, webkit based browser framework extensible by Lua.

Resources
L

LuaLogging

Log4j-inspired logging library supporting various appenders.

Resources
L

LuaMinify

Minifier which also brings its own static analysis tools, lexer, and parser.

Resources
L

luaossl

"Most comprehensive OpenSSL module in the Lua universe" - used by lapis, kong, and lua-http.

Resources
L

luaposix

Bindings for POSIX APIs, including curses.

Resources
L

luaproc

Message-passing model which allows multiple threads per OS thread and easily generalizes across a network. See also the paper where it originated.

Resources
L

LuaRocks

De-facto tool for installing Lua modules as packages called "rocks", plus public rock repository and website. Much like npm or pip.

Resources
L

LuaSocket

Networking extension which provides a socket API for TCP and UDP, and implements HTTP, FTP, and SMTP.

Resources
L

LuaSQL

Simple interface for connecting to ODBC, ADO, Oracle, MySQL, SQLite and PostgreSQL.

Resources
L

luassert

Assertion library extending Lua's built-in assertions.

Resources
L

luastatic

Simple tool for turning Lua programs into standalone executables.

Resources
L

luasyslog

Log to syslog, based on LuaLogging.

Resources
L

luatrace

Toolset for tracing/analyzing/profiling script execution and generating detailed reports.

Resources
L

luatweetnacl

Bindings to tweetnacl, modern high-security cryptographic library.

Resources
L

luatx

Time, date, and timezone library.

Resources
L

LuLPeg

A pure Lua implementation of LPeg v0.12.

Resources
L

lumail

A console-based mail client, with extensive scripting capabilities.

Resources
L

lume

Utility belt library geared toward game development.

Resources
L

Lumen

Simple concurrent task scheduling.

Resources
L

lunamark

Converts Markdown to other textual formats including HTML and LaTeX. Uses LPeg for fast parsing.

Resources
L

lunix

Bindings to common Unix system APIs, striving for thread-safety.

Resources
L

lupa

Python bindings to LuaJIT2.

Resources
L

lurker

Shortens the iteration cycle by auto-swapping changed Lua files in a running LÖVE project.

Resources
L

lust

Minimal test framework.

Resources
L

lustache

Mustache template implementation.

Resources
L

luvit

Node.js's underlying architecture (libUV) with Lua on top instead of JavaScript.

Resources
L

LXSH

A collection of lexers and syntax highlighters written with LPeg.

Resources
L

lyaml

YAML encoding/decoding via binding to LibYAML.

Resources
L

lzmq

A newer Lua binding to ZeroMQ.

Resources
M

magick

Lua bindings to ImageMagick for LuaJIT using FFI.

Resources
M

Mari0

Fusion of Mario and Portal, made with LÖVE. See also its wikipedia entry.

Resources
M

Metalua

Pure Lua parser and compiler, used for generating ASTs. A number of other tools make use of the Metalua parser in this way.

Resources
M

Microlight

A little library of useful Lua functions; the 'extra light' version of Penlight.

Resources
M

middleclass

Simple but robust OOP library with inheritance, methods, metamethods, class variables and mixins.

Resources
M

MOAI

Open source, cross-platform, mobile game development framework. Minimalist C++ engine powered by Lua scripting.

Resources
M

moaifiddle

Edit and share short scripts for the MOAI game engine and run them in the browser using WebGL.

Resources
M

MobDebug

Powerful remote debugger with breakpoints and stack inspection. Used by ZeroBraneStudio.

Resources
M

MoonScript

Moonscript is a dynamic scripting language that compiles to Lua. It reduces verbosity and provides a rich set of features like comprehensions and classes. Its author calls it 'CoffeeScript for Lua'.

Resources
M

MoonSharp

A Lua interpreter written entirely in C# for the .NET, Mono and Unity platforms.

Resources
M

Moonshine

A Lua VM implemented in JavaScript. Slower than lua.vm.js, but with better docs, examples, and JS interfacing.

Resources
M

Moses

Functional programming utility belt, inspired by Underscore.js.

Resources
N

ngx_lua

The core piece of OpenResty. Embeds Lua in Nginx and exposes, among other things, the cosocket API for non-blocking sockets (compatible with LuaSocket's API).

Resources
N

NoobHub

Network multiplayer for Corona, LÖVE, and more, following a simple pub-sub model.

Resources
O

Olivine style guide

A more opinionated and specific, and therefore more rigorous, guide.

Resources
O

omnia

A batteries-included creator of standalone executables, built on top of luastatic.

Resources
O

OpenResty

A fast and scalable web application platform created by extending Nginx with Lua. Today's de-facto Lua web platform, used heavily by Cloudflare, Taobao, Tencent, and others.

Resources
O

OpenResty GitHub Organization

Home of the repositories for ngxlua, ngxopenresty, and many related modules.

Resources
P

PacPac

A Pac-man clone, made with LÖVE.

Resources
P

Pegasus.lua

Pegasus.lua is a http server to work with web applications written in Lua language.

Resources
P

Penlight

Broad, heavyweight utility library, inspired by Python's standard libs. Provides the batteries that Lua doesn't.

Resources
P

pgmoon

Lua PostgreSQL driver for OpenResty, LuaSocket, and cqueues.

Resources
P

ProFi

Simple profiler that works with LuaJIT and produces a report file.

Resources
P

Programming Gems

A collection of articles covering existing wisdom and practices on programming well in Lua, in a broad variety of use cases.

Resources
P

Programming in Lua

The authoritative intro to all aspects of Lua programming, written by Lua's chief architect. Three editions released; first edition available online.

Resources
P

punchdrunk.js

Moonshine + LÖVE API reimplementation = run LÖVE games in the browser.

Resources
R

redis-lua

Pure Lua client library for Redis.

Resources
R

Reference Manual

The official definition of the Lua language.

Resources
R

Roberto's Talks

History of talks given by Lua's chief architect, with slides for each.

Resources
R

RxLua

Reactive Extensions, Observables, etc.

Resources
S

Sailor

— An MVC web framework compatible with OpenResty, Apache and other webservers.

Resources
S

say

Simple string key-value store for i18n.

Resources
S

SciLua

Numerical/scientific computing framework built on LuaJIT, with an interface to R.

Resources
S

Ser

Dead simple serializer with good performance.

Resources
S

serpent

Serializer and pretty printer.

Resources
S

sitegen

A static site generator which uses MoonScript and supports HTML and Markdown, page grouping, and plugins.

Resources
S

SLAXML

Pure Lua SAX-like streaming XML parser.

Resources
S

StackTracePlus

Drop-in upgrade to Lua's stack traces which adds local context and improves readability.

Resources
T

telescope

Flexible and highly customizable testing library.

Resources
T

termtris

A tetris clone, written in literate style with "an emphasis on learn-from-ability".

Resources
T

Textadept

Extremely lightweight, customizable, cross-platform editor, written (mostly) in (and scripted by) Lua.

Resources
T

Torch7

Scientific computing framework with wide support for machine learning algorithms, used by Facebook, Google, and more.

Resources
T

turbo

Event-driven, non-blocking, LuaJIT-based networking suite and framework, inspired by Tornado.

Resources
T

tween.lua

Small library for tweening, with several easing functions.

Resources
T

Typed Lua

A typed superset of Lua that compiles to plain Lua.

Resources
U

UniLua

A pure C# implementation of Lua 5.2, focused on compatibility with the Unity game engine.

Resources
V

vscode-lua

VSCode intellisense and linting.

Resources
W

Where Lua is Used

A comprehensive list of stand-alone programs written in or extensible using Lua.

Resources
W

Worp

Sound/music/DSP engine written for LuaJIT.

Resources
Z

ZeroBraneStudio

Lightweight, customizable, cross-platform Lua-dedicated IDE with code completion and analysis, written in Lua. Has broad debugging support for numerous Lua engines.

Resources