title: Compiling and executing the Shakespeare Programming Language translator spl2c on Mac OS X 10.6 results in warnings/errors
body: <p>I wanted to experiment with the <a href="http://shakespearelang.sourceforge.net/report/shakespeare/" rel="noreferrer">Shakespeare programming language</a>, so I downloaded it from <a href="http://shakespearelang.sourceforge.net/" rel="noreferrer">here</a> and executed the Makefile using <code>cd spl-1.2.1</code> <code>Make</code>. </p>
  
  <p>The compilation of <code>spl2c</code> executes with a couple warnings:</p>
  
  <pre><code>scanner.l:600: warning, rule cannot be matched
  &amp;lt;stdout&gt;:5808: warning: ‘yyunput’ defined but not used
  </code></pre>
  
  <p>And then when it attempts to compile all the examples everything goes haywire:</p>
  
  <pre><code>../spl/bin/spl2c &lt; fibonacci.spl &gt; fibonacci.c
  Warning at line 19: equality expected
  Warning at line 28: equality expected
  Warning at line 30: comment expected
  Warning at line 30: comment expected
  Warning at line 30: comment expected
  Warning at line 30: comment expected
  Warning at line 32: comment expected
  Warning at line 32: comment expected
  Warning at line 32: comment expected
  Warning at line 32: comment expected
  Warning at line 34: comment expected
  Warning at line 34: comment expected
  Warning at line 34: comment expected
  Warning at line 34: comment expected
  Warning at line 36: comment expected
  Warning at line 36: comment expected
  Warning at line 37: comment expected
  Warning at line 37: comment expected
  Warning at line 37: comment expected
  Warning at line 37: colon expected
  Warning at line 40: equality expected
  Warning at line 51: comment expected
  Warning at line 51: comment expected
  Warning at line 51: comment expected
  Warning at line 51: comment expected
  Warning at line 51: comment expected
  Warning at line 51: colon expected
  Error at line 59: 'act [roman number]' or 'scene [roman number]' expected
  1 errors and 27 warnings found. No code output.
  </code></pre>
  
  <p>Can anybody point me in the right direction for fixing this? My original project was going to be learning spl, not leaning to debug compilers (I'd actually like to write my own compiler eventually, but I'd prefer to stick with my initial project for now).</p>
  
  <p>I'm running <code>OS X 10.6.2</code>, <code>gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)</code>, <code>flex 2.5.35</code>, and <code>bison (GNU Bison) 2.3</code>.</p>
  
  <p>EDIT: For simple programs not requiring gotos (e.g. hello.spl) you can get around the issue by deleting all ACT/SCENE lines except the first ACT I/SCENE I.</p>