Chapter 2. Skam protocol language

Table of Contents
Syntax
Targets
Tags
Uservars
System parameters
Builtin targets
Module system
Looping over datasets and targetlists
Embedding
Command line interface
Cleaning up

Syntax

Variables

The crucial thing to remember about skam syntax is that a leading uppercase character -- or a leading underscore character -- represents a variable.

If in doubt, quote (using single-quotes)

Comments

The percent sign is used as a comment prefix; comments should occupy a line by themselves

Spaces and newlines

Newlines are significant in skam protocol files; you can use the backslash character \ to break one logical line into multiple actual lines.

Spaces are used for formatting