by Graf Zahl » Sun Oct 03, 2021 2:30 am
Hm. I fear there isn't much I can do now - the problem is so deep in the parser, filtering up several levels from there causing follow-up issues with insufficient type checks, that trying to change it will surely break more things than fix.
The biggest obstacle is that from the token scanner up to the evaluation stage it uses 32 bit constants, but screws up the constant type at the very lowest level already. And it's not just ZScript depending on this but all parsing code in the entire engine.
This entire code will have to be redesigned for 64 bit throughout to avoid these problems, but that's a major task of refactoring.