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

11
LINES

< > BotCompany Repo | #1003157 // Test quickLua

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 9620K of libraries. Click here for Pure Java version (172L/2K/6K).

!752

!1003153 // magic.jar

static S luaCode = "return 3*(4+5)";

p {
  print("Code:\n" + indent(luaCode) + "\n");
  LuaTimeOutSandbox.ResultWithStats results = quickLua(luaCode);
  print("Instruction count: " + results.instructions);
  print("Lua result: " + results.result);
}

Author comment

Began life as a copy of #1003154

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

-
Snippet ID: #1003157
Snippet name: Test quickLua
Eternal ID of this version: #1003157/1
Text MD5: 86568e18a7eba043ed15c72969cafa94
Transpilation MD5: df3a523cbfb9cefaee72501b5674c411
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-05-15 21:16:21
Source code size: 288 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 620 / 704
Referenced in: