They are released in the SVN source repository on google code, at
The core compiler and some internal libraries are there, along with a few unit tests, but no demos just yet. It’s compatible with Delphi 2009 (and 2010?) only at this point.
Hopefully some demos will be added, ad interim, you’ll have to look at the unit test source to see how to compile your own scripts. More modules should also come in the next weeks/months as their dependencies get cleaned up, and the dust of many years shaken away.
Here is a quick summary of the most significant changes since DWS2:
What changed in the script language?
- DateTime type was deprecated, in favor of plain old Float for timestamps.
- Integer is now an Int64. For language simplicity, there is only one integer type, 64bit it is.
- Strong typing is more strictly enforced throughout, this can cause issues in previous scripts that abused compiler bugs.
- Support for “deprecated” warnings was added.
- for loop variables can no longer be altered within the loop.
What changed internally?
- Move to strong typing away from Variants, this is still a work in progress (and source of much speedups).
- Handling of break/continue/exit no longer relies on exceptions (it’s now orders of magnitude faster).
- Expression tree memory usage reduced significantly, this is also still a work in progress.
- Tokenizer was re-architectured for higher parsing speed.
- Naming prefix was simplified from “dws2” to just “dws”, though the code is based on DWS2.