Libraryless. Click here for Pure Java version (4659L/30K/97K).
1 | !752 |
2 | |
3 | static S code = [=[ |
4 | |
5 | yes |
6 | |
7 | ]=]; |
8 | |
9 | p { |
10 | new Prolog p; |
11 | p.showStuff = true; |
12 | p.addClauses(nlParse(code)); |
13 | printStructure(p.solve(nlParse("yes"))); |
14 | } |
Began life as a copy of #1002830
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: | #1002844 |
Snippet name: | Test Prolog with NL |
Eternal ID of this version: | #1002844/1 |
Text MD5: | aaf662db3db24d158be28709a35fc503 |
Transpilation MD5: | 6a770f2e6c6cc307561697180d0826e2 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-03-03 02:06:15 |
Source code size: | 174 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 634 / 694 |
Referenced in: | [show references] |