- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
Home
        JJSax edited this page May 18, 2023 
        ·
        2 revisions
      
    Welcome to the Tablua wiki!
This wiki will explain how to use all the modules inside Tablua.
To get started, require the folder Tablua is in.
File/folder structure in a hypothetical project
root
  > assets
  >  > img.png
  > libraries
  >  > Tablua
  >  >  > (files of Tablua)
  main.lua
You would require this library as such.
local Tablua = require "libraries.Tablua"We will go over how to use each module in their own Wiki pages, linked below. Here is how to easily access them all.
local Tablua = require "libraries.Tablua"
-- Tablua is the module that simply expands upon how lua's tables already work.
local tableExtras = Tablua.Tablua
-- Arrays are similar to tables, but aren't designed to hold string keys
-- Great for lists you need to keep orders without any sparce indices
local array = Tablua.Array()
-- Sets work like a Set in python, or other languages.
local mySet = Tablua.Set()
-- Stacks work like a stack of papers.  It is a first in, last out data structure.
-- Think of a stack of papers.  You put papers on the top, and take papers off the top
local stack = Tablua.Stack()
-- Queues are similar to Stacks, but it works as a first in, first out method.
-- Think of waiting in line at a store.  First person in line gets through the line first.
local queue = Tablua.Queue()
Set Wiki Page Links to wiki pages will go here..... either I'm still working on it or more likely I forget to get to it. Whoops!