Skip to content

LuaJIT2.1 with custom syntax to support metaprogramming, Lua dialect(i.e. both Luau and Teal for now) merging and some compile time optimization.

Notifications You must be signed in to change notification settings

cyril0124/luajit-pro

Repository files navigation

luajit-pro

luajit-pro is a LuaJIT fork with some extra syntax. It is based on the openresty fork of LuaJIT 2.1.0.

We add an extra syntax transformer on the lj_load.c which contains the entry point of the file loader and string loader of LuaJIT. So the original file will be passed into our custom syntax transformer first and the custom syntax will be tansformed into Lua code which can be further parsed and compiled by LuaJIT later(see lj_load_helper.cpp and lib.rs for the detailed implementaion).

About

LuaJIT2.1 with custom syntax to support metaprogramming, Lua dialect(i.e. both Luau and Teal for now) merging and some compile time optimization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •