antlr / stringtemplate4

StringTemplate 4
http://www.stringtemplate.org
Other
951 stars 231 forks source link

Feature request: stand-alone tool for class ST. #278

Open kaby76 opened 3 years ago

kaby76 commented 3 years ago

I looked through this repo, and there is no static void main() method on any class. Therefore, I don't think this has been considered: It would be nice to have a stand-alone tool for ST. E.g., a static void main() method on class ST, which takes: (1) a file to read stdin (or a file, or a content string on the command line), render(content), then writes to stdout the rendered contents; (2) a JSON file, specified on the command line, e.g., -args attribute-list.json, an arbitrary list of args to ST.add(). I spent a few days getting ST for C# working, but it hasn't been updated with the changes in this repo since July 16, 2016.

parrt commented 3 years ago

Hi. Sounds cool. Unfortunately, ST is a low priority for me these days. sorry!

jsnyders commented 3 years ago

Its old but may still be of interested: https://hardlikesoftware.com/weblog/stst/