Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sep:software:ratfor [2008/07/22 19:13]
altheyab
sep:software:ratfor [2008/07/23 17:50]
mohammad
Line 1: Line 1:
-====== RATFOR ====== +====== Ratfor77 ======
-==== Downloading ====+
  
   * {{:sep:software:ratfor77.tar.gz|Ratfor (17KB tar.gz)}} is freely available on our ftp site. (You may have to press the shift key to download the file to your system rather than viewing the file in your browser).   * {{:sep:software:ratfor77.tar.gz|Ratfor (17KB tar.gz)}} is freely available on our ftp site. (You may have to press the shift key to download the file to your system rather than viewing the file in your browser).
  
-==== Description ====+\\ 
 +=== Description ===
  
 Ratfor is preprocessor for FORTRAN code that allows us to use C-like flow expressions. Jon Claerbout believes that Ratfor is the best available expository language for mathematical algorithms. Ratfor was invented by Brian Kernigham who also co-wrote the first C book. You will not really need precise definitions of Ratfor to use it. Statements on a line may be separated by a ";". Statements may be grouped together with braces {}. Do loops do not require statement numbers because {} defines the range, etc. The Fortran relational operators ".gt.,.ge,.ne.," etc. may be written ">,<=,!=,"etc. Unfortunately, the Ratfor switch statement conflicts with "implicit undefined" declaration, consequently we never use it. Ratfor also frees you from FORTRANs strict indentation rules. Anything from a # to the end of the line is a comment. Ratfor offers quite a few more features more and we strongly recommend it to any FORTRAN programmer. Ratfor is preprocessor for FORTRAN code that allows us to use C-like flow expressions. Jon Claerbout believes that Ratfor is the best available expository language for mathematical algorithms. Ratfor was invented by Brian Kernigham who also co-wrote the first C book. You will not really need precise definitions of Ratfor to use it. Statements on a line may be separated by a ";". Statements may be grouped together with braces {}. Do loops do not require statement numbers because {} defines the range, etc. The Fortran relational operators ".gt.,.ge,.ne.," etc. may be written ">,<=,!=,"etc. Unfortunately, the Ratfor switch statement conflicts with "implicit undefined" declaration, consequently we never use it. Ratfor also frees you from FORTRANs strict indentation rules. Anything from a # to the end of the line is a comment. Ratfor offers quite a few more features more and we strongly recommend it to any FORTRAN programmer.
  
-==== Installation ====+\\ 
 +=== Installation ===
  
   * Download the file.   * Download the file.
Line 15: Line 16:
   * Link "rat4.o" (main routine), "getopt.o, lookup.o"(subroutines) and install the executable as "ratfor77"   * Link "rat4.o" (main routine), "getopt.o, lookup.o"(subroutines) and install the executable as "ratfor77"
  
-==== Acknowledgements ====+\\ 
 +=== Acknowledgements ===
  
   * Kernighan and Plauger wrote and published the original Ratfor preprocessor in 1976 while working at the Bell Telephone Laboratories.   * Kernighan and Plauger wrote and published the original Ratfor preprocessor in 1976 while working at the Bell Telephone Laboratories.
   * Oz implemented a C version of the Ratfor preprocessor and made it freely available on the internet.   * Oz implemented a C version of the Ratfor preprocessor and made it freely available on the internet.
  
-==== Bibliography ====+\\ 
 +=== Bibliography ===
  
   * Kernighan, B. and Plauger, P., "Software Tools," Addison-Wesley, 1976.   * Kernighan, B. and Plauger, P., "Software Tools," Addison-Wesley, 1976.
   * [[http://www.mit.edu:8001/afs/athena.mit.edu/astaff/project/docsourc/doc/unix.manual.progsupp2/08.ratfor/ratfor.PS|Original bell-labs ratfor (77)documentation]]   * [[http://www.mit.edu:8001/afs/athena.mit.edu/astaff/project/docsourc/doc/unix.manual.progsupp2/08.ratfor/ratfor.PS|Original bell-labs ratfor (77)documentation]]
  
-\\ +\\ \\ 
-| [[http://sepwww.stanford.edu|Stanford Exploration Project]] | [[http://pangea.stanford.edu/GP/|Department of Geophysics]] | [[http://www.stanford.edu|Stanford University]] | {{sep:sutree.gif}} +{{page>sep:footer}}
- +
----- +
- +
-Page Maintainer: <webmaster@sep.stanford.edu>\\ +
-Copyright © 2008 SEP. +
sep/software/ratfor.txt · Last modified: 2015/05/27 02:06 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0