Black holes as syntax, Was: Whitespace as syntax (was Re: Python Rocks!)
Charles Hixson
charleshixsn at earthlink.net
Mon Feb 14 13:39:08 EST 2000
I think that this change would be better supported by an editor than by a
language. As such, any language with a well-delimited structure could be used
as a basis, but the displayed code would not match the saved code. (Saving
those boxes seems quite excessive.)
James Logajan wrote:
> 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