On 11/4/10 11:55 AM, Christopher Barker wrote:

> One day, we may have a mature Cython code generator for wrapping C/C++
> (and it may be worth looking at what has been done along those lines).
> But in the meantime, you could pretty quickly whip out a code generator
> that works for your particular use-case. Maybe use a general purpose
> template system (Cheetah, for instance) would help?

FWIW, Tempita has a tiny implementation that could be dropped into Cython but 
is 
as full-featured as you could want for code generation. You would want to avoid 
Cheetah or the other larger templating packages. Many of their Web-focused 
features would be a hindrance for this use.

   http://pythonpaste.org/tempita/

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to