Visual Python programming and decompilers?
billy.earney at gmail.com
Fri Mar 12 17:18:59 CET 2010
This reminds me of the orange project which is developed in python.
It is actually for data mining, but many of the concepts could be used for a
more general programming structure.
From: python-list-bounces+billy.earney=gmail.com at python.org
[mailto:python-list-bounces+billy.earney=gmail.com at python.org] On Behalf Of
Sent: Thursday, March 11, 2010 12:39 PM
To: python-list at python.org
Subject: Visual Python programming and decompilers?
At work I have been exposed to a Agile Platform called OutSystems. It
allows you to visually program your web applications
http://i.imgur.com/r2F0i.png and I find the idea very intriguing.
So I have started to play around with the idea on how will I be able
to visually represent Python code as in the above image and then allow
the programmer to change some of the flow/code/logic visually and then
get it back as python source code. I don't know if this have been
tried before and after some googling I can't find anything like this,
so maybe I'm just lacking basic googling skills or a python solution
like the above does not exist yet.
If anybody knows of such solution please let me know, so that I don't
spend a lot of time recreating the wheel. Otherwise help me out on the
I decided I can use byteplay3 http://pypi.python.org/pypi/byteplay/ to
disassemble the code to workable objects, It even allows me to rebuild
the objects to bytecode. So if I define patterns on how python
interrupts the source code to bytecode I can visually represent this
and also so convert my visual representations back to bytecode.
The only problem I have at the moment is how will I get this bytecode
back to python source code. I have googled for python decompiler but
only found old projects like unpyc, decompyle and some online
services. I would like to know if anybody know of a well maintained or
at least recent module that can help me accomplish the above
mentioned, because I'm hoping I can implement this in Python 3.1.
So any input or suggestion would be greatly appreciated.
More information about the Python-list