X-Prolog icon

X-Prolog

1.0.59 for Android
3.9 | 10,000+ Installs | Reviews

xprolog

Description of X-Prolog

X-Prolog is a lightweight Prolog system intended to facilitate programming in Prolog on Android. The app runs Prolog programs in a console view or as a bound service to a client app. A sample client is available at https://github.com/xprolog/sample-client.
got tool?
The app depends on user-defined tools for editing and building projects. The tools are written in Prolog and are visible on devices with developer options. The app and tools exchange data through transfer variables and formatted output. This release includes trivial tools intended to demonstrate the app's tooling feature.
The app defines extension points at which transfer variables are available (to tools) and formatted output (from tools) is recognized. A tool may be configured to contribute to one or more extension points by specifying a context term.
A context term is read-term of the form
context(Name, FileTypes, Priority)
, where
Name
is the name of an extension point,
FileTypes
is a list of acceptable file types and
Priority
is an integer not less than zero, the meaning of which varies depending on the extension point.
This release defines three extension points:
build, edit
and
reconcile
, which allow tools to contribute to, respectively, building projects, editing source files and reconciling source models.
To build a project, open a file in the top directory of the project and click
Build
. To export the project into a runnable object file on the local file system, click
Export
. To run the object file, click
Run
.
A file is considered source-file if there exists one or more tools that build the file, possibly transforming it into another source file. This release includes a single build tool,
Compile
, which translates a Prolog source file (.pl) into a quick-load file (.ql).
Known issues include occurs check, logical update view, attributed variables among others.

Information

  • Category:
    Education
  • Latest Version:
    1.0.59
  • Updated:
    2021-07-15
  • File size:
    4.6MB
  • Requirements:
    Android 5.0 or later
  • Developer:
    xprolog
  • ID:
    org.xprolog.xp
  • Available on:
  • X-Prolog
    X-Prolog 1.0.57
    2.6MB
    2021-07-15
    XAPK
    Picture
  • X-Prolog
    X-Prolog 1.0.56
    2.7MB
    2021-06-30
    XAPK
    Picture
  • X-Prolog
    X-Prolog 1.0.55
    2.7MB
    2021-05-20
    XAPK
    Picture
Reviews
  • avatar
    I just installed x-prolog on my android phone and I absolutly love the fact I have a fully functional prolog environment with me wherever I go. Everything seems to work fine, and if you are somewhat accustomed to prolog, everything about using the system is straightforward and easy to figure out. For serious programm development I would not recommend it, but if you just had an interesting idea you want to try out or fell like killing some time with some nice prolog action while you are on the road, x-prolog is awesome.
    2020-10-21 03:37
  • avatar
    this is confusing as all hell. i can't figure it out. i'm a beginer so i guess it's to be expected but i can't write any code. the only thing that seems to work for putting in facts is /**/ but i can't ask questions. do i have to use /* before the | and do i have to use that at all. again i'm a beginer so i don't expect this to be easy. i have looked at every tutorial i could find. for them it seems like they don't need/**/. i am legitamatley confused please tell me what i'm doing wrong. please.
    2020-07-09 08:15
  • avatar
    Seems to half work.
    2020-03-27 11:25
  • avatar
    Very nice Prolog app; could do with some better documentation, but it's hardly alone in that.
    2018-09-20 07:39
  • avatar
    As a computer science assistance professor i need more and more updates for better understanding.
    2018-06-13 04:30
  • avatar
    I'm coming back to Prolog after a long long time so starting with simple examples and consequently these are initial impressions. I like that you can write a program with a text editor and then consult. This app seems to be better than other Prolog interpreters I've looked at. I am a user rather than a developer so I don't fully know the challenges in developing for Android although I started computing many many years ago with 8-bits and CP/M where you were grateful for tools that you could get, especially in relation to Prolog and Lisp and encouraged any steps forward. So I'd like to thank the developers, and ask them not to be put off by negative comments but to continue to work on the app, as there will be people like me who will appreciate any refinements and improvements.
    2018-04-15 08:02