Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdebuyl/parsetext
https://github.com/pdebuyl/parsetext
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pdebuyl/parsetext
- Owner: pdebuyl
- License: other
- Created: 2015-02-05T08:58:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-18T13:06:00.000Z (about 7 years ago)
- Last Synced: 2023-04-05T02:28:16.692Z (over 1 year ago)
- Language: Fortran
- Size: 39.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ParseText: Parse simple configuration files in Fortran
======================================================ParseText is a Fortran module to parse simple configuration files.
Example configuration file:
x = 1
N= -5 2 10
flag = TThe configuration file has to be loaded in a custom `PTo` variable (here, `config`):
call PTparse(config,'example_file',5)
Then the values can be obtained via a set of typed commands:
x = PTread_d(config, 'x')
N = PTread_ivec(config, 'N', 3)
flag = PTread_l(config, 'flag')## Licensing, etc
ParseText is distributed under the BSD-3-clause license (see LICENSE) and
is written by [Pierre de Buyl](http://pdebuyl.be/).Contributions have been made by the following persons:
Peter Colberg