KL1 is a programming language from the 1980s Japanese 5th Generation project. It's a committed-choice logic programming language derived from Prolog, but (perhaps fatally) not particularly compatible with Prolog.
Nevertheless, I find it very academically interesting. So I was pleased to see that it has been revived for modern systems. Especially, I thought it was limited to 32-bit machines but today I succeeded in getting it working on a 64-bit M1 Mac.
=> KLIC revival
The first step is to configure the release tarball:
=> New config.sh template | Patch to apply to "Configure" | Some details on the macOS dyld shared cache
Now the sequence of "gmake all", "gmake tests", "gmake disttests" and "gmake install" should all succeed. And you can compile and run your own code too.
I think I still prefer Mercury, I like the option of running on Windows. But a bit like Emacs, it's impressive how KLIC's initial design made maintenance feasible over this timespan.
=> Back to my gemlog This content has been proxied by September (ba2dc).Proxy Information
text/gemini