Open ghost opened 4 years ago
No, it should generate functionally same byte code, but byte by byte comparison would yield some differences. For example botc generates some sections in different order, and it does some simple optimizations like evaluating some expressions at compile time.
If it helps, I can finish disassemble feature in debotc, so that anyone interested can check that outputs are actually functionally same. Disasm output would be like:
00000010 DH_PUSHNUMBER(10)
00000018 DH_BOTCMD Delay
Maybe that will make him happy. In any case, I have linked him this issue, if he says anything I will post it.
I have talked to Torr about botc, he seemed happy about this and asked the following: