{"id":13458656,"url":"https://github.com/antlr/stringtemplate4","last_synced_at":"2025-05-14T05:10:38.608Z","repository":{"id":39228983,"uuid":"501689","full_name":"antlr/stringtemplate4","owner":"antlr","description":"StringTemplate 4","archived":false,"fork":false,"pushed_at":"2024-07-09T05:37:00.000Z","size":3056,"stargazers_count":971,"open_issues_count":47,"forks_count":233,"subscribers_count":56,"default_branch":"master","last_synced_at":"2025-04-09T02:15:13.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.stringtemplate.org","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antlr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-02-04T01:37:35.000Z","updated_at":"2025-04-04T13:35:54.000Z","dependencies_parsed_at":"2024-01-03T01:26:09.223Z","dependency_job_id":"1c6e4275-b476-49cf-8144-b56efc3063b6","html_url":"https://github.com/antlr/stringtemplate4","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fstringtemplate4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fstringtemplate4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fstringtemplate4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fstringtemplate4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antlr","download_url":"https://codeload.github.com/antlr/stringtemplate4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076850,"owners_count":22010611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T09:00:54.930Z","updated_at":"2025-05-14T05:10:38.590Z","avatar_url":"https://github.com/antlr.png","language":"Java","readme":"ST (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.\n\nThe main website is:\n\n\u003e https://www.stringtemplate.org\n\nIts distinguishing characteristic is that it strictly enforces\nmodel-view separation, unlike other engines. See:\n\n\u003e https://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf\n\nThe documentation is in this repo\n\n\u003e https://github.com/antlr/stringtemplate4/tree/master/doc/index.md\n\nPer the BSD license in [LICENSE.txt](LICENSE.txt), this software is not\nguaranteed to work and might even destroy all life on this planet.\n\n## INSTALLATION\n\n### Manual Installation\n\nAll you need to do is get the StringTemplate jar into your `CLASSPATH`. See [Java StringTemplate](doc/java.md).\n\n### Maven\n\nTo reference StringTemplate from a project built using Maven, add the following\nto the `\u003cdependencies\u003e` element in your **pom.xml** file.\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eorg.antlr\u003c/groupId\u003e\n  \u003cartifactId\u003eST4\u003c/artifactId\u003e\n  \u003cversion\u003e4.3.4\u003c/version\u003e\n  \u003cscope\u003ecompile\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\nIn `build.gradle`, add the following dependency:\n\n```groovy\ndependencies {\n    // ...\n\n    // https://mvnrepository.com/artifact/org.antlr/ST4\n    compile group: 'org.antlr', name: 'ST4', version: '4.3.4'\n}\n```\n\nMake sure you are using the `mavenCentral` repository by adding it if necessary:\n\n```groovy\nrepositories {\n    // ...\n    mavenCentral()\n}\n```\n\n### Other\n\nSelect a version on [mvnrepository](https://mvnrepository.com/artifact/org.antlr/ST4),\nand copy the snippet relevant to your build tool.\n\n## BUILDING FROM SOURCE\n\nThe source is at github.com:\n\n\u003e https://github.com/antlr/stringtemplate4\n\nIf you would like to make changes to ST and build it yourself,\njust run `mvn install` from the root directory of the repo.\n\nYou can also run `ant` from the root dir.\n","funding_links":[],"categories":["Java","项目","模板引擎","Projects"],"sub_categories":["模板引擎","Template Engine"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantlr%2Fstringtemplate4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantlr%2Fstringtemplate4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantlr%2Fstringtemplate4/lists"}