SCDS - A scripting language for configuration and build tasks

SCDS, or “Simple & Convenient D-like Scripting language” is a language used by ElysianWorld for tasks like building projects, linking executables and libraries, and a few other purposes. Its syntax is similar to D, and it features variables as well as struct, list, and enum types, functions, and a selection of control structures.

The basic data types in SCDS are:

  • int, uint: 64 bit signed and unsigned integers
  • float: double precision floating point numbers
  • text: text strings
  • bool: truth values
  • version_t: specialized structures containing major/minor/release/build values

Structs and enums use D syntax, and so do functions. While SCDS does not support arrays, it features list types using the “list(basetype)” syntax. The regular concatenation operators as well as iteration via the familiar foreach statement work as expected.

You can help test the bootstrap version of SCDS by downloading this tarball. Run “make scds” to compile and “make test” to run Jann’s predefined testsuite. Take a look at the scds-testsuite/ subdirectory to get a feel for the language. Please report any bugs via our bug tracker.

No responses.
You can leave a response, or trackback from your own site.
Leave a comment
Search