X-Prolog icon

X-Prolog

★★★★★
★★★★★
(3.96/5)

1.0.63Free1 year ago

Download X-Prolog APK latest version Free for Android

Version 1.0.63
Update
Size 2.84 MB (2,983,173 bytes)
Developer xprolog
Category Apps, Education
Package Name org.xprolog.xp
OS 5.0 and up

X-Prolog APPLICATION description

X-Prolog is a lightweight Prolog system.
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.
↓ Read more
X-Prolog screen 1 X-Prolog screen 2 X-Prolog screen 3 X-Prolog screen 4 X-Prolog screen 5 X-Prolog screen 6 X-Prolog screen 7 X-Prolog screen 8 X-Prolog screen 9 X-Prolog screen 10 X-Prolog screen 11 X-Prolog screen 12

Old versions

Version Size Update
⇢ 1.0.8 (1 variants) ↓ 3.45 MB ◴ 6 years ago
⇢ 1.0.63 (3 variants) ↓ 2.81 MB ◴ 1 year ago
⇢ 1.0.61 (2 variants) ↓ 2.80 MB ◴ 1 year ago