erminesoft logo
Go

X-Prolog for PC

Published by  xprolog
  • Category
    Education
  • Developer
    xprolog
  • Downloads
    5000+
  • Android Version
    4.0.3 and up
  • Content Rating
    Everyone
X-Prolog PC screenshot 1X-Prolog PC screenshot 2X-Prolog PC screenshot 3

X-Prolog is a lightweight Prolog implementation intended to facilitate programming in logic on Android. This 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.

Prolog programs may be developed using any main-stream Prolog system, including SICStus, SWI-Prolog, YAP, etc. The advantage of using X-Prolog is the ability to export programs in a quick-load format.

Code snippets may be shared with X-Prolog app. A shared snippet is either consulted into a running meta-interpreter or run as a standalone program.

A program may be associated with a run configuration, which describes how the program is run, including the top-level goal and whether the program is thread-safe.

A thread-safe program runs in a console view on first launch like any other program; however, any subsequent launch of the program runs in a terminal view, sharing the database of the console view.

X-Prolog benefited from works by Richard O'Keefe, Jan Wielemaker, Jack Palevich and others.

Known issues include occurs check, logical-update view, module-sensitive built-ins and so forth.

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 app 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 effective 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 select menu option Build. To export the project into a runnable object file on the local file system, select menu option Export. To run the object file, select menu option 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 three build tools: Compile, Expand and Test. Compile translates a Prolog source file (.pl) into a quick-load file (.ql). Expand translates a definite-clause grammar file (.dcg) into a Prolog source file. Test runs unit and integration tests contained in designated files (.plt).

How to Install X-Prolog for Windows PC or MAC:

X-Prolog is an Android Education app developed by xprolog and published on the Google play store. It has gained around 5000 installs so far, with an average rating of 4.0 out of 5 in the play store.

X-Prolog requires Android with an OS version of 4.0.3 and up. In addition, the app has a content rating of Everyone, from which you can decide if it is suitable to install for family, kids, or adult users. X-Prolog is an Android app and cannot be installed on Windows PC or MAC directly.

Android Emulator is a software application that enables you to run Android apps and games on a PC by emulating Android OS. There are many free Android emulators available on the internet. However, emulators consume many system resources to emulate an OS and run apps on it. So it is advised that you check the minimum and required system requirements of an Android emulator before you download and install it on your PC.

Below you will find how to install and run X-Prolog on PC:

  • Firstly, download and install an Android emulator to your PC
  • Download X-Prolog APK to your PC
  • Open X-Prolog APK using the emulator or drag and drop the APK file into the emulator to install the app.
  • If you do not want to download the APK file, you can install X-Prolog PC by connecting your Google account with the emulator and downloading the app from the play store directly.

If you follow the above steps correctly, you should have the X-Prolog ready to run on your Windows PC or MAC. In addition, you can check the minimum system requirements of the emulator on the official website before installing it. This way, you can avoid any system-related technical issues.

Download X-Prolog For PC

X APK 1.0.252.88 MB1.0.25