29%29">DCG Grammar rules</a>.    </p>

<h1>Usage</h1>

<p>To use the program you need to consult the file <em>analyzer.pl</em> from the XPCE environment.</p>

<p>Afterwards the <em>main/1</em> predictate needs to be called with the filename to analyze, including the file extension.</p>

<p>If all goes well, yes is returned, otherwise an error message referring to the line where the error ocurred and the token expected is given. </p>

<pre><code>C:\analyzer&gt;"c:\Program Files (x86)\swipl\bin\swipl.exe
Welc