From: nickrob@snap.net.nz (Nick Roberts)
To: Vladimir Prus <vladimir@codesourcery.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [mi] -stack-list-arguments --simple-values
Date: Fri, 03 Jul 2009 08:33:00 -0000 [thread overview]
Message-ID: <19021.49761.460467.374394@totara.tehura.co.nz> (raw)
In-Reply-To: <h2i26p$d9o$1@ger.gmane.org>
> > One reason why, in Emacs, we don't fully parse MI output, but use regular
> > expression matching, is because of these inconsistencies.
>
> Can you clarify this? KDevelop does use a parser and convert MI into
> a convenient internal representation, so it is clearly possible in C++.
> I don't know much about Emacs internals -- is there some problem with
> parsing methods available there?
We're just starting to fully use MI in Emacs and formally parse (Dmitry) the
output but I would think it's possible parse anything in Emacs (Lisp) and it's
just a question of complexity.
>
> > People often lament the poor syntax of MI but it really needs a plan to
> > replace it with something better. However, such a plan would really need a
> > maintainer to lead it and doesn't really work on a Write After Approval basis.
>
> FWIW, both the above issue is universally believed to be not good, so
> patches to introduce MI3 version and switch select commands to "right"
> syntax appear to be fairly simple.
I quite like the idea of incrementally changing the output with new commands
because as soon as MI3 is released, you can be sure people will find
shortcomings with that. You could say it is a more agile approach.
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2009-07-03 8:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 9:39 Vladimir Prus
2009-06-30 13:59 ` Daniel Jacobowitz
2009-07-01 13:13 ` Nick Roberts
2009-07-01 17:34 ` Vladimir Prus
2009-07-01 17:45 ` Niko Sams
2009-07-02 8:05 ` André Pönitz
2009-07-02 8:13 ` Niko Sams
2009-07-02 9:37 ` Nick Roberts
2009-07-02 10:30 ` Vladimir Prus
2009-07-03 8:33 ` Nick Roberts [this message]
2009-07-24 22:07 ` Tom Tromey
2009-07-25 7:21 ` Vladimir Prus
2009-07-26 11:42 ` Nick Roberts
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=19021.49761.460467.374394@totara.tehura.co.nz \
--to=nickrob@snap.net.nz \
--cc=gdb-patches@sources.redhat.com \
--cc=vladimir@codesourcery.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