News for hackers. Stuff that matters.
Re:The Art of Prolog, Second Edition by yazr on Wednesday October 10, 2018 @04:05PM (#18188372)
1986 Art of Prolog..

Can someone say which (who?) are the "Prolog for the 21st century" and the "Lisp of the 21st century" ?!

Re:The Art of Prolog, Second Edition by mthom on Wednesday October 10, 2018 @04:32PM (#18188574)
I'd venture to say.. Prolog and Shen. Specifically, I am implementing a modern Prolog in Rust that will encompass the results of some more recent (ie. current century) research within the logic programming/Prolog community. It's here:

http://github.com/mthom/rusty-wam

Re:The Art of Prolog, Second Edition by yazr on Wednesday October 10, 2018 @04:39PM (#18188642)
Is this more about new language constructs or a better run-time execution/solver ?
Re:The Art of Prolog, Second Edition by mthom on Wednesday October 10, 2018 @04:52PM (#18188766)
New language constructs. The 'WAM' in the name refers to the Warren Abstract Machine, one of the more efficient ways to implement Prolog in a procedural language.

Also, using the SICStus interface and semantics for attributed variables should make for some very general constraint solvers, yes.

Re:The Art of Prolog, Second Edition by nextos on Wednesday October 10, 2018 @05:39PM (#18189151)
What do you think about answer-set programming vs more general solvers like SICStus.
Re:The Art of Prolog, Second Edition by mthom on Thursday October 11, 2018 @09:45AM (#18193463)
I don't know enough about answer set programming to give much of an answer. Sorry.
Re:The Art of Prolog, Second Edition by simplify on Wednesday October 10, 2018 @04:28PM (#18188544)
Mercury is a promising logic programming language that's under development https://github.com/Mercury-Language/mercury

Tutorial available here (the "Ralph Becket Murcury tutorial" pdf) http://mercurylang.org/documentation/documentation.html

Re:The Art of Prolog, Second Edition by timb07 on Wednesday October 10, 2018 @08:56PM (#18190261)
The Mercury compiler is written in Mercury, which is syntactically derived from Prolog. The original compiler was bootsrapped by stripping the non-Prolog parts from the code and executing it on NU-Prolog. The compiler first successfully compiled itself in 1995, after which NU-Prolog was no longer needed.

And just to tie this back to the original topic, Leon Sterling (first author of The Art of Prolog) was the head of the Department of Computer Science at the University of Melbourne when the development of Mercury began there.

Re:The Art of Prolog, Second Edition by radiator on Wednesday October 10, 2018 @04:23PM (#18188504)
Hmmm... perhaps Prolog and Lisp?
Re:The Art of Prolog, Second Edition by protomyth on Wednesday October 10, 2018 @05:14PM (#18188960)
Re:The Art of Prolog, Second Edition by yazr on Wednesday October 10, 2018 @04:35PM (#18188595)
As in, "fill-in-the-spaces will soon free us from the tyranny of imperative programming"...
Re:The Art of Prolog, Second Edition by paulmd on Wednesday October 10, 2018 @05:08PM (#18188909)
> Hmmm... perhaps Prolog and Lisp?

"when the proof search accidentally returns the trivial case"

Re:The Art of Prolog, Second Edition by jimbokun on Wednesday October 10, 2018 @05:04PM (#18188868)
"Prolog for the 21st century" is Erlang.
Re:The Art of Prolog, Second Edition by zerr on Wednesday October 10, 2018 @05:44PM (#18189185)
Not at all. All they have in common are comma and dot, and even the semantics is different for these.