Skip to content

waxlab/alk

latest
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lua
 
 
 
 
 
 
 
 
 
 
run
 
 

ALK

ALK - A Lua Knowledge

ALK is a group of snippets and articles to serve as reference on Lua and Lua C API development. It can be read or forked, so you can play with code and make your own discoveries.

Fork it, learn Lua, play with it and feel free to help this project.

Quickstart

  1. Clone repo and enter the directory

    git clone https://github.com/waxlab/alk.git alk cd alk

  2. To list the lessons/tests run:

    ./run test

  3. Pick one of the list and run:

    ./run test capi.stack.args

All the relevant tests and lessons are under the src folder. For a test capi.stack.borders there are two files:

  • src/capi/stack/borders.lua containing the tests
  • src/capi/stack/borders.c containing the Lua C Api examples and that is recompiled every time you issue ./run test capi.stack.borders

Index

Lua

C Api

More Articles

Enjoy the Lua coding :)

About

Code examples commented

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published