Documentation for StringTemplate 4.0 C#

798 views
Skip to first unread message

bishops...@gmail.com

unread,
Jan 16, 2013, 6:19:52 PM1/16/13
to stringtempla...@googlegroups.com
Is there any documentation for StringTemplate 4.0 for C#? I've looked all over the stringtemplate.org website and can't find anything. It would be nice even to have some source code. Very frustrating.

Terence Parr

unread,
Jan 16, 2013, 6:52:39 PM1/16/13
to stringtempla...@googlegroups.com
Hi. Unfortunately, I don't think we have any v4 ST examples for C#.

@Sam?

Ter
--
Dictation in use. Please excuse homophones, malapropism, and nonsense.

Sam Harwell

unread,
Jan 17, 2013, 11:04:42 AM1/17/13
to stringtempla...@googlegroups.com
Right now there isn't too much. You might try looking at the ST 4 unit tests in C# for some ideas.
https://github.com/antlr/antlrcs/tree/master/Antlr4.Test.StringTemplate

It many ways it works like the Java library, with the primary difference being class names containing "ST" in the Java library use "Template" in the C# version.

* ST -> Template
* STGroup -> TemplateGroup
* STGroupFile -> TemplateGroupFile
* STWriter -> ITemplateWriter

--
Sam Harwell
Owner, Lead Developer
http://tunnelvisionlabs.com
--
You received this message because you are subscribed to the Google Groups "stringtemplate-discussion" group.
To post to this group, send email to stringtempla...@googlegroups.com.
To unsubscribe from this group, send email to stringtemplate-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/stringtemplate-discussion/-/2XZIlcRxZ04J.
For more options, visit https://groups.google.com/groups/opt_out.




Reply all
Reply to author
Forward
0 new messages