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).

!7

p-tt {
  botWithInput(#1022759);
}

answer {
  S snippetID = fsI(trim(s));
  LPair<Long, S> l = oldTranspilationsOfSnippet(snippetID);
  LS texts = map(l, idAndDate -> getOldSnippetTranspilationText(snippetID, idAndDate.a));
  
  S text = getServerTranspiled2(snippetID);
  clearConsole();
  print();
  print("Analyzing " + snippetID);
  print();
  for i over l: {
    Pair<Long, S> idAndDate = l.get(i);
    S text2 = texts.get(i);
    printAsciiHeading(snippetID + " transpilation changed " + idAndDate.b);
    print(unidiff(text2, text));
    text = text2;
  }
}

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: 218 / 663
Version history: 2 change(s)
Referenced in: [show references]