antlr/stringtemplate4
antlr/stringtemplate4 has 1,033 GitHub stars and 233 forks. Star changes are not measured yet. Last checked 2026-11-09 11:48 UTC. Last push 2025-05-14.
StringTemplate 4
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalST (StringTemplate) is a java template engine (with ports for C#, Python, and Objective-C coming) for generating source code, web pages, emails, or any other formatted text output. ST is particularly good at multi-targeted code generators, multiple site skins, and internationalization / localization. It evolved over years of effort developing jGuru.com and then ANTLR v3.
The main website is:
Its distinguishing characteristic is that it strictly enforces model-view separation, unlike other engines. See:
The documentation is in this repo
https://github.com/antlr/stringtemplate4/tree/master/doc/index.md
Per the BSD license in LICENSE.txt, this software is not guaranteed to work and might even destroy all life on this planet.
INSTALLATION
Manual Installation
All you need to do is get the StringTemplate jar into your CLASSPATH. See Java StringTemplate.
Maven
To reference StringTemplate from a project built using Maven, add the following
to the <dependencies> element in your pom.xml file.
<dependency>
<groupId>org.antlr</groupId>
<artifactId>ST4</artifactId>
<version>4.3.4</version>
<scope>compile</scope>
</dependency>
Gradle
In build.gradle, add the following dependency:
dependencies {
// ...
// https://mvnrepository.com/artifact/org.antlr/ST4
compile group: 'org.antlr', name: 'ST4', version: '4.3.4'
}
Make sure you are using the mavenCentral repository by adding it if necessary:
repositories {
// ...
mavenCentral()
}
Other
Select a version on mvnrepository, and copy the snippet relevant to your build tool.
BUILDING FROM SOURCE
The source is at github.com:
If you would like to make changes to ST and build it yourself,
just run mvn install from the root directory of the repo.
You can also run ant from the root dir.
Dev Tools
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,597 starspublic-apis/public-apis
A collective list of free APIs
497,924 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
449,772 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,299 stars