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

16
LINES

< > BotCompany Repo | #1004740 // Test Lua-Quoting In JavaX

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

Uses 5262K of libraries. Click here for Pure Java version (982L/7K/23K).

!752

p {
  S s = [[
    Nasty
    Multi Lines
    With \\ Back || Slashes //!
  ]];
  S q = luaQuote(s);
  print(s);
  print(q);
  S x = evalLua("return " + q).tojstring();
  print(x);
  assertEquals(s, x);
  print("OK");
}

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: #1004740
Snippet name: Test Lua-Quoting In JavaX
Eternal ID of this version: #1004740/1
Text MD5: 11bf89d5e75b1bbd385faecbbc01e13c
Transpilation MD5: 4736b1c8c5ccf33d5f7acf1be512e573
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-28 16:32:41
Source code size: 239 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 479 / 526
Referenced in: [show references]