TeX is written in a subset of Pascal too (so it can compile to C).
I can't find any particular documentation of what subset TeX uses, but considering the strong limitations in the Kalium documentation, I would be very much surprised if Kalium was a superset of the WEB2C supported subset of Pascal that TeX uses.
Are there existing frameworks for doing this to code? Perhaps even ones that support transformations within multiple languages?
TeX is written in a subset of Pascal too (so it can compile to C).
I can't find any particular documentation of what subset TeX uses, but considering the strong limitations in the Kalium documentation, I would be very much surprised if Kalium was a superset of the WEB2C supported subset of Pascal that TeX uses.
I'm confused as there are P2C converters, although I don't know how good they work.
Not being a Pascal user, what isn't supported?
https://int-index.github.io/kalium/pascal.pdf :
"Even if your program compiles, the implemented subset of Pascal is quite limited right now, but will be extended over time."
No commits in 2 years gives insight into what to expect from "extended over time".