Are there any I wrote a program that solves sudoku puzzles, and it launches 3 steps.
> prolog
> consult(sudoku).
> solve(puzzle).
I'm looking for a way to do something like
> prolog puzzle
and get it over with. Is there a way to do this in Prolog? Or I need to write some helper program in C or some other language to use, for example
> ./solve puzzle
Any help would be greatly appreciated. Still new to Prolog, and you have trouble finding good documentation.
source
share