title: Template based - Code generator framework or tool
body: <h1>Summary</h1>
  
  <p>Based on the template need to generate a code, Output needs to be a Java/DotNet code </p>
  
  <h1>Analyses</h1>
  
  <p>Using the yeoman (<a href="https://yeoman.io/generators/" rel="nofollow noreferrer">https://yeoman.io/generators/</a>). Created a Java -> 
  Hello World code generator. </p>
  
  <p>Which takes the string as input and map that in the sysout. </p>
  
  <h1>Code</h1>
  
  <pre><code>class HelloWorld {
   public static void main(String args[]){
       System.out.println("Hello World");
   }
  }
  </code></pre>
  
  <p>Yeoman template code</p>
  
  <pre><code>Template folder contains --&gt; &lt;className&gt;Class.java.ejs
  
  Input Args--&gt; &lt;className&gt; , &lt;message&gt;
  
  Input value --&gt; HelloWorld, Welcome
  
  class &lt;%= className%&gt;Class {
   public static void main(String args[]){
       System.out.println(&lt;%= "message"%&gt; );
   }
  }
  </code></pre>
  
  <p>Output:
  HelloWorldClass.java</p>
  
  <p>Based on the inputs, Values will map in the template and finally. I will get  className.java class.</p>
  
  <h1>Expected</h1>
  
  <p>For the template based code generator Found "yeoman" framework uses development language as node.js. Its pretty good.</p>
  
  <blockquote>
    <p>Like this any other template based code generator framework available in Python or node or js?</p>
  </blockquote>