jan's home page logic programming previous next latest

Prolog in Javascript

Version three includes that bane of the Prolog programmer's life, cut. The parser currently recognises ! and cut() as one and the same thing.

We also add support for call/1 and fail/0 here, which lets us write not/1!

Enter your query: