I am trying to run the code from the exercises from Chapter 8 of the PCGBook. They use clingo but don't say what version they are using. When I downloaded the latest version of Clingo from Potassco's sourceforge (version 4.5.4), it gives me lexer errors. I assume this is because the syntax has been changed between Gringo 3 and Gringo 4. On the Potassco website they say this and give a remedy for fixing it by downloading both versions of Gringo, but they don't say how to have both referenced when running programs with Clingo. I downloaded Gringo 3.0.0 and replaced the gringo.exe, but the clingo.exe has been compiled with the latest version of Gringo.
How do I download the latest version of Clingo, or the latest compatible version, with Gringo 3?