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

22
LINES

< > BotCompany Repo | #1008204 // printThoughtSpaces

JavaX fragment (include)

1  
please include function getThoughtSpace.
2  
3  
static void printThoughtSpaces() {
4  
  printThoughtSpaces(false);
5  
}
6  
7  
static void printThoughtSpaces_englishOnly() {
8  
  printThoughtSpaces(true);
9  
}
10  
11  
static void printThoughtSpaces(bool englishOnly) {
12  
  for (ThoughtSpace ts : values(getThoughtSpace_map)) {
13  
    print();
14  
    print("Thought Space " + ts.globalID + ":\n");
15  
    for (LispStatement s : values(ts.statements)) {
16  
      printIndent("[" + s.globalID + "] " + lispToEnglish_prettier(s.term));
17  
      if (!englishOnly)
18  
        printIndent("  " + s.term);
19  
    }
20  
    print();
21  
  }
22  
}

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: #1008204
Snippet name: printThoughtSpaces
Eternal ID of this version: #1008204/8
Text MD5: cf7a557b053e43d52a829c94474097d8
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-30 14:23:37
Source code size: 592 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 466
Version history: 7 change(s)
Referenced in: [show references]