Re: Automated indentation

Marc Wachowitz (mw@ipx2.rz.uni-mannheim.de)
8 May 1994 12:46:46 GMT

Guido van Rossum wrote:
[...]
> if foo and bar:
[...]
> end if
>
> where the 'end if' line would be optional and would have to be
> indented properly and could be used by a re-indent routine.

Fine, thanks.

> Note that code inside an end-terminated block would still have to be
> indented properly (else I think it WOULD require a major rewrite of
> the scanner and/or the grammar) but I think we all can live with that.

Certainly - even if one had to reindent some ill-formatted code, it
would then at least be possible to do, without having to understand
it in detail.

------------------------------------------------------------------------------
* wonder everyday * nothing in particular * all is special *
Marc Wachowitz <mw@ipx2.rz.uni-mannheim.de>