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

23
LINES

< > BotCompany Repo | #1010372 // JavaX Source To Web [OK]

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (14628L/104K).

1  
!759
2  
3  
sS src = [[
4  
  !7
5  
  
6  
  p {
7  
    print("Hello world!");
8  
  }
9  
]];
10  
11  
p-noconsole {
12  
  cal_lineLength(10);
13  
  L<S> tok = javaTokC(src);
14  
  L<WebNode> nodes = web_stringsToChain(tok);
15  
  Map<int> map = getBracketMapC(tok);
16  
  for (int i : keys(map))
17  
    web_addRelation(nodes.get(map.get(i)), nodes.get(i), "closes");
18  
  calAutoLayout2_onByDefault = false;
19  
  web_placeNodesOnU(nodes);
20  
  Canvas c = second(showWeb(first(nodes)));
21  
  addToWindowSplitLeft(centerFrame(900, 500, c),
22  
    withTitle("Original Source", jtypewritertextarea(src)), 0.3);
23  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010372
Snippet name: JavaX Source To Web [OK]
Eternal ID of this version: #1010372/15
Text MD5: 30fb1ebcf2d0e8f02569de2a1f16560d
Transpilation MD5: 97800ada05f21399f4aaec1133bdcf41
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-13 21:51:21
Source code size: 558 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 671 / 1399
Version history: 14 change(s)
Referenced in: [show references]