U
Ulrich Scholz
I enjoy programming (and thinking) in Prolog but the reality requires
Java. Now I try to use the best of the former with the latter.
Backtracking can be simulated in Java via enumerators so that seems to
be no problem.
But how to realize Prolog-style pattern matching? A gigant if-then-
else of case construct is too complex and confusing; a solution via
reflection seems to be unefficient.
Any ideas, suggestions? Literature references?
Thanks,
Ulrich
Java. Now I try to use the best of the former with the latter.
Backtracking can be simulated in Java via enumerators so that seems to
be no problem.
But how to realize Prolog-style pattern matching? A gigant if-then-
else of case construct is too complex and confusing; a solution via
reflection seems to be unefficient.
Any ideas, suggestions? Literature references?
Thanks,
Ulrich