public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Zack Weinberg <zack@codesourcery.com>
To: dewar@gnat.com
Cc: bosch@gnat.com, gcc@gcc.gnu.org, kenner@vlsi1.ultra.nyu.edu
Subject: Re: Ada files now checked in
Date: Sat, 06 Oct 2001 09:46:00 -0000	[thread overview]
Message-ID: <20011006094615.O9432@codesourcery.com> (raw)
In-Reply-To: <20011006150641.D3083F28AE@nile.gnat.com>

On Sat, Oct 06, 2001 at 11:06:41AM -0400, dewar@gnat.com wrote:
> <<Also, if it will result in a significant simplification of the build
> process, it may be worth rewriting these tools in C.
> >>
>
> Maybe, but that's quite a bit of work. They are originally written
> using powerful pattern matching of SNOBOL4. This translates directly
> into Ada, using the GNAT.Spitbol.Patterns unit which provides
> exactly SNOBOL4 semantics pattern matching capabilities in Ada.

Yes, I noticed that.  I am fairly confident they could be rewritten
using regular expressions, in say Perl.  Perhaps we could stop there,
if you're okay requiring Perl (this is already the case for people
wishing to generate manpages).  Or, translating a short Perl program
into C is not *that* hard.

> That does not mean that it is impossible to rewrite these in C, but
> it would introduce a definite additional burden of keeping these C
> tools in sync with the Ada ones (they do change every now and then
> when e.g. the form of the tree changes enough to affect these
> tools).

What, you want to keep the Ada tools around as well as the C or Perl
ones?  That would be silly.  We only need one version.

> I still think we should be able to build these without too much
> difficulty as part of the build process. TBD

I'm now wondering how much additional trouble it would be to require
the presence of the basic Ada runtime library as well as a bootstrap
compiler.  That would not only make it easy to generate these tools,
it would permit us to separate the construction of the compiler from
the construction of the runtime.  I think this would make it easier to
maintain both in the long run.  The only real disadvantage is that you
wind up with a compiler binary linked against the previous version of
the runtime, but this is not a huge problem, and one can always relink
the binaries afterward.

zw

  reply	other threads:[~2001-10-06  9:46 UTC|newest]

