comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Ada Mode and GNAT Project files
Date: Sat, 16 Aug 2008 09:04:39 -0400
Date: 2008-08-16T09:04:39-04:00	[thread overview]
Message-ID: <uej4p6rh4.fsf@stephe-leake.org> (raw)
In-Reply-To: 6427bdee-a9b9-483e-887b-cfce987be422@2g2000hsn.googlegroups.com

Ludovic Brenta <ludovic@ludovic-brenta.org> writes:

> There are two ways to provide support for GNAT project files in ada-
> mode: my first approach was to completely replace the .adp project
> file with the .gpr file, parse it and extract the source path. I never
> went so far as to also find and parse "with"ed project files, though.
> The more complete and portable approach, implemented by Stephe Leake,
> was to call "gnat ls -P", pass it the project file, and parse the
> result. The advantage is that it simplifies parsing and also supports
> "with"ed project files.

For the record, the current Emacs Ada mode is at:

http://stephe-leake.org/emacs/ada-mode/emacs-ada-mode.html

It supports using a GNAT project file directly as an Emacs Ada mode
project file, or including a GNAT project file as part of a larger
Emacs Ada mode project file.

The version in Emacs 22.2 does not support GNAT project files; future
Emacs releases will include this support.

-- 
-- Stephe



  reply	other threads:[~2008-08-16 13:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15  4:50 Ada Mode and GNAT Project files deadlyhead
2008-08-15  8:56 ` Georg Bauhaus
2008-08-15 10:19   ` deadlyhead
2008-08-15 10:33     ` Ludovic Brenta
2008-08-16 13:04       ` Stephen Leake [this message]
2008-08-15 10:57     ` Georg Bauhaus
2008-08-16 13:07       ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox