[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[OT] Logic Programming

benjohn

5/1/2007 1:36:00 PM

Hello everyone.

Following a Ruby Quiz posting a while a go, and various prior mentions
of Prolog, I ventured off and had an explore on Wikipedia:

http://en.wikipedia.org/wiki/Logic_p...

Opinion piece:

My interest here is that I'm unimpressed with the current state of
programming. My feeling is that we've gone off down the wrong route with
imperative programming and with OO. Mostly I have this feeling because
there are many things that I want to express, which I don't think are
particularly complex, but which seem hard to express with programs. I
find I need to say a lot more than I feel I should need to. I also
believe that our current approaches are much too brittle under change
(probably partly because we have to say too much in the first place).

Some of the logic ideas seem to line up with things I've been thinking
about, but they've actually got something to work ;-) So that got me
interested.

The question part:

So I'd like to have a play about with logic programming, but looking at
implementations, my enthusiasm is a bit damped. I was hoping for a
lovely graphical environment to start playing with. I'm developing on OS
X. I'm not specifically interested in Prolog alone - anything in this
area would be good. Can someone suggest tools I should be looking at for
getting a feel for the ideas? I've found this:

http://www.clip.dia.fi.upm.es/Soft...

But it's instal from source, which is often a bad beggining for me :-(

Thanks in advance,
Benjohn


4 Answers

Chris Lowis

5/1/2007 2:28:00 PM

0


> area would be good. Can someone suggest tools I should be looking at for
> getting a feel for the ideas?

Is this of interest to you ?

"Logic programming in Ruby: a tiny prolog interpreter and symbolic
computation"
http://eigenclass.org/hiki.rb?tiny+prol...

Sorry if I misunderstood what you were looking for.

Kind regards,

Chris

--
Posted via http://www.ruby-....

benjohn

5/1/2007 2:57:00 PM

0

>
>> area would be good. Can someone suggest tools I should be looking at
>> for
>> getting a feel for the ideas?
>
> Is this of interest to you ?
>
> "Logic programming in Ruby: a tiny prolog interpreter and symbolic
> computation"
> http://eigenclass.org/hiki.rb?tiny+prol...
>
> Sorry if I misunderstood what you were looking for.

No, that's exactly the right kind of thing. There're some useful looking
links in there too. Thanks very much!



Libra

5/1/2007 3:00:00 PM

0

benjohn@fysh.org ha scritto:
> http://www.clip.dia.fi.upm.es/Soft...
>
> But it's instal from source, which is often a bad beggining for me :-(

It does not have anything to share with Ruby, anyway try to
have a look at Gecode, it also come with a pre-compiled version:

"Gecode is an open, free, portable, accessible, and
efficient environment for developing constraint-based
systems and applications."

http://www.g...

There is also Gecode/J, Java interface for the Gecode C++
constraint programming library. It also has Gist, a
Graphical Interactive Search Tool.

http://www.g...gecodej/
Bye
Libra

> Thanks in advance,
> Benjohn

benjohn

5/1/2007 3:19:00 PM

0

> benjohn@fysh.org ha scritto:
> > http://www.clip.dia.fi.upm.es/Soft...
>>
>> But it's instal from source, which is often a bad beggining for me :-(
>
> It does not have anything to share with Ruby, anyway try to
> have a look at Gecode, it also come with a pre-compiled version:
>
> "Gecode is an open, free, portable, accessible, and
> efficient environment for developing constraint-based
> systems and applications."
>
> http://www.g...
>
> There is also Gecode/J, Java interface for the Gecode C++
> constraint programming library. It also has Gist, a
> Graphical Interactive Search Tool.
>
> http://www.g...gecodej/
> Bye
> Libra

Thanks! That lokos like a good start.