title: Generating Bytecode for Program for which a Compiler was build using ANTLR 4 with Java
body: <p>I am currently developing a compiler for a particular programming language with ANTLR 4 and Java and now I would like to generate Bytecode or CIL for any program written in that particular languaje but I am not sure where to begin.</p>
  
  <p>I have searched many pages but unable to find any tutorials and whatever example I find does not properly explain the proceedures. I have seen that a helpful library is <code>asm</code> but I don't understand it's implementation.</p>
  
  <p>Can anyone assist me as to the the preferred library and it's implementation with a possible example?</p>