Get the latest tech news

Trealla Prolog: Compact and efficient Prolog interpreter


A compact, efficient Prolog interpreter written in plain-old C.

The imath library has a bug whereby printing large numbers becomes exponentially slower (100K+ digits) and will require a switch to libtomath at some point to remedy. Start independent (shared state) Prolog queries as dedicated POSIX threads and communicate via message queues. Start independent (no shared state) Prolog instances as dedicated pre-emptive threads and communicate via message queues.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of prolog interpreter

prolog interpreter

Photo of trealla prolog

trealla prolog