notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
trealla-prolog Compact, efficient Prolog interpreter written in plain-old C
2.68.20 langnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: me@svmhdvn.name search for ports maintained by this maintainer
Port Added: 2025-04-22 07:06:05
Last Update: 2025-04-22 06:38:49
Commit Hash: 3c6713e
License: MIT
WWW:
https://github.com/trealla-prolog/trealla/
Description:
A compact, efficient Prolog interpreter with ISO Prolog aspirations. MIT licensed Integers & Rationals are unbounded Atoms are UTF-8 of unlimited length The default double-quoted representation is *chars* list Strings & slices are super-efficient (especially with mmap'd files) REPL with history Runs on Linux, Android, FreeBSD, macOS, and WebAssembly (WASI) & Go API for calling from C (or by using WASM from Go & JS) Foreign function interface (FFI) for calling out to user code Access SQLITE databases using builtin module (uses FFI) Concurrency via tasks / linda / futures / engines (generators) Pre-emptive multi-threading Blackboarding primitives ... FFIs for GNU Scientific Library (GSL), SQLite, Raylib Delimited continuations ##EXPERIMENTAL## Rational trees ##EXPERIMENTAL## CLP(Z) ##EXPERIMENTAL##
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/tpl
  2. /usr/local/share/licenses/trealla-prolog-2.68.20/catalog.mk
  3. /usr/local/share/licenses/trealla-prolog-2.68.20/LICENSE
  4. /usr/local/share/licenses/trealla-prolog-2.68.20/MIT
Collapse this list.
Dependency lines:
  • trealla-prolog>0:lang/trealla-prolog
To install the port:
cd /usr/ports/lang/trealla-prolog/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/trealla-prolog
  • pkg install trealla-prolog
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: trealla-prolog
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1745272025 SHA256 (trealla-prolog-trealla-v2.68.20_GH0.tar.gz) = 2fb4d08e02e75622c78e8f4a5edf5d7a76856b6f3e4c87db37c1b0c040db944a SIZE (trealla-prolog-trealla-v2.68.20_GH0.tar.gz) = 610669

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. xxd : sysutils/xxd
  2. gmake>=4.4.1 : devel/gmake
Library dependencies:
  1. libffi.so : devel/libffi
  2. libreadline.so.8 : devel/readline
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for trealla-prolog-2.68.20: FFI=on: FFI support READLINE=on: GNU readline support SSL=on: SSL support THREADS=on: Preemptive multithreading support ===> Use 'make config' to modify these settings
Options name:
lang_trealla-prolog
USES:
gmake readline ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/trealla-prolog/trealla/tar.gz/v2.68.20?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.68.20
22 Apr 2025 06:38:49
commit hash: 3c6713efe52c1fef3dbcae1044b4f1b7369f7700commit hash: 3c6713efe52c1fef3dbcae1044b4f1b7369f7700commit hash: 3c6713efe52c1fef3dbcae1044b4f1b7369f7700commit hash: 3c6713efe52c1fef3dbcae1044b4f1b7369f7700 files touched by this commit
Wen Heping (wen) search for other commits by this committer
Author: Siva Mahadevan
lang/trealla-prolog: New port

A compact, efficient Prolog interpreter with ISO Prolog aspirations.

MIT licensed
Integers & Rationals are unbounded
Atoms are UTF-8 of unlimited length
The default double-quoted representation is *chars* list
Strings & slices are super-efficient (especially with mmap'd files)
REPL with history
Runs on Linux, Android, FreeBSD, macOS, and WebAssembly (WASI) & Go
API for calling from C (or by using WASM from Go & JS)
Foreign function interface (FFI) for calling out to user code
Access SQLITE databases using builtin module (uses FFI)
Concurrency via tasks / linda / futures / engines (generators)
Pre-emptive multi-threading
Blackboarding primitives
...
FFIs for GNU Scientific Library (GSL), SQLite, Raylib
Delimited continuations ##EXPERIMENTAL##
Rational trees ##EXPERIMENTAL##
CLP(Z) ##EXPERIMENTAL##
PR:		286272
Reported by:	Siva Mahadevan <me@svmhdvn.name>

Number of commits found: 1