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

17
LINES

< > BotCompany Repo | #1012215 // Test Triple Parser

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

Download Jar. Libraryless. Click here for Pure Java version (7294L/50K).

1  
!7
2  
3  
p {
4  
  autoRestart(5);
5  
  autoRestartOnSnippetChange(#1012226);
6  
  S data = loadSnippet(#1012226);
7  
  new Scorer scorer;
8  
  for (Pair<S> p : listToPairs(tlft_j(data))) {
9  
    print(p.a);
10  
    L<S> options = splitAtJavaToken(p.b, "|");
11  
    L<T3<S>> expected = map ai_parseTriple(options);
12  
    T3<S> have = ai_tripelize(p.a);
13  
    assertTripleEqicVerbose_multi(scorer, expected, have);
14  
  }
15  
  scorer.print();
16  
  setConsoleTitle(str(scorer) + " - Check Triple Parser");
17  
}

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: #1012215
Snippet name: Test Triple Parser
Eternal ID of this version: #1012215/18
Text MD5: 46bc091c2b766e8b4a61bded7898e792
Transpilation MD5: a3e1244932d7f0f46dccd6f6bfc2e508
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-30 16:34:20
Source code size: 478 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 510 / 7285
Version history: 17 change(s)
Referenced in: [show references]