Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] mature project, complex makefile

Ok thank you very much. The main reasons I am interested in Photran (vs
vim or other IDEs) are as follows:

0. Need an IDE that runs in Linux.

1. Debug support, esp. via GUI. I currently use print statements. This
is a scientific application and the arrays are large. It would be nice
to point and click and surf through them arbitrarily at a break point
rather than print some of them out to a file and then sift through a
gigantic file. 

2. Ability to search for References or open Declarations like I can with
Java. Its nice to be able to click on a variable or subroutine call and
see all the parts of the code that touch it.

3. I like the tree view on the left in eclipse that summarizes classes
(modules in the case of Fortran).

4. The real-time underlining of unrecognized variables or other syntax
errors is nice.

5. Conversely, I don't really need the refactoring capabilities.

It looks like I will have to wait for preprocessor support before I can
realistically gain from Photran (vs vim) for my project. Is that right?

Cheers
Jason


On Tue, 2009-03-03 at 10:23 -0600, Ralph Johnson wrote:
> Photran works best if you write your own makefile instead of using the
> ones it generates.  When it compiles your program, it just runs "make"
> in the current directory.  So, it can handle custom makefiles and
> there is no reason to write a special makefile just for Eclipse.
> Moreover, Photran works with CDT, so you should be able to mix Fortan
> and C, though i don't think we handle cross-references between
> languages well.  We'd love to get a good case study that can help us
> to improve our cross-language capabilities.
> 
> The bigger problem is conditional compilation.  Photran doesn't handle
> conditional compilation very well.  We are in the process of building
> CPP support, at which time this problem will go away.  However, at the
> moment, Photran will often think that your file is syntatically
> incorrect and miss cross-references and refuse to refactor parts of
> your code.  You can still edit the files and can run the compiler on
> them, but you will lose the capabilities that require Photran to use
> its own parser.
> 
> You do NOT have to integrate your project with Eclipse.  Photran works
> with make, so you do not have to change that part.  However, I am not
> sure whether it is better than vim yet.  It is certainly our goal to
> make it so.  Try it out and tell us what you think.  If there are some
> small things that would make it more valuable to you , please let us
> know.
> 
> -Ralph Johnson
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran
> 



Back to the top