Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A lot of people in this subthread are echoing this, but it's at most maybe very slightly easier. For example, TinyCC is a one-pass C compiler and yet C has sub-scopes int foo() { /.../ { int x; /.../ } }. The same could be said of Ken Thompson's C compiler which I believe was also one-pass.

Does Titania not have/intend to have lexically local subscopes? That would seem very un-Wirthian to me.



One difference here might be that most Pascals support local functions and C does not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: