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

13
LINES

< > BotCompany Repo | #1002885 // Test shared prolog clauses

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

Libraryless. Click here for Pure Java version (5503L/35K/113K).

1  
!752
2  
3  
!include #1002884 // new Prolog
4  
5  
p {
6  
  new Prolog p1;
7  
  p1.addClause("hello world");
8  
  
9  
  new Prolog p2;
10  
  p2.copyProgramFrom(p1);
11  
  
12  
  printStructure(p2.solve("hello world"));
13  
}

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: #1002885
Snippet name: Test shared prolog clauses
Eternal ID of this version: #1002885/1
Text MD5: 391113e7685ffabb7d9921d446fb38a0
Transpilation MD5: 943e39c7dea3de8d448603a4c97dd091
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-03-17 18:19:13
Source code size: 196 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 587 / 658
Referenced in: [show references]