Thread overview: 214+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-06  8:07 dewar
2001-10-06  9:46 ` Zack Weinberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-15 18:35 dewar
2001-10-14  8:04 dewar
2001-10-14 14:12 ` Joern Rennecke
2001-10-14 15:01   ` Diego Novillo
2001-10-15  9:50     ` Joe Buck
2001-10-15 10:40       ` Diego Novillo
2001-10-15 11:00         ` Joe Buck
2001-10-15 11:22           ` Diego Novillo
2001-10-07  5:34 dewar
2001-10-07  7:19 ` Gabriel Dos Reis
2001-10-07 11:14 ` Zack Weinberg
2001-10-07  5:26 dewar
2001-10-07  5:17 dewar
2001-10-07  5:12 Richard Kenner
2001-10-07  5:08 dewar
2001-10-07  5:07 Richard Kenner
2001-10-07  5:06 dewar
2001-10-07  5:03 dewar
2001-10-07  5:11 ` Florian Weimer
2001-10-07  5:02 dewar
2001-10-07  5:16 ` Florian Weimer
2001-10-07  4:46 Richard Kenner
2001-10-07 22:21 ` Richard Henderson
2001-10-07  4:42 Richard Kenner
2001-10-06 18:26 dewar
2001-10-06 18:25 dewar
2001-10-07  0:38 ` Diego Novillo
2001-10-07  0:59   ` Zack Weinberg
2001-10-07 10:24     ` Diego Novillo
2001-10-07 11:05       ` Daniel Berlin
2001-10-07 11:29         ` Diego Novillo
2001-10-07 11:37           ` Daniel Berlin
2001-10-14  7:53       ` Joern Rennecke
2001-10-06 18:13 Richard Kenner
2001-10-06 18:07 Richard Kenner
2001-10-06 21:18 ` Zack Weinberg
2001-10-06 18:00 Richard Kenner
2001-10-06 17:57 Richard Kenner
2001-10-06 17:55 Richard Kenner
2001-10-06 17:53 Richard Kenner
2001-10-06 21:17 ` Zack Weinberg
2001-10-06 23:57   ` Richard Henderson
2001-10-06 17:51 Richard Kenner
2001-10-06 19:48 ` Zack Weinberg
2001-10-06 13:40 dewar
2001-10-06 13:50 ` Diego Novillo
2001-10-06 14:07   ` Florian Weimer
2001-10-06 14:16     ` Diego Novillo
2001-10-06 19:55       ` Zack Weinberg
2001-10-06 12:58 dewar
2001-10-06 12:56 dewar
2001-10-06 14:00 ` Florian Weimer
2001-10-06 20:50 ` Zack Weinberg
2001-10-06 12:41 dewar
2001-10-06 12:37 dewar
2001-10-06 12:50 ` Joseph S. Myers
2001-10-06 11:03 dewar
2001-10-06 10:53 dewar
2001-10-06 10:37 mike stump
2001-10-06 10:08 dewar
2001-10-06 10:47 ` Zack Weinberg
2001-10-06 10:05 dewar
2001-10-06 10:03 dewar
2001-10-06 10:26 ` Joseph S. Myers
2001-10-06 10:00 dewar
2001-10-06  9:59 dewar
2001-10-06 10:46 ` Florian Weimer
2001-10-06 10:54   ` Zack Weinberg
2001-10-06 13:09     ` Florian Weimer
2001-10-06  9:56 dewar
2001-10-06 10:49 ` Zack Weinberg
2001-10-06  9:41 dewar
2001-10-06  9:40 dewar
2001-10-06 10:02 ` Zack Weinberg
2001-10-06 13:39   ` Diego Novillo
2001-10-06 13:59     ` Joseph S. Myers
2001-10-06 14:10       ` Diego Novillo
2001-10-06  9:39 dewar
2001-10-06  9:57 ` Zack Weinberg
2001-10-06 12:17 ` Kevin Handy
2001-10-06 12:26   ` Joseph S. Myers
2001-10-06 12:49     ` Kevin Handy
2001-10-07 12:05     ` Toon Moene
2001-10-06 13:27   ` Florian Weimer
2001-10-06  9:37 dewar
2001-10-06  9:48 ` Zack Weinberg
2001-10-06 13:57   ` Mark Mitchell
2001-10-06 11:38 ` Russ Allbery
2001-10-06  9:35 dewar
2001-10-06  9:29 dewar
2001-10-06  9:18 dewar
2001-10-06  9:24 ` Daniel Jacobowitz
2001-10-06  9:31 ` Zack Weinberg
2001-10-06  9:16 dewar
2001-10-06  9:19 ` Daniel Jacobowitz
2001-10-06  9:30 ` Zack Weinberg
2001-10-06 10:03   ` Daniel Jacobowitz
2001-10-06  8:20 dewar
2001-10-06  8:19 dewar
2001-10-06  8:14 dewar
2001-10-06  8:10 dewar
2001-10-06  9:33 ` Zack Weinberg
2001-10-06  4:20 Richard Kenner
2001-10-05 15:15 Richard Kenner
2001-10-05 15:14 Richard Kenner
2001-10-05 15:07 Richard Kenner
2001-10-05 15:05 Richard Kenner
2001-10-06 10:03 ` Zack Weinberg
2001-10-05 15:00 Richard Kenner
2001-10-06  9:55 ` Zack Weinberg
2001-10-06 12:13 ` Joseph S. Myers
2001-10-05  3:51 Richard Kenner
2001-10-04 21:10 dewar
2001-10-04 12:15 Richard Kenner
2001-10-04 12:31 ` Geert Bosch
2001-10-05 13:48   ` Zack Weinberg
2001-10-05 14:10     ` Geert Bosch
2001-10-05 14:16     ` Florian Weimer
2001-10-05 14:55       ` Florian Weimer
2001-10-05 15:06         ` Laurent Guerby
2001-10-05 15:15         ` Geert Bosch
2001-10-04 12:14 Richard Kenner
2001-10-04 12:19 ` Geert Bosch
2001-10-05 13:44   ` Zack Weinberg
2001-10-05 13:59     ` Geert Bosch
2001-10-05 14:23       ` Zack Weinberg
2001-10-05 14:55         ` Florian Weimer
2001-10-05 13:39 ` Zack Weinberg
2001-10-05 13:55   ` Geert Bosch
2001-10-05 14:16     ` Florian Weimer
2001-10-05 14:25       ` Zack Weinberg
2001-10-05 14:22     ` Zack Weinberg
2001-10-05 15:18       ` Geert Bosch
2001-10-06  9:38         ` Zack Weinberg
2001-10-06  3:27   ` Joseph S. Myers
2001-10-06  9:11   ` Daniel Jacobowitz
2001-10-04 11:18 Richard Kenner
2001-10-04 11:42 ` Zack Weinberg
2001-10-04 12:10   ` Geert Bosch
2001-10-05 13:48     ` Zack Weinberg
2001-10-05 14:27     ` Florian Weimer
2001-10-05 14:29       ` Geert Bosch
2001-10-04 11:55 ` Zack Weinberg
2001-10-06  4:17 ` Florian Weimer
2001-10-06 23:35   ` Richard Henderson
2001-10-04 10:26 Richard Kenner
2001-10-04 10:23 Richard Kenner
2001-10-04 11:09 ` Zack Weinberg
2001-10-04 10:16 dewar
2001-10-04  9:49 dewar
2001-10-04 10:16 ` Geert Bosch
2001-10-04  9:24 Richard Kenner
2001-10-04  9:59 ` Zack Weinberg
2001-10-04 10:20   ` Geert Bosch
2001-10-03  5:29 dewar
2001-10-02 21:33 dewar
2001-10-02 21:20 dewar
2001-10-02 20:42 dewar
2001-10-02 20:37 dewar
2001-10-02 19:19 mike stump
2001-10-02 18:44 Richard Kenner
2001-10-02 16:53 mike stump
2001-10-02 15:43 Richard Kenner
2001-10-02 14:23 Richard Kenner
2001-10-02 14:30 ` Laurent Guerby
2001-10-02 14:55 ` Laurent Guerby
2001-10-02 15:37   ` Laurent Guerby
2001-10-02 16:01     ` Joseph S. Myers
2001-10-02 16:04       ` Geert Bosch
2001-10-03  6:46     ` Florian Weimer
2001-10-02 15:46 ` Joseph S. Myers
2001-10-03  0:01   ` Laurent Guerby
2001-10-02 14:08 Richard Kenner
2001-10-02 13:42 Richard Kenner
2001-10-02 13:58 ` Laurent Guerby
2001-10-02 13:13 Richard Kenner
2001-10-02 13:33 ` Laurent Guerby
2001-10-02 13:46   ` Laurent Guerby
2001-10-02 14:03   ` Laurent Guerby
2001-10-02 14:19 ` Laurent Guerby
2001-10-02 12:38 Richard Kenner
2001-10-02 12:59 ` Joseph S. Myers
2001-10-02 19:22 ` Zack Weinberg
2001-10-02 19:47   ` Geert Bosch
2001-10-02 20:37     ` Zack Weinberg
2001-10-03  3:39       ` Joseph S. Myers
2001-10-03  4:39       ` Geert Bosch
2001-10-04  9:20         ` Zack Weinberg
2001-10-02 11:20 dewar
2001-10-02 11:16 dewar
2001-10-02 11:16 Richard Kenner
2001-10-02 10:51 Richard Kenner
2001-10-02 10:56 ` Geoff Keating
2001-10-02 14:01   ` Florian Weimer
2001-10-02 10:07 Richard Kenner
2001-10-02 10:42 ` Joseph S. Myers
2001-10-02 10:03 Richard Kenner
2001-10-02 12:31 ` Zack Weinberg
2001-10-02  9:49 Richard Kenner
2001-10-02 10:04 ` Joseph S. Myers
2001-10-02 10:46   ` Geoff Keating
2001-10-02  8:50 dewar
2001-10-02  8:10 Richard Kenner
2001-10-02  8:22 ` Gerald Pfeifer
2001-10-02  8:36   ` Gerald Pfeifer
2001-10-02  8:38   ` Geert Bosch
2001-10-02  8:46 ` Zack Weinberg
2001-10-02 12:05 ` Laurent Guerby
2001-10-02 13:09   ` Laurent Guerby
2001-10-02 17:24 ` Joseph S. Myers
2001-10-02 17:37 ` Joseph S. Myers
2001-10-02 18:56   ` Geert Bosch

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=20011006094615.O9432@codesourcery.com \
    --to=zack@codesourcery.com \
    --cc=bosch@gnat.com \
    --cc=dewar@gnat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=kenner@vlsi1.ultra.nyu.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 read-only IMAP folder(s) and NNTP newsgroup(s).