Here is the problem and a specialized version of solution. Learning Prolog: solving a crossword scheme
What I am looking for is a generalized solver using the same model. I think I need to generate those variable names on the fly but I don't know how. I am using swi-prolog.
By generalized solver, I mean a solver capable of solving N by N crossword puzzle, N is NOT predefined.