Embedded GorillaScript template generator

egs is a library used to produce and render text templates that have embedded GorillaScript code in them.

A template may look like something like this:

Dear <%= name %>,

<%-- This is a comment, not rendered --%> We regret to inform you that your son or daughter, <%= child-name %> did not attend school today.

<% if suspended: %> We have no choice but to suspend your child until further notice. <% end %>

    <%= administrator-name %>

Arbitrary code can be placed inside <% %> and text that is to be written inside <%= %>. These tokens can be customized.

For documentation, see

To suggest a feature or report a bug:

If you have questions or would like to chat about GorillaScript, join us at #gorillascript on Freenode IRC or on

Source repository: git://