Comments

Oh, and while we’re talking about syntax, we can’t go without any comments, can we? For this, tourniquet supports C89-style comments:

/**
 * This is a comment.
 *
 * This kind of comment is a reasonable way to format a documentation comment
 * for the function defined directly below.
 *
 * This function increments the integer on top of the stack by one.
 */
add_one /* This is also a comment. */ := 1 + /* This is a comment, too. */;

Note that tourniquet only supports C89-style comments. In particular, C99-style comments that begin with a pair of forward slashes (//) and end with a newline are not supported. And, like in C89, comments cannot be nested — so something like /* /* */ */ probably doesn’t mean what you think it means.