From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4623606e74a91925b510cd480e7738da@cwru.edu> To: 9fans@cse.psu.edu Subject: Re: [9fans] multiple inputs From: Noah Evans In-Reply-To: <810c47b392ed21dbd01b75286fa1ec73@vitanuova.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-pkkgxeotwynddtaprfogbsbzaz" Date: Thu, 1 Apr 2004 12:34:42 -0500 Topicbox-Message-UUID: 4d408b0c-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-pkkgxeotwynddtaprfogbsbzaz Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Right. But that's the point. What hygenic macros are(to me) a way of creating domain specific languages based on C. This can, when used badly, lead to unmaintainable software. You're exactly right. At the same time as Russ said it can abstract a complex and opaque computation and clarify its intention. To bring the subject of macros back to the subject of Plan 9, I made the initial comment thinking about a way to make the shell less dangerous when it expands metacharacters(in other words, protect me from myself). It's only an intuition, and I wanted to see what everyone thought of it. Noah --upas-pkkgxeotwynddtaprfogbsbzaz Content-Type: message/rfc822 Content-Disposition: inline Return-path: <9fans-admin@cse.psu.edu> Received: from mpspam4.TIS.case.Edu (mpspam4.tis.case.Edu [129.22.104.191]) by ims-msg.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPS id <0HVI014HE921F4@ims-msg.cwru.edu> for npe@cwru.edu; Thu, 01 Apr 2004 13:37:13 -0500 (EST) Received: (from localhost [127.0.0.1]) by mpspam4.TIS.case.Edu (MOS 3.4.4-GR) id AEN83733 (forwarded by mail filter of npe); Thu, 01 Apr 2004 13:37:12 -0500 (EST) Received: from mirapoint1.tis.cwru.edu (mirapoint1.TIS.CWRU.Edu [129.22.104.46]) by mpspam4.TIS.case.Edu (MOS 3.4.4-GR) with ESMTP id AEN83727; Thu, 01 Apr 2004 13:37:10 -0500 (EST) Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mirapoint1.tis.cwru.edu (MOS 3.4.3-CR) with ESMTP id BBV37527; Thu, 01 Apr 2004 13:37:08 -0500 (EST) Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 6734C19F82; Thu, 01 Apr 2004 13:37:08 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 9EACF19B73; Thu, 01 Apr 2004 13:37:05 -0500 (EST) Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id B0E4719F6F; Thu, 01 Apr 2004 13:36:44 -0500 (EST) Received: from rapido.vitanuova.com (unknown [62.254.170.97]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id DF28B19B73 for <9fans@cse.psu.edu>; Thu, 01 Apr 2004 13:36:42 -0500 (EST) Date: Thu, 01 Apr 2004 19:42:27 +0100 From: rog@vitanuova.com Subject: Re: [9fans] multiple inputs In-reply-to: <4480b39f295c1bb285304c4b2e0f9261@cwru.edu> Sender: 9fans-admin@cse.psu.edu To: 9fans@cse.psu.edu Errors-to: 9fans-admin@cse.psu.edu Reply-to: 9fans@cse.psu.edu Message-id: <810c47b392ed21dbd01b75286fa1ec73@vitanuova.com> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Precedence: bulk X-BeenThere: 9fans@cse.psu.edu Delivered-to: 9fans@cse.psu.edu X-Mirapoint-Loop-ID: 525490f7bbb1aca8ec4cbd2b8be8c4b4 X-Original-To: 9fans@cse.psu.edu X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.3 required=5.0 tests=NO_REAL_NAME autolearn=no version=2.63 X-Junkmail-Status: score=5/45, host=mpspam4.TIS.case.Edu X-Mailman-Version: 2.0.11 List-Archive: List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> Original-recipient: rfc822;npe@spamfree.cwru.edu > I think the idea of the hygenic macro [...] one way or another you're talking about syntax transformation, so the syntax of the program you read is not that which is documented in the language reference manual. i think that this can easily lead to unmaintainable software. others disagree. off topic, anyway... --upas-pkkgxeotwynddtaprfogbsbzaz--