On Sun, 22 Nov 2020, gmhwxi wrote:
> As of today, I am pleased to announce that ATS3 has reached a stage where it can be realistically used in software construction. This is achieved after slightly more than two and one-half years of continual development by yours truly :)
Great to hear!
> Xatsopt is a functioning compiler implemented in ATS2 for translating ATS3 into a typed intermediate language of the name XATSCML, which is both C-like and ML-like. It is planned for xatsopt to further translate XATSCML into XATSCL0, a low-level C-like language.
What is the final vision for XATSCL0? Will it be compiled into c? Or directly into native code (via custom backend, or llvm/similar)?
What is the effect on compilation speed of having (at least) two full intermediate languages?
> Xats2js is a functioning compiler implemented in ATS2 for translating XATSCML into JavaScript
JS doesn't have integers. So how will code that uses integers be compiled? Is code compiled to js is limited to 32-bit integers, since they can fit into the range of a double?
-E