Prolog interpreter

Requires modern browser that supports ES6 generators. See the article for implementation details.

Rules

Query

Answers