Jump to content
darnocian

Sempare Template Engine v1.7.0 released

Recommended Posts

Hi all,

 

I'm pleased to announce the new release (v1.7.0) of the Sempare Template Engine. It has been a while, and thought I'd just remind any users here about the project. 

 

Also included are some demos... for apps in general, there is a new helper class TTemplateRegistry, which should make things much easier to just get going and supports template reloading without restarting the app and can load templates from file, resources, or custom a loader. This takes some of the grunt work out of working with templates, besides just using them. More information is available in the docs on the repo. Some simple examples are provided to illustrate server side scripting. If you have any suggestions, or see any gaps, please feel free to provide comments on the issue tracker.

- Demo using the Horse framework

- Demo using WebBroker standalone console app

 

New features:

- improved support for comments

- extends/block template support

- improved whitespace removal

- renamed demo app to Sempare Template Engine Playground - a useful tool for testing language features / templates.

- added the Sempare.Template.RCGenerator project to help with creating resource rc files by scanning directories.

- support multiple statements in a script block. e.g. <% print('a'); print('b') %>

- additional context configuration 

- improved docs (improved navigation and added railroad diagrams to illustrate the grammar)

 

Older release notes can be viewed on the releases page.

 

Have fun.

 

 

 

  • Like 1
  • Thanks 3

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×