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

29
LINES

< > BotCompany Repo | #1005651 // A.I. Cases [dev.]

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

Libraryless. Click here for Pure Java version (3888L/25K/83K).

1  
!752
2  
3  
concepts.
4  
5  
concept AICase {}
6  
7  
concept PartOfCase {
8  
  new Ref<AICase> case;
9  
}
10  
11  
PartOfCase > UserLine {
12  
  S text;
13  
}
14  
15  
PartOfCase > BotLine {
16  
  S text;
17  
}
18  
19  
static AICase case;
20  
21  
p {
22  
  concepts();
23  
  
24  
  case = last(list(AICase));
25  
  if (case == null)
26  
    case = new AICase;
27  
    
28  
  print("Case ID: " + case.id);
29  
}

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: #1005651
Snippet name: A.I. Cases [dev.]
Eternal ID of this version: #1005651/1
Text MD5: 9abcdb52027adbc309e01433e524e39b
Transpilation MD5: 8a3347eedb88187c8221bb58f447b165
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-30 18:15:57
Source code size: 337 bytes / 29 lines
Pitched / IR pitched: No / No
Views / Downloads: 481 / 557
Referenced in: [show references]