K
_Kevin
Anyone had any experience interfacing Prolog with Ruby?
_Kevin
_Kevin
_Kevin said:Anyone had any experience interfacing Prolog with Ruby?
_Kevin
open source platform, all you'd need to do would be to install a Prolog
interpreter/compiler, and then build Prolog source with Ruby and "shell
out" to Prolog. Is there something more "intimately interconnected" you
had in mind?
Yacao said:Actually I've been thinking of creating an auto-backtracking engine for
ruby
based on the Prolog engine, because it's so much fun to play with
non-deterministic programming. But I haven't got the time to do it. Has
anyone have similar ideas or implementations?
Gentoo's Portage repository. There are about five of them, plus another
package for logic programming called "mercury". All of them appear to be
callable as libraries from C, which means you could wrap them as C
extensions fairly easily with SWIG, or even by hand. As usual, a lot of
this magic works well on Linux, probably almost as well on MacOS and
Solaris, possibly on CygWin and probably with some heavy lifting on
native Windows.
Actually I've been thinking of creating an auto-backtracking engine
for ruby
based on the Prolog engine, because it's so much fun to play with
non-deterministic programming. But I haven't got the time to do it.
Has
anyone have similar ideas or implementations?
Eleanor said:I've been considering implementing Icon-style backtracking for some
time, but I'm always too busy with less interesting (but paid) projects.
Ruby with goal-oriented convenience would certainly rock
Ellie
Eleanor McHugh
Games With Brains
I've started working on Prolog as a Ruby DSL, but haven't got anythingEleanor said:I've been considering implementing Icon-style backtracking for some
time, but I'm always too busy with less interesting (but paid)
projects. Ruby with goal-oriented convenience would certainly rock
Yacao Wang said:Actually I've been thinking of creating an auto-backtracking engine for ruby
based on the Prolog engine, because it's so much fun to play with
non-deterministic programming. But I haven't got the time to do it. Has
anyone have similar ideas or implementations?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.