[svn] last changes from yesterday so that i can continue working in school on it
--HG--
branch : trunk
diff --git a/jdebug.py b/jdebug.py
new file mode 100644
index 0000000..95f10cc
--- /dev/null
+++ b/jdebug.py
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+"""
+ jdebug
+ ~~~~~~
+
+ Helper module to simplify jinja debugging. Use
+
+ :copyright: 2006 by Armin Ronacher.
+ :license: BSD, see LICENSE for more details.
+"""
+from jinja import Environment
+from jinja.parser import Parser
+from jinja.translators.python import PythonTranslator
+
+
+__all__ = ['e', 't', 'p']
+
+e = Environment()
+t = e.from_string
+
+def p(x):
+ print PythonTranslator(e, Parser(e, x).parse()).translate()