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

16
LINES

< > BotCompany Repo | #1002814 // GNU Prolog Test

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

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: 537 / 595
Referenced in: [show references]