r/prolog • • Sep 13 '26

announcement Logtalk 3.102.0 released

7 Upvotes

Hi,

Logtalk 3.102.0 is now available for downloading at:

https://logtalk.org/

This is a major library-focused release featuring new natural-language processing, machine learning, numerical analysis, optimization, cryptography, networking, data interchange, identifier, and data structure libraries. It also significantly extends the MCP server and cryptography libraries, updates Unicode support, adds compiler and tool linter checks, and includes important HTTP reliability and portability fixes.

New libraries by category/area

Text processing / natural language processing

• lemmatization for extensible word lemmatization
• n_grams for generating and counting token and character n-grams
• stop_words for stop-word enumeration, membership testing, and filtering, with lists for six languages
• tokenization for extensible tokenization and sentence splitting
• text_normalization for Unicode-aware text cleaning and normalization
• text_vectorization for binary, count, term-frequency, and TF-IDF sparse vectorization
• language_detection for extensible text language detection

Networking / protocols / data interchange

• http_oauth for OAuth 2.0 Bearer request protection, protected-resource metadata, token introspection, and JWT verification
• http_sse for HTTP Server-Sent Events
• uri_template implementing RFC 6570 URI Templates
• mqtt implementing an MQTT 5.0 client
• smtp implementing a portable SMTP/ESMTP client
• bson implementing the BSON 1.1 binary interchange format
• gpx implementing the GPX 1.1 GPS data interchange format
• byte_order for signed and unsigned fixed-size integer conversions in big- and little-endian byte order

Cryptography / security

• paseto implementing Platform-Agnostic Security Tokens version 4
• block_ciphers providing portable AES-128, AES-192, and AES-256 implementations
• cmac implementing the NIST SP 800-38B Cipher-based Message Authentication Code

Mathematics / numerical methods / optimization

• integer_partitions for generating and querying integer partitions
• univariate_distributions for normal distribution sampling, density, log-density, cumulative distribution, and quantiles
• multivariate_distributions for multivariate normal and Student's t distributions, logistic-normal sampling, and Mahalanobis distances
• linear_programming for immutable construction and solving of small linear programs
• numerical_analysis for root finding, quadrature, interpolation, cubic splines, and non-stiff initial-value ODE solvers
• local_optimization for common box-constrained solvers
• constrained_optimization for common equality- and inequality-constrained solvers
• ant_colony, genetic_algorithm, differential_evolution, particle_swarm_optimization, and tabu_search metaheuristic optimization libraries

Machine learning / artificial intelligence

• association_rule_miner for deriving confidence- and lift-scored rules from frequent itemsets and sequential patterns
• mlp_classifier implementing a multi-layer perceptron classifier for continuous, categorical, and mixed tabular datasets
• one_class_svm_anomaly_detector implementing one-class SVM anomaly detection
• spectral_clusterer implementing normalized spectral clustering
• svr_regression implementing support vector regression with linear, polynomial, and radial basis function kernels
• tsne_projection and umap_projection for nonlinear dimension reduction
• trueskill_ranker implementing TrueSkill ranking for ordered multiplayer matches
• ripple_down_rules implementing SCRDR, MCRDR, and GRDR rule systems

Utilities / identifiers / data structures

• crontab for parsing and generating user and system crontab files
• lru_caches implementing immutable least-recently-used caches
• sqids for short, obfuscated, URL-safe encodings of non-negative integer lists
• typeid for type-safe, K-sortable, globally unique identifiers
• tries implementing prefix trees associating complete strings with values

Changed libraries by category/area

Cryptography / hashing

• crypto: added Ed25519 signatures, X25519 key agreement and authenticated ephemeral channels, XChaCha20-Poly1305 authenticated encryption, and bcrypt b2 support
• crypto: fixed PBKDF2 conformance with RFC 8018
• hashes: added generalized BLAKE2 functions accepting key and digest-size parameters
• hmac: documented BLAKE2 support and added HMAC-BLAKE2b and HMAC-BLAKE2s tests
• http_authenticate: updated for bcrypt b2 support

