Description
This module should include functions for character classification and conversion (lower, upper). I have prepared a basic implementation at https://github.com/ivan-pi/fortran-ascii.
The plan is to cover the same functionality as found in the C, C++, and D libraries:
- C : http://www.cplusplus.com/reference/cctype/
- C++: https://en.cppreference.com/w/c/string/byte
- D: https://dlang.org/phobos/std_ascii.html)
@zbeekman has already opened an issue (see ivan-pi/fortran-ascii#1) on dealing with different character kinds. The problem is that the ascii and iso_10646 character sets need not be supported by the compilers. Even if they are supported their bitwise representation might be different from the default kind.
I realized while creating these functions, that agreeing upon a style guide #3 and documentation #4 early on would be helpful to improve future pull requests. Some agreement upon unit testing will also be necessary.
cc: @jacobwilliams