Uses 5262K of libraries. Click here for Pure Java version (982L/7K/23K).
1 | !752 |
2 | |
3 | p {
|
4 | S s = [[ |
5 | Nasty |
6 | Multi Lines |
7 | With \\ Back || Slashes //! |
8 | ]]; |
9 | S q = luaQuote(s); |
10 | print(s); |
11 | print(q); |
12 | S x = evalLua("return " + q).tojstring();
|
13 | print(x); |
14 | assertEquals(s, x); |
15 | print("OK");
|
16 | } |
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: | 760 / 873 |
| Referenced in: | [show references] |