title: ANTLR 4 + Portable Class Library
body: <p>I have been trying to use ANTLR 4 to create a parser that will run in a .net PCL.  The parser generation can use whatever, but the parser itself has to run in a PCL as it will be deployed to mobile devices.</p>
  
  <p>There is a PCL runtime for ANTLR 4 <a href="https://github.com/sharwell/antlr4cs" rel="nofollow">here</a>.  It does build.  But I can't figure out how to setup ANTLR as a whole to generate a PCL-compatible parser.  How can I do that?</p>