From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 30 Apr 2013 20:56:20 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: <2784e00520033948eaf532a780ebad35@quintile.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] [GSOC 2013] Implement plan9 commands in Go, Goblin Topicbox-Message-UUID: 4da122f4-ead8-11e9-9d60-3106f5b1d025 On Tue Apr 30 19:45:29 EDT 2013, gleb.ax.sh@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