From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <051da330d0a61ef476d5c5bdf2f1f98d@plan9.escet.urjc.es> From: Fco.J.Ballesteros To: 9fans@cse.psu.edu Subject: Re: [9fans] ports update In-Reply-To: <40644F18.4060208@swtch.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-bewvwjjrrwnrpcdftbvuydfrvn" Date: Fri, 26 Mar 2004 16:48:15 +0100 Topicbox-Message-UUID: 4369c3e6-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-bewvwjjrrwnrpcdftbvuydfrvn Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Do you mean that you use global search and replace both to translate anonymous struct/unions to named ones and also to translate array initialization syntax? Initialization syntax can be hard to do that way, unless I'm missing something obvious (eg. like it existing now in the std). Do you have the translator at hand anyway? thanks --upas-bewvwjjrrwnrpcdftbvuydfrvn Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Fri Mar 26 16:42:37 MET 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 7DE0719C7B; Fri, 26 Mar 2004 10:42:28 -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 73D5919C67; Fri, 26 Mar 2004 10:42:25 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id DE3EA19C9C; Fri, 26 Mar 2004 10:41:29 -0500 (EST) Received: from holo.morphisms.net (holo.morphisms.net [66.93.84.55]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E70D619C67 for <9fans@cse.psu.edu>; Fri, 26 Mar 2004 10:41:28 -0500 (EST) Received: from swtch.com (pcp02328361pcs.summit01.nj.comcast.net [68.84.56.226]) by holo.morphisms.net (Postfix) with ESMTP id 6718724FD2 for <9fans@cse.psu.edu>; Fri, 26 Mar 2004 10:41:28 -0500 (EST) Message-ID: <40644F18.4060208@swtch.com> From: Russ Cox User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031221 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] ports update References: <3098edf65c7bcf1faf2661621fe0812d@plan9.escet.urjc.es> In-Reply-To: <3098edf65c7bcf1faf2661621fe0812d@plan9.escet.urjc.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Fri, 26 Mar 2004 10:41:12 -0500 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: Fco.J.Ballesteros wrote: >Anyone has a translator from Ken C to the std? > > Yes, but it's hard to preserve comments and the like. I typically use acme and global search and replace. It's usually trivial. (For a counterexample, though, see libhtml.) Russ --upas-bewvwjjrrwnrpcdftbvuydfrvn--