Title
StringTemplate
Go Home
Category
Description
Address
Phone Number
+1 609-831-2326 (US) | Message me
Site Icon
StringTemplate
More From This Site
Page Views
0
Share
Update Time
2022-05-27 13:03:10

"I love StringTemplate"

www.stringtemplate.org VS www.gqak.com

2022-05-27 13:03:10

StringTemplate What is StringTemplate?StringTemplate is a java template engine (withports for C#, Objective-C, JavaScript, Scala) for generating source code, webpages, emails, or any other formatted text output. StringTemplate isparticularly good at code generators, multiple site skins, andinternationalization / localization. StringTemplate also powers ANTLR.Terence Parr is the maniac behind ANTLR and has beenworking on language tools since 1989. He is a professor of computerscience at the University of San Francisco.Quick StartSamplesSamplesQuick StartOS X$ cd /usr/local/lib$ sudo curl -O http://www.stringtemplate.org/download/ST-4.3.3.jar$ export CLASSPATH=".:/usr/local/lib/ST-4.3.3.jar:$CLASSPATH"Linux$ cd /usr/local/lib$ wget http://stringtemplate.org/download/ST-4.3.3.jar$ export CLASSPATH=".:/usr/local/lib/ST-4.3.3.jar:$CLASSPATH"Windowsimport org.stringtemplate.v4.*;...ST hello = new ST("Hello, !");hello.add("name", "World");String output = hello.render();System.out.println(output);Hello, World!Latest NewsTweets by @the_antlr_guyTestimonialsThe decision to use Antlr and StringTemplate for Oracles next generation Migration and SQL Developer features was easy due to the fantastic support on the forums, extensive documentation and great tools. In particular, the ability to parse trees and define target languages using StringTemplate, provided the end to end language translation technology we required. Dermot O'Neill, Oracle Senior Software EngineerStringTemplate is one of the coolest tools everI find these set of tools to be one of my core tools when developing complex apps. This time, I have been using StringTemplate to develop another code generator for PostgreSQL and .NET. Terence you are great. Gevik BabakhaniStringTemplateis fantastic! We use StringTemplate as our presentationengine for our rapid code development tool Hannibal. We choseStringTemplate over other templating engines for its ease of use, itsversatility, and it disciplined approach to templating. We use it togenerate code in multiple languages as well as to create XHTML andHTML code for presentation purposes. Bediako GeorgeMore...ResourcesUsing ST in with ANTLR? Check out the books:Introduction to ST (v4)ST DocumentationRuntime API v4 (API v3)Browse source tree (github)Frequently Asked QuestionsANTLR Parser Generator