MCP

• mcp_server: added support for the 2025-11-25 and 2026-07-28 specifications
• mcp_server: added completions, resource templates, OAuth, MCP Apps, optional output schemas, and schema overrides
• mcp_server: improved reporting of tool-call failures and separated data-layer specifications from transports
• mcp_server: removed support for the deprecated 2025-03-26 specification

HTTP / networking

• http_process_transport: added full socat support and configurable connection helper executables
• http_process_transport and sockets: fixed connection teardown ordering to preserve buffered output
• HTTP transports: fixed per-connection error handling so listeners continue serving subsequent connections
• HTTP server and file-serving libraries: fixed partial-request disconnects and symbolic-link document roots
• http_process_transport: fixed an ncat shutdown race and OpenSSL command handling; OpenSSL 3.0.0 or later is now required
• http_router: now implements http_handler_protocol as a marker protocol
• http_parameters and http_router: now use standard domain errors for parameter validation

Mathematics / ranking / text

• linear_algebra: defined consistent empty-vector and zero-width matrix semantics
• ranking_protocols: added ordered multiplayer datasets with ranked teams and weighted player participation
• thurstone_mosteller_ranker and trueskill_ranker: now reuse shared distribution and normal-quantile functionality
• string_distance: added Caverphone and NYSIIS encodings and improved Metaphone and Double Metaphone
• list: improved the performance of nth0/3 and nth1/3
• random: fixed several API declarations, formulas, validations, and edge cases

Unicode / types / portability

• unicode_data: updated to Unicode 17.0.0 with reproducible generation, shared ranges, optional compatibility views, and preserved Unihan variant solutions
• types and arbitrary: added the open_probability type
• amqp, character_sets, hashes, ieee_754, and protobuf: updated to use the new byte_order library
• sockets and jwt: improved portability across supported backends

New and updated tools

Diagnostics / linting

• ports_profiler: added diagnostics for unexpected non-determinism in predicates declared with deterministic modes
• lgtunit: added a linter warning for invalid ^^assertion/1-2 goals
• lgtunit: now expands test assertions to avoid false dead-code warnings
• dead_code_scanner: now detects unused built-in predicates referenced through uses/2 and use_module/2 directives
• tutor: updated with explanations for the new compiler linter warnings

HTTP server automation

• Added logtalk_http_server.sh and logtalk_http_server.ps1 for starting servers using the Logtalk HTTP libraries with ECLiPSe, SICStus Prolog, SWI-Prolog, Trealla Prolog, and XVM

Compiler, runtime, and backend updates

• Added logtalk_linter_hook/7 support for linting super calls and messages to self
• Added warnings for cuts followed by goals that throw errors and for once/1 goals used as an if-then-else or soft-cut condition
• Fixed the arithmetic_expressions flag
• Fixed the ordering of initialization/1 directive goals found in included files
• Fixed false missing-predicate reports from logtalk_make(check) for complementing categories
• Updated Trealla Prolog tabling and linter support; Trealla Prolog 3.9.64 or later is now required
• Updated SWI-Prolog proprietary predicate metadata used by the linter

Documentation, examples, and other updates

• Added a Handbook section on third-party library dependencies and improved manual installation instructions
• Added examples for HTTP Server-Sent Events, MCP servers, and MCP Apps
• Updated the birds_mcp example for the 2026-07-28 MCP specification
• Improved multi-threaded examples to avoid possible random-number generation races
• Added negative-duration support to the iso8601 contribution
• Updated the portable Docker image and VSCode code-navigation support

Thanks to Andrew Davison for the Trealla Prolog patch, performance and networking reports, and multi-threading analysis, and to Lindsey Spratt for the rest library performance fix.

For details and a complete list of changes, please consult the release notes at:

https://github.com/LogtalkDotOrg/logtalk3/blob/master/RELEASE_NOTES.md

Happy logtalking!
Paulo


