I have compiled some notes on how to write a template compiler for Erlang, based on my experience implementing ErlyDTL: http://www.evanmiller.org/write-a-template-compiler-for-erlang.html Hope someone finds that helpful, and any feedback is appreciated. Evan -- Evan Miller http://www.evanmiller.org/