r rendering"
lexer = Lexer(template_string, origin)
parser = Parser(lexer.tokenize())
for lib in libraries:
parser.add_library(lib)
return parser.parse()
On Jul 17, 4:18 pm, A Khodyrev wrote:
> Hello
>
> I'm writing a library of helper classes/functions
Hello
I'm writing a library of helper classes/functions to ease creation of
custom template tags. So a natural doctest (or an example in the
documentation) goes like this: define a compiler function and Node
class with my helpers, register them with a tag library, define a
bunch of template str
2 matches
Mail list logo