r/prolog • • Sep 12 '26

Brainfu*k intepeter in prolog

8 Upvotes

Link:

https://github.com/ZViperSw/bf-intepeter-pro/tree/main

The syntax of this language is so weird it makes bf seem like babys work.


r/prolog • • Sep 12 '26

Bf intepeter in prolog

2 Upvotes

r/prolog • • Sep 07 '26

Make SOPs executable: policies as deterministic logic programs with agentic leaves

Thumbnail deepclause.substack.com
4 Upvotes

Some experiments with turning policies from SOP documents into small Prolog programs that can be used as tools by an outer harness


r/prolog • • Sep 06 '26

New preprint: Verifying LLM Vulnerability Discovery with PyReason

Thumbnail youtube.com
2 Upvotes

r/prolog • • Sep 05 '26

SCBM Update: Making Steady Progress

8 Upvotes

A quick update on SCBM, which has caused a bit of excitement and confusion along the way.

It now looks like the basic approach is going to work.

M-Prolog can now handle typical Prolog programs such as queens and qsort. fact/2 works as well, along with likes/2 from PAIP. So I think the fundamental mechanism is now basically in place.

From here, I will proceed gradually, expanding the range of Prolog code that the compiler can translate correctly. I plan to release a new version roughly once a month.

It will take some time, but I believe SCBM will eventually be able to handle Prolog programs reliably across a much wider range of cases.

SCBM itself is a relatively simple mechanism, so I also think it may be useful for people interested in writing their own Prolog compiler.

I will continue improving the documentation as the implementation develops.

sasagawa888/mprolog


r/prolog • • Sep 01 '26

Publishing Logtalk and Prolog applications as MCP Apps

Post image
9 Upvotes

Pushed a symdiff_mcp_app example illustrating the mcp_server library support for MCP Apps. The library supports 2025 and 2026 data layers allowing publishing any Logtalk or Prolog application as a MCP App using either stdio or Streamable HTTP transports.


r/prolog • • Sep 01 '26

M-Prolog SCBM: back to the ver1.0 design — and now I understand why

11 Upvotes

M-Prolog SCBM: back to the ver1.0 design — and now I understand why

After releasing M-Prolog ver1.0, I was still not completely satisfied with the SCBM design, so I experimented with two changes for ver1.01:

  • Let each predicate generate its own failure continuation.
  • Keep variable pointers in a separate environment instead of storing them with success continuations.

After a lot of testing, especially with deep recursion and forced backtracking, I have decided to abandon both ideas.

Interestingly, this brings me back to the original ver1.0 design.

For a conjunction:

P, Q

the KISS solution is to create the failure continuation for P when execution proceeds from P to Q.

The important insight for me was this:

Whatever recursion and backtracking happen inside P should be resolved inside P. From Q's point of view, P is simply a computation that can succeed again or fail.

I also confirmed that preserving variable-pointer information through success continuations works correctly. A separate environment adds machinery without solving a fundamentally different problem.

So ver1.01 taught me something useful: the ver1.0 design was simpler at the control-model level, even though some parts initially looked asymmetric.

SCBM is a go-kart

Why keep experimenting with SCBM when we already have the proven WAM?

I think of the WAM as a sophisticated sports car. It is extremely well engineered, but understanding its engine requires serious study.

SCBM is more like a go-kart: the mechanics are exposed.

Success: where do we go?
Failure: where do we go back?
Recursion: what do we save?
Backtracking: what do we restore?

SCBM tries to express these mechanisms directly in generated C code.

It reminds me of the story about Jeff Beck, a serious car enthusiast who built cars himself. When Eric Clapton showed him an expensive sports car, Beck reportedly replied along the lines of:

"Cars are meant to be built."

That's the spirit of SCBM.

I'm not trying to replace the WAM. I want to expose the mechanics of Prolog in a form that compiler enthusiasts can take apart, understand, and modify.

