From: Stan Shebs <shebs@apple.com>
To: Petr Sorfa <petrs@caldera.com>
Cc: Michael Snyder <msnyder@redhat.com>,
"gdb-patches@sources.redhat.com" <gdb-patches@sources.redhat.com>
Subject: Re: [RFC] FORTRAN95 Expression parser
Date: Tue, 30 Apr 2002 11:02:00 -0000 [thread overview]
Message-ID: <3CCEDC3A.ACD8624B@apple.com> (raw)
In-Reply-To: <3CCEA15F.A299E742@caldera.com>
Petr Sorfa wrote:
>
> Hi Michael,
>
> > > I've created a FORTRAN95 expression parser for GDB. It is based off the
> > > current FORTRAN expression parser, but has changed significantly in
> > > source and functionality. I've developed it as a new separate parser
> > > with the file prefix of f95-x as opposed to the existing f-x files.
> > >
> > > The question is whether I should submit the patch as the f95-x files
> > > (which will leave the current FORTRAN parser untouched) or replace the
> > > existing FORTRAN parser?
> > >
> > > Note that the F95 parser fully supports F77/F90/F95, but differs a bit
> > > from the existing fortran gdb parser (which relies a bit heavily on C
> > > notation.)
> >
> > How much does it differ? Functionally? In user-visible ways?
> > How about test suites?
> It differs considerably - it supports FORTRAN expressions, not C
> expressions that handle FORTRAN stuff. It supports FORTRAN intrinsics
> (KIND, SIZE, LEN, ALLOCATED, ASSOCIATED, etc..). Proper FORTRAN array
> subscripts (including stride). Proper print out of FORTRAN types and
> variables. Supports column major notation. Supports MODULES, CONTAINS,
> TYPE records, and so on.
Hmmm, then users used to the old syntax, plus any scripts that
use the old syntax, will all have to change. I'd say they
should live side-by-side for a while, at least for one release.
Choice of syntax should be a user preference, so people needing
compat can set in .gdbinit and not have to deal with immediately.
Should be OK to default to the new parser though.
There's no real downside to having both present, right?
Stan
next prev parent reply other threads:[~2002-04-30 18:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-29 11:57 Petr Sorfa
2002-04-29 18:49 ` Michael Snyder
2002-04-30 6:40 ` Petr Sorfa
2002-04-30 10:50 ` Michael Snyder
2002-04-30 11:02 ` Stan Shebs [this message]
2002-04-30 11:11 Michael Elizabeth Chastain
2002-04-30 12:01 ` Petr Sorfa
2002-04-30 12:13 ` Michael Snyder
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=3CCEDC3A.ACD8624B@apple.com \
--to=shebs@apple.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@redhat.com \
--cc=petrs@caldera.com \
/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