2006-01-27 22:04

Silly idea to make Python popular

I have an idea that can kill the most frequent complain about python.

BPython.

BPython is a simple wrapper around pyhton which processes a .bpy file, produces a .py file, then compiles it into a .pyc.

What does it do? It uses braces to control flow.

Since braces are actual python syntax, you will have to use #{ and #}

As an added bonus, if you are careful, a bpython program will also be a valid python program.

Of course it has issues (like module loading) but those can be worked around.

The implementation should not be more than 30 lines of python. Or bpython ;-)

Comments

Comments powered by Disqus

Contents © 2000-2019 Roberto Alsina