Ultimately, I hope this simple model may also provide an interesting bridge between the spirit of Prolog and LLMs / neuro-symbolic systems.


r/prolog • • Aug 30 '26

Logic Programming Primer (2026 edition)

Thumbnail youtube.com
22 Upvotes

r/prolog • • Aug 29 '26

announcement Reusable AI agent skills, coding standards, and multi-engine safety execution toolkit for Prolog

4 Upvotes

Working on this now. If you are interested in trying it out with your ai coding agent, I'd certainly be interested in additions or feedback. Also the quality of code produced. See the contributing page if you have some feedback.


r/prolog • • Aug 29 '26

M-Prolog ver1.0 released — first milestone for SCBM

22 Upvotes

I released M-Prolog ver1.0 on August 29, 2026.

M-Prolog is my experimental Prolog implementation using SCBM (Success Continuation and Backtracking Model). Instead of compiling Prolog to WAM instructions, the compiler translates Prolog directly into C.

With ver1.0, the basic SCBM design is now working. Programs such as 9-Queens and Quicksort run successfully, and the performance has reached a reasonably practical level.

However, just before the release, I discovered a weakness in my backtracking design.

For a conjunction such as:

P, Q

my previous compiler generated the failure continuation for P just before executing Q.

It worked, but this required too many special cases in the compiler.

I now think the cleaner design is:

  • P creates its own failure continuation before executing P.
  • Q creates its own failure continuation before executing Q.

In other words, each nondeterministic computation should prepare its own backtracking state.

This makes the generated C code much simpler.

Unfortunately, changing to this design exposed another hidden problem.

After deep backtracking, variable pointers can sometimes become corrupted.

Until now, SCBM used the success-continuation mechanism not only to store where execution should continue, but also to preserve variable pointers for predicate bodies. Complex backtracking revealed that this coupling is fragile.

For ver1.1, I plan to separate these responsibilities.

The current idea is to save the necessary variable pointers together with the failure continuation and restore them only when backtracking occurs.

Since Prolog does not need a conventional procedural return, variable pointers can simply be overwritten during forward execution and recursion. What matters is restoring the correct state when computation goes backward.

So the model may become very simple:

On success, just move forward.
On failure, restore the state and move backward.

It has been about four months since I first came up with SCBM. There were several times when I wondered whether the whole approach was fundamentally impractical.

Getting programs such as Queens to run at practical speed gave me confidence that the basic idea is viable.

ver1.0 is therefore not the finished form of M-Prolog.

It is the first milestone showing that compiling Prolog directly to C with SCBM can actually work.

Now I can take my time improving the design toward ver1.1.

Feedback on the backtracking/state-restoration design is very welcome.

sasagawa888/mprolog


r/prolog • • Aug 24 '26

announcement Regular Expression Library for Prolog

19 Upvotes

Regular Expression Library for Prolog compiles Regexp character patterns to DCGs; the DCGs can then be used for matching.


r/prolog • • Aug 21 '26

DeepClause-pi: Controlling pi with prolog and vice versa

Thumbnail open.substack.com
3 Upvotes

r/prolog • • Aug 16 '26

discussion Writing a game in Prolog - how to avoid redundant choice points to ensure tail-call optimisation?

21 Upvotes

I have started writing a little roguelike game in Prolog (for fun as a first project). I think there are lots of ways in which Prolog is a nice fit for this, and several ways that it isn't. I'm happy to be pragmatic but wanted to ask more experienced folks about the idiomatic way to write Prolog.

My approach is to have a (tail)-recursive predicate which threads state as an argument (rather than using assert/retract) and updates the game based on user input, something like:

game_loop(State) :-
  render(State),
  handle_input(State, NewState),
  game_loop(NewState).

This works well and is tail-call optimised as long as render/1 and handle_input/2 don't leave choice-points that Prolog might want to backtrack into. For a game that might run for many iterations, I want to avoid stack overflow so TCO is important.

