最近又要用ANTLR了,找到一个叫StringTemplate的,据说是用来生成Java代码 、Web页面等有格式的文本的东东研究一下 转载于:https://www.cnblogs.com/sephil/archive/2006/05/26/409975.html