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

24
LINES

< > BotCompany Repo | #1022779 // Show diffs between old transpilations of snippet [OK for public snippets]

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

Download Jar. Libraryless. Click here for Pure Java version (9658L/71K).

1  
!7
2  
3  
p-tt {
4  
  botWithInput(#1022759);
5  
}
6  
7  
answer {
8  
  S snippetID = fsI(trim(s));
9  
  LPair<Long, S> l = oldTranspilationsOfSnippet(snippetID);
10  
  LS texts = map(l, idAndDate -> getOldSnippetTranspilationText(snippetID, idAndDate.a));
11  
  
12  
  S text = getServerTranspiled2(snippetID);
13  
  clearConsole();
14  
  print();
15  
  print("Analyzing " + snippetID);
16  
  print();
17  
  for i over l: {
18  
    Pair<Long, S> idAndDate = l.get(i);
19  
    S text2 = texts.get(i);
20  
    printAsciiHeading(snippetID + " transpilation changed " + idAndDate.b);
21  
    print(unidiff(text2, text));
22  
    text = text2;
23  
  }
24  
}

Author comment

Began life as a copy of #1012251

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1022779
Snippet name: Show diffs between old transpilations of snippet [OK for public snippets]
Eternal ID of this version: #1022779/3
Text MD5: 7e43e45c4961dfa6fa32c354fab34c84
Transpilation MD5: 5d76b8585e1975cc07eac6d0db1ff582
Author: stefan
Category: javax / snippets
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-06 20:28:59
Source code size: 592 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 232 / 688
Version history: 2 change(s)
Referenced in: [show references]