antlr / antlr/stringtemplate4

STGroup to load/import templates from streams

Open
#76 3 comments 0 reactions 0 assignees View on GitHub
type:feature
Dominant language
Java
Stars
1k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

Hi,
it would be nice to have ability to load/import STGroups from streams. Currently I use it to cache String of template loaded from stream loaded using java.lang.ClassLoader#getResourceAsStream(). I want to eliminate IO operations currently implemented in org.stringtemplate.v4.STGroup#importTemplates(...). Something like "template definitions registry".
Could you consider this.
Thx
Ivos

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.