Make it a config option whether the Fortran frontend parses bools as bools or ints
Open
fortran
frontend
- Dominant language
- Python
- Stars
- 593
- Forks
- 163
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 60
Description
From https://github.com/spcl/dace/pull/1736#pullrequestreview-2418963774
> can you please make it a config option whether the frontend parses bools as bools or ints (to ensure compatibility with external functions?) Please also add such a test if possible - it will need a different style of calling it too.
Currently, the Fortran frontend treats `logical` arrays as `int` arrays (i.e., 32 bit), which works just fine if we call the SDFG it from Fortran. On the other hand, C++ or numpy have 8bit representation for boolean. So, we _might_ want to have that representation.
Contributor guide
Assessment
This issue has not been assessed yet.