Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1004702 // luaCompile - switch on or off to-Java compilation for Lua code

JavaX fragment (include)

static void luaCompile(bool on) {
  if (on) {
    org.luaj.vm2.luajc.LuaJC.install();
    fixContextClassLoader();
  } else
    org.luaj.vm2.compiler.LuaC.install();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004702
Snippet name: luaCompile - switch on or off to-Java compilation for Lua code
Eternal ID of this version: #1004702/1
Text MD5: 63ae302ee5717e424f1cda6a8bb8a55a
Author: stefan
Category: javax / lua
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-27 15:15:12
Source code size: 173 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 463 / 453
Referenced in: [show references]