I think it is confusing that the Titan compiler generate a .so by default.
Suppose this use case: a user want a single titan module to be embedded to his C program. He have his own build system, so all he wants is to generate a .c from a .titan and his build system will manage the rest of the compilation.
We could have a separate program that have the current behavior and call titanc (titanc will only generate a .c). I believe this approach will make the code more modular.
I think it is confusing that the Titan compiler generate a
.soby default.Suppose this use case: a user want a single titan module to be embedded to his C program. He have his own build system, so all he wants is to generate a
.cfrom a.titanand his build system will manage the rest of the compilation.We could have a separate program that have the current behavior and call
titanc(titancwill only generate a.c). I believe this approach will make the code more modular.