source: 1dwg/trunk/doc/source/binding-fortran.rst @ 271

Last change on this file since 271 was 271, checked in by prjemian, 8 years ago

remove last vestiges of smallangles.net from documentation (except two instances referring to previous work)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision URL
File size: 1.4 KB

FORTRAN

?
.. index:: ! binding; FORTRAN

The development of the FORTRAN language, so beloved of scientists, pre-dates the development of XML. And it shows. FORTRAN is not a language that manipulates strings with ease, and this makes parsing XML decidedly awkward. So unless you really must use FORTRAN, you are probably better off with C/C++ (or something else more 'modern'), see for example Daniel Veillard's LIBXML2 library at http://xmlsoft.org/ or Frank van den Berghen's parser at http://www.applied-mathematics.net/tools/xmlParser.html.

If you have to use a dialect earlier than FORTRAN-90 (F90), then the chances are you will have to code your own parser.

Software Development Kits

For later dialects, there are some SDKs available on the Web:

F90

F95

canSAS 1-D SAS XML v1.0 support

Steve King[mailto:stephen.king@stfc.ac.uk] (ISIS) has provided a F77 routine that will read cansas1d/1.0 XML files.

http://www.cansas.org/trac/browser/1dwg/trunk/fortran/SASXML_G77.F

Note: See TracBrowser for help on using the repository browser.