Live data from Hacker News

Tau Prolog: A Prolog Interpreter in JavaScript

tau-prolog.org

1–9 of 9 posts

Re: Tau Prolog: A Prolog Interpreter in JavaScript

#6
post #4

Does anyone here have insight into the different Prolog implementations and the key considerations that go into designing an optimal engine?

I don't have much to add other than that the Warren Abstract Machine seems to be particularly popular as an abstract model for implementing Prolog. If you haven't looked into it yet, this may be a good start for you.

http://wambook.sourceforge.net/wambook.pdf

Re: Tau Prolog: A Prolog Interpreter in JavaScript

#8
post #2

Amazing! Prolog is my favorite language. I will definitely give this a good try, and have fun with it. So cool!

Could you please link some good tutorials that you like? I was always interested in its usage to build my own simple AI system.

The undergraduate logic programming course I took used Learn Prolog Now! which is available online for free. [1] I found it to be pretty straightforward and helpful.

[1] http://www.learnprolognow.org/lpnpage.php?pageid=online

Re: Tau Prolog: A Prolog Interpreter in JavaScript

#9
post #2

Amazing! Prolog is my favorite language. I will definitely give this a good try, and have fun with it. So cool!

Could you please link some good tutorials that you like? I was always interested in its usage to build my own simple AI system.

I've enjoyed these:

http://www.amzi.com/AdventureInProlog/index.php

https://www.metalevel.at/prolog

And I'm currently working my way through this book: https://mitpress.mit.edu/books/art-prolog-second-edition (free PDF available)