[pypy-dev] New code-templating system for py.lib

Patrick Maupin pmaupin at gmail.com
Wed Mar 1 23:35:44 CET 2006

Good point -- I did not realize there was a separate py-dev mailing list.

I would be interested in seeing what templating ideas you are
currently using in pypy.  They certainly are not being used
consistently.  Did you look at the examples (pulled straight from pypy
repository code) in the document I wrote?

As for the plethora of templating systems available, about 10 months
ago at work I did a survey and started using Cheetah, which was the
best available for my usage.  It was too slow, so I wrote my own for
work, improving the syntax in the process for this usage -- Cheetah
was really designed for non-programmer template authors.  The current
proposal is based on ten months of real experience with the templating
system I wrote for work, and improves the syntax even more, although
the performance will not be tuned quite as much as the one I wrote for
work by the time I leave the sprint.

Thanks (and get well!),

On 3/1/06, holger krekel <hpk at trillke.net> wrote:
> hi Patrick,
> On Wed, Mar 01, 2006 at 10:49 -0600, Patrick Maupin wrote:
> > I have been working on a new code templating system for py.lib.  The initial
> > documentation and the tokenizer are complete, and I am now working on the
> > parser and the compiler.  Please let me know if you have any feedback or
> > questions.
> thanks for the suggestion.  Although i see you are using
> pypy examples i think you probably wanted to submit
> this to py-dev at codespeak.net right?
> > I have not yet made the documentation visible from the index.html file, but
> > I have uploaded the doc file.  You can view it at:
> >
> > http://codespeak.net/py/current/doc/code_template.html
> i will need to look into this somemore but i admit i am
> starting from a skeptical point of view - because indeed
> there are a lot of templating systems and i think PyPy
> is already using some of the ideas you propose :)
>     holger

More information about the Pypy-dev mailing list