On Apr 30, 2013, at 20:56, erik quanstrom <quans...@quanstro.net> wrote:
> On Tue Apr 30 19:45:29 EDT 2013, gleb.ax...@gmail.com wrote: >> With := you can define locale variable where you need it. >> That's like pascal style (where you define all variables before the >> code) versus c style (where you define variables with code). >> Not critical, but there is a practical issue. > > rc uses a 1 pass compiler with limited backpatching. it may be > difficult, or at least inelegant, to implement add-hoc variable > locals with the current compilation strategy. especially in > the face of notes. > > sure, you could implement the language a different way, but > rc is structurally so cool, it wouldn't feel like rc without the > virtual machine. at least to me. > > - erik > Why don't you just translate the C to Go. Plan 9 sources map pretty well to Go.