Oct. 23, 2014
6:17 a.m.
Le 23/10/2014 08:09, phil@highoctane.be a écrit :
How hard would it be to parse such a file with this kind of content?
https://github.com/mitsuhiko/flask/blob/master/examples/minitwit/minitwit.py
Not hard. A bit of work on PythonParser2.
This would generate a WAComponent subclass with methods in it, register the thing and go for it.
The level of Python in it look not too difficult to convert. But it relies on a framework for which I can't answer. What is jinja ? Thierry