Yield Prolog lets you embed
Prolog programs directly in Python, C# or JavaScript
by using the yield
keyword, which
automatically creates iterators that you can nest, combined with Yield
Prolog's Variable class
which can unify a variable with other values (just like in
Prolog).There is no "API" standing between your code and Yield Prolog,
because
you just use the yield
keyword to make "iterator functions" wherever you need them. Yield
Prolog is pa...
more
Yield Prolog lets you embed
Prolog programs directly in Python, C# or JavaScript
by using the
yield
keyword, which
automatically creates iterators that you can nest, combined with Yield
Prolog's
Variable class
which can unify a variable with other values (just like in
Prolog).There is no "API" standing between your code and Yield Prolog,
because
you just use the
yield
keyword to make "iterator functions" wherever you need them. Yield
Prolog is part of your code, which can mix Prolog-style predicates
directly with ordinary arrays, file I/O, GUI calls and all your own
classes. Because it lets you mix these, Yield Prolog unifies the
logical and
imperative programming models.
less