From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Message-id: From: Pietro Gagliardi To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Date: Wed, 7 May 2008 22:22:56 -0400 References: <3CB4093E-098C-4E6F-B843-7B65E4461D81@mac.com> <5aa5b5ad4831d46b8a699424000e6134@quanstro.net> Subject: Re: [9fans] A new language for Plan 9 Topicbox-Message-UUID: a2f45cf8-ead3-11e9-9d60-3106f5b1d025 On May 7, 2008, at 5:24 AM, Matt Erickson wrote: > On 2008-05-02, erik quanstrom pondered onto > the tubes: >>> one does >>> >>> if key = 'c' then >>> scanline >>> runcommand >>> else >>> generate(key) >>> assemble(key) >>> >>> This is similar to Python, and prevents the nesting ambiguity of C, >>> Pascal, and some other languages that use block delimiters. >> >> don't forget fortran. > > I try to, oh God how I try to. Then I come back to work in the > morning, and have to remember it all over again. > > -- > Matt Erickson > Political correctness is not insane. You want to call it > "alternatively > reality-based". - Richard Bos, Usenet > Good luck. My next compiler will do Fortran 77, and hopefully 90. It will be #f, where # is the prefix (so 8f for 386). A new Bentley is up, in the usual place. This adds full procedures and functions with arguments, expression statements (like in C), and demotes assignment from a statement to an operator. The next version will have it right-associative (a := b := c := 0). I also plan to have scope. I'm surprised at how quickly I'm getting through this. I expected some 2 year project getting as much as the Sieve of Erastosthenes to work.