Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Free pretty-printing for Fortran 90/95
Is there any free tool to pretty-print Fortran 90/95 source codes?

I tryed lgrind; it works good for FORTRAN 77, but it seems to me that it
cannot correctly manage F90/95 sources...

Thanks in advance,

Dan

Report this thread to moderator Post Follow-up to this message
Old Post
Danguard
11-20-04 08:56 PM


Re: Free pretty-printing for Fortran 90/95
Danguard <danguard_robot@hotmail.com> wrote:
>Is there any free tool to pretty-print Fortran 90/95 source codes?
>
>I tryed lgrind; it works good for FORTRAN 77, but it seems to me that it

>cannot correctly manage F90/95 sources...

There are some utilities for F90/95 by Michel Olagnon at
http://www.ifremer.fr/ditigo/molagn...90/contenu.html .

A2ps can generate PostScript files from fixed or free format Fortran code
-- see http://www.inf.enst.fr/~demaille/a2....12/a2ps_7.html .



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==--
--
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 News
groups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =
---

Report this thread to moderator Post Follow-up to this message
Old Post
beliavsky@aol.com
11-20-04 08:56 PM


Re: Free pretty-printing for Fortran 90/95
If you use emacs, it is built in it.

just type (M- stays for "Meta", C- for "Ctrl")

M-x ps-print-buffer

or

M-x ps-print-buffer-with-faces

If you want to  output code to
ps file then type

C-u M-x ps-print-buffer-with-faces

emacs will ask you for the name of the
output postscript file.

--
igor.

Report this thread to moderator Post Follow-up to this message
Old Post
gtg531e
11-21-04 08:58 AM


Re: Free pretty-printing for Fortran 90/95
Danguard <danguard_robot@hotmail.com> writes:

> Is there any free tool to pretty-print Fortran 90/95 source codes?

latex with the listings package.

--
Brian (remove the sport for mail)
http://www.et.dtu.dk/staff/be/be.html

Report this thread to moderator Post Follow-up to this message
Old Post
Brian Elmegaard
11-21-04 01:56 PM


Re: Free pretty-printing for Fortran 90/95
Danguard wrote:
> Is there any free tool to pretty-print Fortran 90/95 source codes?

Back in February, Dave Bowler submitted a style file for F90
to the enscript developers that does this with something like,

enscript --color --highlight=f90 file.f90

I haven't tried it.

Looking at http://people.ssh.fi/mtr/genscript/ makes me think
that enscript's maintainers have not released a version that
includes Dave's style file, f90.st.

To get a copy of the style file, try pinging david dot
bowler atchar ucl dot ac dot uk.

Regards,
--
Bil Kleb, Hampton, Virginia

Report this thread to moderator Post Follow-up to this message
Old Post
Bil Kleb
11-23-04 01:57 PM


Re: Free pretty-printing for Fortran 90/95
In article <cnv8l3$kmv$1@news2.news.larc.nasa.gov>, Bil Kleb <Bil.Kleb@NASA.Gov> writes:[co
lor=darkred]
>Danguard wrote: 
>
>Back in February, Dave Bowler submitted a style file for F90
>to the enscript developers that does this with something like,
>
>  enscript --color --highlight=f90 file.f90
>
>I haven't tried it.
>
>Looking at http://people.ssh.fi/mtr/genscript/ makes me think
>that enscript's maintainers have not released a version that
>includes Dave's style file, f90.st.
>
>To get a copy of the style file, try pinging david dot
>bowler atchar ucl dot ac dot uk.
>
>Regards,
>--
>Bil Kleb, Hampton, Virginia[/color]

You may also note that together with the f90ppr tool, I wrote the f90tops
one that prints Fortran source to PostScript.
http://www.ifremer.fr/web-com/molagnon/utilsf90.html

Michel


Report this thread to moderator Post Follow-up to this message
Old Post
Michel OLAGNON
11-23-04 01:57 PM


Re: Free pretty-printing for Fortran 90/95
"Michel OLAGNON" wrote >

> You may also note that together with the f90ppr tool, I wrote the f90tops
> one that prints Fortran source to PostScript.

Have you had occasion to see whether your utilities yet compile and run with
gfortran and/or g95?




Report this thread to moderator Post Follow-up to this message
Old Post
Charles Russell
11-26-04 09:09 PM


Re: Free pretty-printing for Fortran 90/95
In article <aMJpd.63616$IQ.59344@bignews6.bellsouth.net>,
"Charles Russell" <STOPworworSPAM@bellsouth.net> writes:
>
> "Michel OLAGNON" wrote >
> 
>
> Have you had occasion to see whether your utilities yet compile and run wi
th
> gfortran and/or g95?
>

Michel's f90split and f90tops bothe compile with gfortran.
f90tops < f90tops.f90 > zzzz.ps produces a postscript file
that can be rendered by ghostscript.  I haven't f90split.
His f90ppr utility triggers a bug with gfortran.

--
Steve

Report this thread to moderator Post Follow-up to this message
Old Post
Steven G. Kargl
11-26-04 09:09 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Fortran archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:18 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.