How can I create my own lexical analyzer for StringTemplate?

Hmm, sounds easy enough, but after looking at the ones that come with the StringTemplate, I have a hard time making it to the average developer.

Where to begin?

Because it does something else, it seems to do it, will it also need to learn ANTLR tool to create a language file? It's right? Or can I just copy the one that came with the StringTemplate?

+1


source to share


2 answers


The StringTemplate was created by the guy who wrote ANTLR, so the two are very closely related. In fact, StringTemplate was created as a code generation library for ANTLR, so the answer is almost certainly correct.



+1


source


Try UCDT from http://www.geocities.com/russlank/mysoftware.html

You may find what you are looking for.



Russlan,

0


source







All Articles