Skip to content

JCPedroza/algorithms-and-data-structures-lua

Repository files navigation

Lua Algorithms and Data Structures

Algorithms and data structures implemented in Lua.

Usage

Lint, Style, & Format

We use luacheck for linting, styiling, and formatting. The .luacheckrc file in the root directory contains the configuration.

You can install luacheck with luarocks.

luarocks install luacheck

To scan all files in a directory, run:

luacheck .

Typing

The type annotation system used in the documentation is based on Teal. And the type annotation system used in the comments is based on LDoc.