Skip to content

execomrt/LuaJIT

 
 

Repository files navigation

LuaJIT 2.1 – CMake-Enhanced Branch
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language, known for its exceptional performance and small footprint.

📘 Project Homepage: https://luajit.org/

📖 Documentation: Open doc/luajit.html in your browser for usage and technical reference.

✨ Highlights of This Branch
This custom branch of LuaJIT 2.1 introduces modern development enhancements and extensibility features:

🔧 CMake Build System
Build LuaJIT using CMakeLists.txt, fully configurable for different platforms and IDEs (e.g., Visual Studio, Ninja, Make).

🧩 Pluggable File I/O Extensions
Override default file operations (fopen, fread, fclose, etc.) by providing custom function implementations. This allows LuaJIT to be embedded in constrained or virtualized environments.

📁 Sample Code Included
Demonstrates how to hook into file I/O or integrate the LuaJIT core using CMake builds.

📄 License
LuaJIT is free software, released under the MIT license.

Copyright © 2005–2025 Mike Pall

See the COPYRIGHT file or refer to luajit.h for the full license terms.

🛠 Getting Started
To build with CMake:

bash
Copy
Edit
mkdir build && cd build
cmake ..
cmake --build .
For file I/O extension samples, check the samples/ or extensions/ directory in this branch.

About

Mirror of the LuaJIT git repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.1%
  • Lua 15.5%
  • Makefile 1.0%
  • Batchfile 0.9%
  • CMake 0.4%
  • Roff 0.1%