9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Fco.J.Ballesteros <nemo@lsub.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ports update
Date: Fri, 26 Mar 2004 16:48:15 +0100	[thread overview]
Message-ID: <051da330d0a61ef476d5c5bdf2f1f98d@plan9.escet.urjc.es> (raw)
In-Reply-To: <40644F18.4060208@swtch.com>

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

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

[-- Attachment #2: Type: message/rfc822, Size: 2279 bytes --]

From: Russ Cox <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ports update
Date: Fri, 26 Mar 2004 10:41:12 -0500
Message-ID: <40644F18.4060208@swtch.com>

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

  reply	other threads:[~2004-03-26 15:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-26  2:21 Russ Cox
2004-03-26  9:54 ` Douglas A. Gwyn
2004-03-26 12:32   ` Fco.J.Ballesteros
2004-03-26 15:41     ` Russ Cox
2004-03-26 15:48       ` Fco.J.Ballesteros [this message]
2004-03-26 17:39         ` Russ Cox
2004-03-27 13:07         ` boyd, rounin
2004-03-26 15:42   ` Russ Cox
2004-03-26 18:24     ` Scott Schwartz
2004-03-26 15:52 Richard C Bilson
2004-03-26 16:07 ` Axel Belinfante
2004-03-26 16:21 ` Russ Cox
2004-03-26 16:26 ` Sam
2004-03-26 19:05 Richard C Bilson
2004-03-26 19:16 ` Russ Cox
2004-03-26 19:27   ` Axel Belinfante
2004-03-27 13:10     ` boyd, rounin
2004-03-27 13:09 ` boyd, rounin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=051da330d0a61ef476d5c5bdf2f1f98d@plan9.escet.urjc.es \
    --to=nemo@lsub.org \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).