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

16
LINES

< > BotCompany Repo | #1007205 // Massage concepts.structure for export

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

Libraryless. Click here for Pure Java version (8156L/57K/167K).

!7

concepts.

p {
  S s = loadConceptsStructure(#1006463); // AI Concepts
  print(javaTokWordWrap(s));
  print("Size: " + l(utf8(s)));
  S s2 = structure(safeUnstructure(s));
  print(javaTokWordWrap(s2));
  print("Restructured: " + l(utf8(s2)));
  print("Same? " + yn(eq(s, s2)));
  print(unidiff(
    fromLines(quoteAll(javaTok(s))),
    fromLines(quoteAll(javaTok(s2)))));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007205
Snippet name: Massage concepts.structure for export
Eternal ID of this version: #1007205/10
Text MD5: ddb0ef36b281fe4e5fe5bec4d92e1e84
Transpilation MD5: bfcfeb06553b99c525584d125c53842e
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-12 01:01:42
Source code size: 392 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 507 / 580
Version history: 9 change(s)
Referenced in: #1007207 - Export AI concepts to server (old)