Black holes as syntax, Was: Whitespace as syntax (was Re: Python Rocks!)
James Logajan
JamesL at Lugoj.Com
Wed Feb 9 23:49:09 EST 2000
Wake me when the other thread dies.
Off topic:
By the way, speaking of code blocks, does anyone know of any languages that
use blocks...literally? That is, given the prevalence of GUIs, a development
environment/language where code is contained in rectangles? For example (the
following will need to be viewed using a fixed-width font):
+====================+
| def Func(a, q) |
+====================+
| if a == b |
| +----------------+ |
| | xyzzy = Plunk()| |
| | w = xyzzy + 42 | |
| | | |
| +----------------+ |
| else |
| +----------------+ |
| | w = sqrt(-1) | |
| +----------------+ |
| return q/w |
+--------------------+
Anyway, hope you get the idea. Many variations on how the boxes should
appear are possible.
More information about the Python-list
mailing list