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

13
LINES

< > BotCompany Repo | #1003155 // quickLua

JavaX fragment (include)

lib 1004739 // aibo8.jar with Lua UTF8 fix

import net.luaos.tb.tb12.Sandbox;
import net.luaos.tb.common.LuaTimeOutSandbox;
import net.luaos.tb.remote.ServerConnection;

static LuaTimeOutSandbox.ResultWithStats quickLua(S code) {
  ret quickLua(luaSandbox(), code);
}

static LuaTimeOutSandbox.ResultWithStats quickLua(Sandbox sandbox, S code) {
  ret sandbox.callLuaWithStats(code, "unknown source");
}

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: #1003155
Snippet name: quickLua
Eternal ID of this version: #1003155/1
Text MD5: c029e2fd724c3e12f6196268c3964a00
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-28 16:18:32
Source code size: 415 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 496 / 488
Referenced in: [show references]