X-Prolog cover image
X-Prolog icon

X-Prolog

X-Prolog is a lightweight Prolog system.

xprolog · org.xprolog.xp

0.0 10,000 10,000 v1.0.63 4.7 MB SDK 21+ PEGI-3 · Everyone

X-Prolog screenshot 1 X-Prolog screenshot 2 X-Prolog screenshot 3 X-Prolog screenshot 4 X-Prolog screenshot 5 X-Prolog screenshot 6 X-Prolog screenshot 7 X-Prolog screenshot 8 X-Prolog screenshot 9 X-Prolog screenshot 10 X-Prolog screenshot 11 X-Prolog screenshot 12
UpdatedJun 11, 2024
PublishedMar 27, 2021
Packageorg.xprolog.xp
MD5913f19c56a9bf0370a7a567f4d830867
SHA1 (signer)26:FD:3C:C6:86:9E:30:6D:71:43:88:F7:5A:E9:0C:34:45:F3:6D:C6
Signed byCN=Android, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Architecturesx86, x86-64, armeabi-v7a, arm64-v8a
Malware scanTRUSTED
Contact[email protected]

What's new

Initial release

Description

X-Prolog is a lightweight Prolog system intended to facilitate programming in Prolog on Android. The app runs Prolog programs in a text view, web view or as a bound service to a client app. A sample client is available at https://github.com/xprolog/sample-client.
Note that Google Play restricts the use of all-file-access permission in apps targeting Android 11 or later. To install X-Prolog with all-file-access permission, refer to https://github.com/xprolog/xp/releases.
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
, where
is the name of an extension point,
is a list of acceptable file types and
is an integer not less than zero, the meaning of which varies depending on the extension point.
This release defines three extension points:
and
, 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
. To export the project into a runnable object file on the local file system, click
. To run the object file, click
.
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,
, 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.

Required features

Permissions (4)

X-Prolog requests the following Android permissions:

Tags

Related apps