Just a quick notice that the DWScript source code has begun a transition to Delphi 10.2.3 up from Delphi XE.

The goal is to target Win32 and Win64 compilers, mobile platforms and Delphi Linux are currently not in the scope.

At the moment “most” of the test suite is successful in both Win32 and Win64, though there are still warnings and hints when compiling which will be taken care of.

Of note is the introduction of a new TryStrToDouble function, which was introduced to work around bugs in the Win64 RTL version of StrToFloat and accompanying variants. As a bonus this new implementation should not only be more accurate, but is also 2-3 times faster and supports common float syntax variations (such as “.5” or “5.”). You can find it in the dwsUtils unit.

A new version of MPIR dll is also made available in 32 and 64bit, this is version 3 of MPIR, which is used for the BigInteger implementation.

In time Delphi XE support will fade away, and only Delphi 10.2.3 will be supported in the code base.