Re:Kalium – idiomatic source-to-source translation of Pascal...
by abc_lisper on Thursday March 15, 2018 @07:02PM
(#16597239)
Can it convert tex source code?
[ Parent
| on HN ]
Re:Kalium – idiomatic source-to-source translation of Pascal...
by squiggleblaz on Thursday March 15, 2018 @08:39PM
(#16597741)
I doubt it. Try looking at the supported subset: https://int-index.github.io/kalium/pascal.pdf It's not a long document (two pages).
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.
Re:Kalium – idiomatic source-to-source translation of Pascal...
by mycall on Thursday March 15, 2018 @09:31PM
(#16597937)
> so it can compile to C
I'm confused as there are P2C converters, although I don't know how good they work.
Re:Kalium – idiomatic source-to-source translation of Pascal...
by abc_lisper on Friday March 16, 2018 @08:53AM
(#16600280)
Actually Tex is built with a p2c translation