[Rant-cafe] Generators detecting generators

Russel Winder russel at russel.org.uk
Tue Jan 9 13:54:27 EST 2007


I am developing a generator for working with LaTeX books.  The idea is
that there is a set of conventions for the file store layout and file
naming which if followed means that the Rantfile is:

	gen LaTeXBook

and all the targets are automatically generated -- some variations are
possible using the usual hash of parameters technique.

My problem of the moment is needing to handle clean up.  I think the
best mechanism would be for the LaTeXBook generator to be able to
discover whether the Rant clean or autoclean generators are being used
and then work with them.

Can anyone give me a pointer to paradigms of this sort idiomatic use?

Thanks.
-- 
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             russel at russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/rant-cafe/attachments/20070109/e2faad41/attachment.bin 


More information about the Rant-cafe mailing list