| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Adds the following operators to lua5.2.4 and luajit 2.1.0-beta3 (latest release):
Metamethods "just work", eg a+=7 will invoke __add(a, 7) and assign result to a.
Lua5.2.4 and Luajit 2.1.0 are both supported so that you can use Lua when debugging and LuaJit on release
This is distributed as a patch so that you can apply it to future versions (rather than this becoming yet another unmaintained lua/luajit fork)
Download relevent sources and then use patch and then build as usual.
Alternatively use fetch_and_apply_lua*.sh to automatically download and patch
Edit files makediff_lua*.sh to make a new lua*.patch. Set A to the unmodified source directory and B to the modified source and run the script.
Luajit continue from [https://github.com/zewt/LuaJIT/commit/c0e38bacba15d0259c3b77]
Luajit compound operaters based on [https://github.com/mingodad/ljsjit]
Lua compound operators SvenOlsen's powerpatch [http://lua-users.org/wiki/LuaPowerPatches] (control-f: "Compound Assignment Operators (5.2)")
Lua continue from zewt's continue branch [https://github.com/zewt/lua/compare/master...zewt:continue?expand=1]
Probably won't be done unless someone submits a PR
Support binops: &,|,^,~
Public Domain
| Back | FazBrowse Home | New Git URL |