Skip to content

Instantly share code, notes, and snippets.

View ajdiaz's full-sized avatar
⚙️
tweaking things…

ajdiaz ajdiaz

⚙️
tweaking things…
View GitHub Profile
@willmcgugan
willmcgugan / template example
Created February 15, 2015 13:50
A demonstration of how to render a parsed template
#!/usr/bin/env python
class Node(object):
def __init__(self, params, children):
self.params = params
self.children = children
class IfNode(Node):