kaby76 / Domemtech.StringTemplate4

C# StringTemplate, v4
BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

Antlr4 StringTemplates for C# Library

This is a fork of the C# String Template repo. The old repo here has not been maintained for years, doesn't build with the Net6 SDK or VS2022. Since I only need to use StringTemplate4, and not the rest of the software in the repo, I removed all but the essentials for StringTemplate.

This library is a "netstandard2.0" library, which should be compatible with up-to-date frameworks. I have uploaded it to NuGet: Domemtech.StringTemplate4.

History

As far as I can tell, the start of changes in StringTemplate4 for Java that wasn't applied to the C# version was this commit. That puts the code divergence since at least July 16, 2016.

Documentation

Refer to the StringTemplate Home for instructions on how to use. Note, the API classes and methods differ from the doc. E.g., ST in Java is Template in C#. Why would it be any other way?

Ken Domino March 12, 2021