Announcements

New Lib: SDLang-D v0.8.2 - Like JSON/XML, But Nicer

I wasn't able to announce it here before, due to this CMS's latest cock-up, so this is late, but here goes:

SDLang-D is D library to read/write SDL (Simple Declarative Language). SDL is a data language like XML , JSON, or YAML, except it's less verbose, type-aware and easy to read.

This is what SDL looks like (some of these examples, and more, are from the SDL site):

// Tags with one value first "Joe" last "Coder" // Tags with multiple values numbers 12 53 2 635 names "Sally" "Frank N. Stein" // Tag with multiple attributes pets chihuahua="small" dalmation="hyper" mastiff="big" // Values come before attributes mixed 34.7f "Tim" somedate=2010/08/14 // Child tags (nestable to arbitrary depths) myNamespace:person name="Joe Coder" { age 36 }

The initial release was v0.8.1, but the latest version is v0.8.2.

SDLang-D Homepage

Read more


Have Your Efficiency, and Flexibility Too: Now in Print

I don't know why I never posted about it here before, but last summer I wrote an article for a little contest on the D newsgroups. I lost (the most common complaint was the long length), but I'm happy with it, and people did seem to like it. Just not enough to vote for it ;) But that's ok: the winning articles were indeed fantastic - they deserved to win!

Enough group congratulating, here's the article:

Have Your Efficiency, and Flexibility Too:
Metaprogramming Techniques For No-Compromise Code

What I'm thrilled about is the ACCU accepted all the articles to be printed in their bi-monthly C Vu journal. The other articles have already been printed in earlier issues by now. But the first half of my article is now available in C Vu's latest issue: May 2012, Volume 24 Issue 2. (Due to size, my article was split into a two-parter.)

ACCU members have probably received their physical copies by now (I got mine a week ago, and I'm all the way over here in the States). It's also available in PDF form, along with the rest of C Vu's back issues, in the members-only section of ACCU's website.

The second half of my article (including a slightly updated version of section 6-3) will be in the next issue: July 2012, Volume 24 Issue 3.

UPDATE (2012-07-18): The July 2012 C Vu with part 2 of the article is now out!

Read more


Goldie Parsing System v0.9 - Tools

Goldie v0.9 is now released.

Goldie is a series of open-source parsing tools, including an optional D programming language library called GoldieLib. Goldie is compatible with GOLD Parser Builder and can be used either together with it, or as an alternative to it.

In this version:

(Tested to work on: DMD 2.055 - DMD 2.059, and partially DMD 2.057 as described here)

  • Added support for DMD 2.059.
  • Dropped support for DMD 2.054 and below.
  • GoldieLib: Renamed Language.loadCGT to Language.load.
  • GRMC: Grammar Compiler: Major bugs fixed (see ChangeLog)
  • New tool: AlterCGT.
  • Command line options for all tools are now processed with getopt and use standard Unix conventions (even on Windows). This means what used to be -foo:bar or /foo:bar must now be written as --foo=bar or --foo bar. (But /? is still supported as an alternative to --help.)
  • Misc changes/updates to various tools (see ChangeLog)

Links:

Read more


GOLD Wiki is Back Up

A few weeks ago I switched this semitwist.com domain from a shitty shared web host (right, as if there's any other kind of shared web host) to a Linode VPS, which is absolutely fantastic in every possible way. Along the way I also switched from the shared-host-mandated Apache to the quite wonderful Nginx.

I spent a great deal of effort ahead of time, via trial runs in a local VM, to make sure the actual switchover went as smoothly and quickly as possible. And it did: Everything went smooth as silk.

Except I completely forgot to take care of the GOLD Wiki. Even in my trial runs. It spent weeks just spitting out a 403 error page. Errrmm...Oops!!

So anyway, I've fixed it up, and the GOLD Wiki is now back up and running again. Please let me know if you find any problems with it. Sorry for my screwup!

Read more


Goldie Parsing System v0.8 - Support DMD 2.058

A minor update to Goldie, v0.8, is now released.

Goldie is a series of open-source parsing tools, including an optional D programming language library called GoldieLib. Goldie is compatible with GOLD Parser Builder and can be used either together with it, or as an alternative to it.

In this version:

(Tested to work on: DMD 2.052 - DMD 2.058, and partially DMD 2.057 as described here - but see this note regarding RDMD)

  • Added support for DMD 2.058.
  • Calculator samples now require at least DMD 2.054.
  • StaticLang: Static-style languages generate a proper compile-time error when used with a different version of Goldie than the one they were created with.
  • Now uses SemiTwist D Tools tag 'goldie-v0.8'.

Links:

Read more


Goldie Parsing System v0.7 - API, 64-bit, Git

Goldie v0.7 is now released.

Goldie is a series of open-source parsing tools, including an optional D programming language library called GoldieLib. Goldie is compatible with GOLD Parser Builder and can be used either together with it, or as an alternative to it.

In this version:

(Tested to work on: DMD 2.052 - DMD 2.056, and partially DMD 2.057 as described below - but see this note regarding RDMD)

Links:

Read more