On Thu, Oct 23, 2014 at 8:17 AM, Thierry Goubier <thierry.goubier@gmail.com> wrote:
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.

Well, I meant "a file like this in Smalltalk" :-) Still, a cool idea of yours!��

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 ?

Jinja is the template engine: http://jinja.pocoo.org/��

Phil
Thierry