Moonjitis a Just-In-Time Compiler (JIT) for theLuaprogramming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.
Moonjit is a fork of the inactiveLuaJITproject and aims to provide a way forward for existing users of LuaJIT looking for continuity in development and maintenance.
Moonjit ought to run all Lua 5.1-compatible source code just fine. It is considered a serious bug if the VM crashes or produces unexpected results – please report this. Lua 5.2 support is in two parts; the backward compatible Elements are built in by default whereas features that break compatibility have to be enabled using the- DLUAJIT_ENABLE_LUA COMPAT flag. Theinstallation instructionshave more details.************************Contributing
Please note the branches
- Fork the moonjit repo on github
- Clone your fork and make changes in a separate topic branch
make make checkCommit your changes using the - s
flag to sign off your commit and then push it to your branch.
git commit -a -s git push origin my-changes
- Write a detailed commit log message describing the issue you're fixing so that the information is retained for future reference. If you're fixing an issue, please mention the issue number as fixed using the annothation
Fixes: #NUM
moonjit has a built-in testsuite that can be exercised by running the following command:
(************************************** make check
There is also a benchmark suite that can be run as follows:
make bench
If you're fixing a bug in moonjit, make sure you add a test case to exercise the bug so that it does not regress. test /README.md
has more details on how to execute and update the testsuite.
(**********************Branches
The project repository on github has the following main branches:
- master**************************** (v2.1) : This is a bug fix branch for v2.1.x releases of moonjit. This branch aims to remain compatible with the LuaJIT v2.1 branch. (******************************************************** (v2.0) : This remains a bug fix branch that tracks the v2.0 branch of upstream LuaJIT. This branch currently does not have a maintainer. (********************************************************************
GIPHY App Key not set. Please check settings