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

13
LINES

< > BotCompany Repo | #1028789 - zipToLineComp

JavaX fragment (include) [tags: use-pretranspiled]

Uses 11335K of libraries. Click here for Pure Java version (7963L/52K).

static File zipToLineComp(File zip) {
  ret zipToLineComp(zip, replaceExtension(zip, ".lc"));
}

static File zipToLineComp(File zip, File lc) {
  new LineCompCompressor comp;
  comp.loadTexts(zipFileToStringMap(zip));
  comp.run();
  lcSaveToFile(comp, lc);
  print("Zip:      " + renderFileInfo(zip));
  print("LineComp: " + renderFileInfo(lc));
  ret lc;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028789
Snippet name: zipToLineComp
Eternal ID of this version: #1028789/4
Text MD5: abd1be87d61c19c730170a6d2acedddc
Transpilation MD5: 3d82885638f28c90d10e26b15df90563
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-08 22:24:02
Source code size: 370 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 58 / 89
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1028789 & http://1028789.tinybrain.de