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.
From https://github.com/spcl/dace/pull/1736#pullrequestreview-2418963774
Currently, the Fortran frontend treats
logical
arrays asint
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.