Skip to content

script to compile lua module as C header file by luajit

License

Notifications You must be signed in to change notification settings

featherL/lua2lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua2lib

script to compile lua module as C header file by luajit

Usage

  1. compile a third party lua module as static lib named clib

  2. run lua2lib.py for the lua script in third party module named libheader

python lua2lib.py <third party module/lua> libheader
  1. compile your program with libheader, linkin and static link with clib, libluajit

  2. and then your program can run any where without lua environment

see more exmaple

About

script to compile lua module as C header file by luajit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published