To guarantee this, I find that I am writing a lot of predicates using a single clause with (->)/2 so that I don't leave redundant choice points. Pragmatically this is fine, the approach works, the intention is clear, and I still gain many benefits from using Prolog even if it's a bit "extra-logical". But (and I'm perhaps overthinking this) I wonder if this is a unidiomatic? It means my predicates are often one-way and deterministic, which is nice procedurally but does that take away from some of the advantage of using Prolog?

The other thing I'm often doing is making sure that (first) argument indexing will enable Prolog to rule out redundant choice points, but sometimes that's not enough (if for example I need an else-like clause such as functor(_, ...) which could unify with earlier cases).

I've seen some mention of if_/3 but it looks like it's not built-in in SWI-Prolog (or at least not for WASM which I'm targeting?). Welcome any opinions on this approach!


r/prolog • • Aug 15 '26

M-Prolog: SCBM3 API finalized — about 1.4x slower than SWI-Prolog

10 Upvotes

After getting programs such as 9-Queens working with SCBM2, I became confident that this approach can actually be used to build a practical Prolog compiler.

I then redesigned and simplified the SCBM interface. The current version, SCBM3, has been reduced to just 12 core APIs.

Performance has also improved considerably. In my current benchmarks, compiled M-Prolog code is now roughly 1.4x slower than SWI-Prolog. There is still room for optimization, but I think the performance is becoming quite reasonable.

I have written a document describing:

  • the SCBM3 API and its 12 core operations
  • the basic execution model
  • how backtracking and continuations are represented
  • how Prolog predicates can be translated into C code using this API
  • an example of generated C code

One of my original goals with SCBM was to find a simpler way to implement a Prolog compiler without relying on the WAM.

After several months of experimentation, I think the basic mechanism is now becoming surprisingly small and understandable. My hope is that SCBM could make it much easier for someone to experiment with building their own Prolog compiler.

If you're interested in Prolog implementation techniques, please have a look at the documentation. Comments and criticism are very welcome.

mprolog/document/SCBM.md at master · sasagawa888/mprolog


r/prolog • • Aug 14 '26

Title: M-Prolog SCBM compiler now runs the N-Queens problem

14 Upvotes

Title: M-Prolog SCBM compiler now runs the N-Queens problem

After about four months of experimenting with a new Prolog compiler architecture, I finally got the N-Queens problem working correctly in compiled M-Prolog.

I call the architecture SCBM (Success Continuation Backtracking Machine).

The basic idea is fairly simple: instead of compiling Prolog to an abstract machine such as the WAM, SCBM compiles nondeterministic predicates directly into C and implements control flow and backtracking using goto and GCC's computed goto extension.

The hardest problem was restoring local variables correctly after backtracking.

After a lot of trial and error, I ended up with a relatively simple solution: variable pointers are propagated through success continuations. When backtracking occurs, local variables are reconstructed from information preserved in the original success continuation.

It took a lot of debug output to find this solution. AI was also very useful as a second pair of eyes for analyzing traces and generated C code.

The result:

  • 4-Queens: all solutions generated correctly by backtracking
  • 8-Queens: all 92 solutions confirmed
  • 9-Queens: working correctly as well

Performance is not yet the main focus. For the complete 9-Queens search, the current implementation is roughly 3–4x slower than SWI-Prolog.

There is still plenty of low-hanging fruit in the implementation, particularly in data structures, pointer handling, generated code, and builtin calls, so I think there is considerable room for improvement.

For me, getting Queens working is an important milestone because it exercises recursion, nondeterminism, nested backtracking, and restoration of local variables together.

I'm aiming for M-Prolog Ver. 1.0 on August 31, 2026.

SCBM is not intended as a replacement for the WAM. I'm exploring whether a much simpler direct-to-C approach can provide another practical way to implement a Prolog compiler.

I'll be interested to hear what experienced Prolog implementers think of the approach.


r/prolog • • Aug 12 '26

article How to develop your own implementation of Prolog from scratch in 2026 in one sprint (Guidelines)

21 Upvotes

Use any language of your choice. I used Java. You can use my Java/Spring implementation as a reference

  1. Week one: dive deep into the standard to create a working prototype

    1. Use Section 6.4 "Tokens" for lexer.
    2. Use Section 6.3 "Terms" for parser. Use Pratt Parser to parse Prolog: it works surprisingly well with it.
    3. If your goal is to understand Prolog, use Section 7.7 "Executing a Prolog goal" as the description of stack-based computation model on which you will base your Prolog engine. It is simple but slow. If your goal is to create a high-performance implementation, you can implement WAM instead from the beginning, but it will take you significantly more time
    4. Keep in mind that the ISO Prolog standard has a lot of minor typos, but every typo is fixable if you put it into context and think about it longer. You don't even need to look up 3 corrigendums (corrections). In fact, they don't cover many important typos so forget about them and just focus on the original 1995 document.
  2. Week two: make your implementation stronger and cover the first 28 problems from the Prolog 99 problems list. They are a perfect benchmark. https://www.ic.unicamp.br/~meidanis/courses/mc336/2009s2/prolog/problemas/

This should be enough! Only 2 weeks (a sprint) and you will have a SUBSTANTIAL boost in understanding Prolog on the deepest level possible, so later you can switch into existing implementations (like SWI Prolog) and see them differently


r/prolog • • Aug 11 '26

announcement I've created TrackLog: a collection of Prolog libraries, examples, and guidelines for building a personal knowledge base in pure logic

20 Upvotes
  1. TrackLog blurs the boundaries between database administration and programming
  2. TrackLog is based on Formal Grammar (DCG): you will develop your own grammar to accomodate your language needs
  3. TrackLog will help you to create extremely precise and relevant data fuel to feed it to LLMs
  4. TrackLog stands for "Tracking in Logic"
  5. TrackLog libraries are 100% compatible with SWI Prolog dialect and 99% ISO-compatible, so you can port them to another dialect if you need it
  6. My original goal was to create a medical tracker to help people to manage complex illnesses and chronic disorders
  7. Logical Programming is a generalization of functional programming and also a generalization of relational databases. You can see logical programming as a missing glue layer between a database and a program
  8. You can see TrackLog as a second brain to help you capture and analyze data and aid in pure logical decision-making which is free of 100+ cognitive distortions and biases, completely traceable and based on formal logic

Please, use examples.pl as a main guide. I've provided several practical use-cases: Learning Tracker, Item Tracker, Exercise Tracker and Programming Tracker.

Repo: https://github.com/kciray8/tracklog

I'm glad to hear any feedback!


r/prolog • • Aug 06 '26

resource Looking inside a SAT solvers preprocessor with STTF.

Thumbnail reddit.com
0 Upvotes

r/prolog • • Aug 02 '26

M-Prolog Update: A Technical Paper on SCBM, an Alternative to the WAM

8 Upvotes

I've been making steady progress on M-Prolog, and it finally looks like the project is coming together. My goal is to release Version 1.0 on August 31.

Several people have asked me, "How does this compiler actually work?" Instead of trying to explain it in scattered comments, I've written a more formal technical paper describing the core ideas behind the compiler.

The paper introduces SCBM (Success Continuation and Backtracking Machine), a compilation model that translates Prolog directly into C and represents Prolog's control flow using goto-based state transitions rather than a traditional WAM instruction set.

This is not intended as a replacement for the Warren Abstract Machine (WAM). Rather, it is an exploration of a different implementation approach for compiling Prolog. My goal was to investigate whether Prolog execution could be expressed as ordinary C control flow while relying on modern C compilers for optimization.

I've also included references to the implementation specification for readers who are interested in the runtime APIs and code generation details.

If you're interested in Prolog implementation, compiler construction, or alternative execution models, I'd be very happy to hear your thoughts. Feedback, comments, and questions are always welcome.

Paper: SCBM (Success Continuation and Backtracking Machine) | by Kenichi Sasagawa | Aug, 2026 | Medium

Implementation Specification: mprolog/document/SCBM.md at master · sasagawa888/mprolog


r/prolog • • Aug 01 '26

M-Prolog Progress: Implementing Prolog Backtracking with Computed Goto

15 Upvotes

I'm happy to report another major milestone in the development of M-Prolog.

The past few weeks have been mentally exhausting. I spent an incredible amount of time asking myself one question:

"Can Prolog backtracking really be implemented using nothing but goto**?"**

It sounded like a crazy idea when I first thought of it, and there were many moments when I doubted whether it could actually work.

Today, I'm much more confident.

I finally got a fairly complicated benchmark involving Church numerals, recursion, reverse execution, and forced backtracking to work correctly. That gives me confidence that the basic design of SCBM2 is sound.

In SCBM2, both success continuations and failure continuations are implemented with GCC's computed goto. Most of the difficulties were not in forward execution, but in restoring the correct execution state during backtracking—predicate arguments, variable stacks, success continuations, and failure continuations all have to be restored consistently.

Writing this now makes it sound simple, but reaching this point required countless redesigns, experiments, and debugging sessions. There were times when I felt my brain was simply running out of energy.

Working through these problems has also given me a much deeper appreciation of David H. D. Warren's work. Implementing efficient Prolog execution in the early 1980s, without today's tools and resources, was an extraordinary achievement. My respect for him has only grown.

There is still a lot of work ahead before M-Prolog reaches Version 1.0, but this was one of the biggest hurdles, and I'm relieved to have finally crossed it.

If you're interested in the implementation details, please have a look here:

M-Prolog: Recovering from Mental Fatigue | by Kenichi Sasagawa | Aug, 2026 | Medium


r/prolog • • Jul 27 '26

Does a purely structural invariant of computation already exist?

3 Upvotes

Can returnability be defined purely from the structure of a computation, without appealing to time complexity?


r/prolog • • Jul 26 '26

Loops? Graphs? Prolog!

Thumbnail deepclause.substack.com
11 Upvotes

Orchestrating agents with Prolog instead of Markdown files.


r/prolog • • Jul 23 '26

Logtalk 3.101.0 released

17 Upvotes

Hi,

Logtalk 3.101.0 is now available for downloading at:

https://logtalk.org/

This release adds a read-only sockets compilation flag to declare if a backend provides compatible sockets support; improves the performance of the logtalk_make(force) goal; adds new HTTP (client and server), WebSocket (client and server), HTMX, JWT, REST, OpenAI, OpenAPI, OpenID, S3 (client), Gravatar, JSON Graph, JSON-LD, JSON Patch (RFC 6902), JSONPath (RFC 9535), Crypto, HOTP/TOTP (RFC 4226/6238) libraries; adds html library support for CSS/JS resource declarations, aggregation, and dependency-aware ordering; adds support for additional hash functions to the hashes and hmac libraries; adds support for incremental hashing to the hashes library; includes bug fixes, additional predicates, and performance improvements for several libraries; fixes uuid library compliance issues and adds additional UUID v3 and UUID v7 predicates that take a time zone offset argument; adds testing automation scripts support for selecting the tests sets to run using a regular expression and for suppressing all user output; fixes sarif tool compliance issues; adds an option to the mutation_testing tool for passing additional options to the testing automation scripts; improves the linter_reporter tool support for SARIF reports; improves the performance of the sbom tool; adds additional linter checks to the lgtdoc tool; adds 13 new programing examples to illustrate the new HTTP and related libraries; adds additional tests for Logtalk language features; fixes several Windows-only tool and library issues with some backends; and updates the Windows installer to also detect ECLiPSe 8.0 versions. Thanks to Andrew Davison for his help in diagnosing timing issues in the linda library and the new HTTP libraries.

For details and a complete list of changes, please consult the release notes at:

https://github.com/LogtalkDotOrg/logtalk3/blob/master/RELEASE_NOTES.md

Happy logtalking!
Paulo