Uses 419K of libraries. Click here for Pure Java version (59L/1K/2K).
!752 !1002813 // gnu prolog import gnu.prolog.vm.*; import gnu.prolog.term.*; p { new Environment env; // load stuff... Interpreter interpreter = env.createInterpreter(); env.runInitialization(interpreter); Term term = AtomTerm.get("true"); print(interpreter.runOnce(term)); }
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: | #1002814 |
Snippet name: | GNU Prolog Test |
Eternal ID of this version: | #1002814/1 |
Text MD5: | f5c11caee68f2cc91d438297bca50084 |
Transpilation MD5: | f8ef9d2b6e6c7b88f7d77d5a7910546c |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-02-27 01:16:25 |
Source code size: | 311 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 539 / 597 |
Referenced in: | #1002815 - GNU Prolog Test 2 (loading text) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |