DWScript and the Gabelou

GabelouThe Gabelou is now available in the DWScript SVN, this is a set of classes and rules that aims to watch over coding styles.

Currently only a handful of naming rules are declared, with more coming.

You can run the Gabelou by adding the dwsGabelou unit to your uses, then create an instance, add custom rules or use built-in ones (f.i. those in dwsGabelouStdRules), compile a script program as usual, then invoke Gabelou on the compiled program:

(more…)

DWScript pre-Apocalypse news

Logo DWScriptWith the end of the world in a few days, it’s time to flush the what’s new log for DWScript.

There are two major items that will be discussed in future posts:

  • the JSON connector, which gives direct, JS-like access to JSON-based data objects
  • the Gabelou, which aims to become to DWScripot what StyleCop is to C#.

Also the old Indy-based webserver demo is being replaced by one based on Synopse high-performance http server classes.

(more…)

Introducing “unit namespace”

DWScript now has a new “unit namespace” feature, which aims at killing several birds with one stone:

  • supporting “classic” namespace as found in Java or .Net
  • supporting aggregate namespaces and conditional units
  • supporting unit deprecation and splitting with backward-compatibility

DWScript for Delphi XE3

DWScript (SVN version) should now compile under Delphi XE3, thanks to Steffen Binas for providing a workaround for a compiler bug (internal error URW1147).

The workaround will alas reduce performance, for a proper fix, a futureXE3 update will be required,see QC #109187.
While I’m at it, I might also raise awareness of another XE3 bug, QC #108942 (internal error G9413).

(on a side note, my XE3 trial expired, so any fixes or workarounds for XE3 will have to come from you guys)