Tuesday, March 02, 2004
out there *
What else is out there on using XSL to generate code (in this case, generate code by expanding macros)? Lots. GIYF. Try searching for XSL code generation or something. And then take a look at Ejen. I quote,[Ejen] allows the use of almost any kind of text file as input, without the need of developing lengthy and complex Java extensions. The use of the Antlr compiler compiler, when corresponding grammars ("Chomsky grammars") are provided, allows the transformation of those files into XML tree representations. Resulting XML trees may then be used in the generation process, as well as other native XML files.Ejen is not therefore by itself a code generator. It is rather a system based on Java/XML/XSLT technologies that makes the actual creation of code generators easier and faster.
Coolness. It's always fun (though, I have to admit, slightly disappointing) to find a big chunk of the work started.
* the only reason I've taken to putting titles on my posts (something I find pretty silly) is that the hacked rss stream (look left) takes the first line as the title.