CSEC-PRACTICE

Prolog

Compiler settings

We use swipl 8.4.2 to compile your program with the following command:

$ swipl -O -q -g main -t halt -o {executable} -c {files}

  • {files} is a space-separated list of all files.
  • {executable} is the compiled executable.

File Extensions

Files with any of the following file extensions will be used: .pl

Additional information

Additional language-specific advice and information for many languages is available in the knowledge base