Some languages have used indentation to encode block structure, most
obviously python. I do not personally like this approach, and I have
not come to any decision about it, but there is now some empirical
evidence that (a) users find it more readable, and (b) current
programmers will elect to use it by choice when the opportunity is
presented. [c.f. F#].

Can anyone explain how one goes about *implementing* an
indentation-aware syntax? Does this require a hand parser, or can it
be done with lexer thuggery? I can probably work it out if I give it
some thought, but I haven't had a chance to do that.

Thanks


shap
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to