How CodeStencil Works

The concept of code generation within CodeStencil is quite simple - Keyword string replacement.

You can define any expansion Label for a string that needs to be replaced and then CodeStencil does the rest.

CodeStencil is simply an IDE that helps you intelligently use an existing codebase to build a stencil (stencils are similar to templates) that can be used to generate structured code which now gives you the option to define strings for replacement.

From the screenshot below, NAMESPACE will be replace by "Dolasoft" during code generation:

 

Unlike standard code generators, you do not need to learn a template language. If you do not want to build your Stencil from scratch, you can create it within minutes from already generated code (See how, here). 

For example, if you want to insert a string (during code generation) representing your namespace, all you need to do is define the Expansion String and the replacement text in the Expander panel.

Expansion labels are defined inside Expanders.

 

 

Code Generation with CodeStencil is an easy process that does not require learning a new templating language.

 CodeStencil

 

© 2018 CodeStencil - Zera Systems Inc. All Rights Reserved.

No items in cart