title: tokenize long list using DCG
body: <p>if I want to tokenize a long list using DCG, what is the preferable methode between the two predicate below ;</p>
  
  <p><strong>1- using ['terminal']</strong></p>
  
  <pre><code>some_terminals(T) --&gt;
       ['this('],end(T),[')END'].
  </code></pre>
  
  <p><strong>2-using "terminal"</strong>    </p>
  
  <pre><code>some_terminals(T) --&gt;
       "this(",end(T),")END".
  end(T)--&gt;[T].
  </code></pre>
  
  <p><strong>Other question</strong></p>
  
  <p>what is the difference between <code>;</code> and <code>|</code></p>