Re: Using the same subroutine to read files with different structures
- From: "Arjen Markus" <arjen.markus@xxxxxxxxxx>
- Date: 7 Dec 2006 00:18:26 -0800
Gary Scott schreef:
Does anybody have a general purpose Fortran-based parser that does
something minimal like:
receive a string of text
tokenizes to either space and comma delimited strings or space and comma
delimited tokens of a specified size (e.g. 8-byte tokens, truncated)
scans for "keyword=" syntax
handles comma separation of tokens
handles literal string delimiting
returns an array of keyword strings
returns an associated array of keyword values
all text, no value conversion.
something more sophisticated?
My flibs project (http://flibs.sf.net) contains several modules that
may
be of interest here:
- A pattern matcher (a limited form of glob patterns)
- A tokeniser
- A module for dealing with strings of arbitrary length
Regards,
Arjen
.
- References:
- Using the same subroutine to read files with different structures
- From: deltaquattro
- Re: Using the same subroutine to read files with different structures
- From: David Frank
- Re: Using the same subroutine to read files with different structures
- From: David Frank
- Re: Using the same subroutine to read files with different structures
- From: PJH
- Re: Using the same subroutine to read files with different structures
- From: Gary Scott
- Using the same subroutine to read files with different structures
- Prev by Date: command for measuring computing time in milli sec.
- Next by Date: Re: command for measuring computing time in milli sec.
- Previous by thread: Re: Using the same subroutine to read files with different structures
- Next by thread: Re: Using the same subroutine to read files with different structures
- Index(es):
Relevant Pages
|