title: Creating a simple Domain Specific Language
body: <p>I am curious to learn about creating a domain specific language. For now the domain  is quite basic, just have some variables and run some loops, if statements.</p>
  
  <p><em>Edit :The language will be Non-English based with a very simple syntax .</em></p>
  
  <p>I am thinking of targeting the Java Virtual Machine, ie compile to Java byte code.</p>
  
  <p>Currently I know how to write some simple grammars using ANTLR.</p>
  
  <p>I know that ANTLR creates a lexer and parser but how do I go  forward from here?</p>
  
  <ul>
  <li>about semantic analysis: does it have to be manually written or are there some tools to create it?</li>
  <li>how can the output from the lexer and parser be converted to Java byte code?</li>
  <li>I know that there are libraries like ASM or BCEL but what is the exact procedure?</li>
  <li>are there any frameworks for doing this? And if there is, what is the simplest one?</li>
  </ul>