Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/urbanjost/m_readline
Fortran interface to the C readline(3c) library for providing interactive command line history editing
https://github.com/urbanjost/m_readline
fortran fortran-package-manager fpm readline
Last synced: about 6 hours ago
JSON representation
Fortran interface to the C readline(3c) library for providing interactive command line history editing
- Host: GitHub
- URL: https://github.com/urbanjost/m_readline
- Owner: urbanjost
- License: unlicense
- Created: 2021-01-16T04:17:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T23:51:52.000Z (6 months ago)
- Last Synced: 2024-04-30T00:45:03.297Z (6 months ago)
- Topics: fortran, fortran-package-manager, fpm, readline
- Language: Fortran
- Homepage:
- Size: 1.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# M_readline
A Fortran interface to the commonly available C procedure readline(3c).
to provide a familiar command history interface for interactive programs.## BUILDING
```bash
git clone https://github.com/urbanjost/M_readline.git
cd M_readline/src
# change Makefile if not using one of the listed compilers
# for gfortran
make clean
make gfortran
# for ifort
make clean
make ifort# for nvfortran
make clean
make nvfortran
```
This will compile the M_readline module and build the example programs
in the app/ and example/ sub-directory.## SUPPORTS FPM ![fpm](docs/images/fpm_logo.gif)
Alternatively, download the github repository and build it with
fpm ( as described at [Fortran Package Manager](https://github.com/fortran-lang/fpm) )
```bash
git clone https://github.com/urbanjost/M_readline.git
cd M_readline
fpm run
```
or just list it as a dependency in your fpm.toml project file.
```toml
[dependencies]
M_readline = { git = "https://github.com/urbanjost/M_readline.git" }
```
## DOCUMENTATION ![docs](docs/images/docs.gif)
+ [M_readline](https://urbanjost.github.io/M_readline/man3.html)