title: How to use Jflex and Bison Together?
body: <p>I am really struggling to use Jflex and Bison together. For example, here's some sample code:</p>
  <p><a href="https://github.com/valecor95/bison-flex-jflex-examples/tree/master/Java/1_BalancedParentheses/BalPar1" rel="nofollow noreferrer">https://github.com/valecor95/bison-flex-jflex-examples/tree/master/Java/1_BalancedParentheses/BalPar1</a></p>
  <p>You run <code>make</code>:
  <a href="https://i.stack.imgur.com/PZ1Dh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PZ1Dh.png" alt="enter image description here" /></a></p>
  <p>It just makes a load of files, and then if I want to test to see if it succeeds with the parser (stuff in a file called test.txt), I just can't. It's forced to take in System.in. It's really frustrating as there's very little readable and simple documentation for JFLEX and bison.</p>
  <p>Any advice at all would be much appreciated.</p>