Launching fractals.dwscript.net
The fractals.dwscript.net is now launched to host the results of the recent Mandelbrot TeraPixel experiment. It’s a small website to centralizes browser, documentations, links and downloads.
There was also news of a FireMonkey client for the data set API.
And the Terapixel Became Four
The Christmas Mandelbrot Experiment is now nearing has achieved completion of Level 13, or a Four Terapixel image!
This will be the end of the experiment (at least temporarily) as the server is running out of storage space 🙂
Unicode Leftover Bug From Hell
Or in other words, before getting to the gory details, DWScript now works when compiled with {$HIGHCHARUNICODE ON} on a machine with Cyrillic code-page 1251.
DWScript was converted years ago to Unicode, and been working just fine.
But there was a leftover bug from that crossing of the Styx.
DWScript 2.3 preview 1
A new DWScript 2.3 source archive is available (417 kB) for the SVN-averse, the previous available zip was the 2.2 version, which is quite outdated. Given the continuous extension of the unit tests suite, this should hopefully be one of the most stable versions to date, in addition to being the most advanced, but it’s likely less stable and less advanced than the SVN version will be when you’ll read these lines 😉
“heredoc” multi-line strings
DWScript now supports multi-line strings, aka “heredoc”, using the same syntax as Prism/Oxygene, which involves double-quoting them, for instance:
s := "Lorem ipsum 'dolor' sit amet, consectetur adipiscing elit. Duis l'ipsum odio, pretium ""hendrerit"" varius sed, aliquet vitae elit. Sed eu libero nec nisl ""malesuada"" dignissim.";
is equivalent to
s := 'Lorem ipsum ''dolor'' sit amet, consectetur adipiscing elit.'#13#10 +'Duis l''ipsum odio, pretium "hendrerit" varius sed,'#13#10 +'aliquet vitae elit.'#13#10 +'Sed eu libero nec nisl "malesuada" dignissim.';
Which can be quite useful when you have multi-line string content, such as an SQL query, a long format string, a snippet of CSS/HTML/XML, etc.
Nate that if you’re using The SynEdit, the DWS highlighter has been updated and properly highlights those, you just need to get it from the SynEdit SVN.
It a slight cosmetic issue, shared AFAICT by other languages that implement “heredoc”, which is that if you don’t want to have spurious whitespace/tabs in the multi-line string, you basically have to break indentation.
Does any one knows a language which has a convenient “heredoc” syntax that would alleviate this issue?