Script started on XXXXXXXXXXXXXXXXXXXXXXXX moxie > pl Welcome to SWI-Prolog (Multi-threaded, Version 5.6.3) Copyright (c) 1990-2005 University of Amsterdam. SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Please visit http://www.swi-prolog.org for details. For help, use ?- help(Topic). or ?- apropos(Word). ?- ['d.p']. % io.p compiled 0.00 sec, 8,872 bytes % process.p compiled 0.00 sec, 12,072 bytes % d.p compiled 0.02 sec, 27,696 bytes Yes ?- cvt(data2). DEBUG place a red square at 1 1 with side 5 . DEBUG continuing translation ... DEBUG leaves remainder X = [] recognized that DEBUG place a blue square at 2 1 with side 6 . DEBUG continuing translation ... DEBUG leaves remainder X = [] recognized that DEBUG move it to 3 5 . DEBUG continuing translation ... DEBUG leaves remainder X = [] recognized that DEBUG what color squares are present ? DEBUG continuing translation ... red blue DEBUG leaves remainder X = [] recognized that DEBUG are there any red squares present ? DEBUG continuing translation ... yes DEBUG leaves remainder X = [] recognized that DEBUG are there any blue squares present ? DEBUG continuing translation ... yes DEBUG leaves remainder X = [] recognized that DEBUG how big is the square at 3 5 ? DEBUG continuing translation ... Side of length 6 DEBUG leaves remainder X = [] recognized that DEBUG stop . Yes ?- halt. moxie > exit moxie > script done on XXXXXXXXXXXXXXXXXXXXXXXX