Xref: utzoo comp.lang.c:26529 comp.lang.fortran:2953 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!mcnc!ecsvax.uncecs.edu!dukeac!wolves!ggw From: ggw@wolves.uucp (Gregory G. Woodbury) Newsgroups: comp.lang.c,comp.lang.fortran Subject: FORMAT parsing? Summary: Using C to read FORTRAN FORMATs? Message-ID: <1990Mar3.053944.13234@wolves.uucp> Date: 3 Mar 90 05:39:44 GMT Reply-To: ggw@wolves.UUCP (Gregory G. Woodbury) Followup-To: comp.lang.c Organization: Wolves Den UNIX BBS Lines: 20 Now that everyone has seen all the bashing that the scanf(3) routine has taken, let me ask if anyone has some pointers to, or information about C code that can read/interpret FORTRAN style FORMAT statements. We often do FORTRAN-to-C translation, and we are not impressed with the various F-to-C packages that we have seen and evaluated. Also, our researchers are usually somewhat familiar with the FORMAT statement. Rather than re-invent a wheel, is there some package that I can pick apart to get this functionality. (of course, I could do FORTRAN/C hybrid code - (shudder)). Thanks much. -- Gregory G. Woodbury Sysop/owner Wolves Den UNIX BBS, Durham NC UUCP: ...dukcds!wolves!ggw ...dukeac!wolves!ggw [use the maps!] Domain: ggw@cds.duke.edu ggw@ac.duke.edu ggw%wolves@ac.duke.edu Phone: +1 919 493 1998 (Home) +1 919 684 6126 (Work) [The line eater is a boojum snark! ]